Token & Generator APIs
Art Blocks hosts three production APIs for integrating with token metadata, live artwork views, and static rendered images. All APIs follow a multichain URL pattern and are available on production and staging (Sepolia testnet) environments.
Supported Networks
Token API
Returns the ERC-721 token metadata for a given Art Blocks token, conforming to the OpenSea metadata standard.
Production
Staging (Sepolia testnet)
The token metadata response includes the live view URL and media proxy URL for the token, so integrators can retrieve all necessary links from a single API call.
Generator API
Returns an iframe-able live view of the generative artwork associated with a given token. The live view runs the artist's script in the browser using the token's hash.
Production
Staging (Sepolia testnet)
The generator URL is also included in the token metadata response from the Token API.
Media Proxy API
Returns a static rendered image (PNG) of the token's artwork, captured by a headless browser. This is the canonical static image used on Art Blocks and marketplaces.
Production
Staging (Sepolia testnet)
Art Blocks Subgraph
Art Blocks maintains subgraphs on The Graph Network for each supported production network. Subgraphs provide efficient access to on-chain data (token ownership, project metadata, minting history) without querying the blockchain directly.
The subgraph source code is developed publicly at github.com/ArtBlocks/artblocks-subgraph.
Endpoints
Ethereum Mainnet
- Explorer Page
- GraphQL:
https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/6bR1oVsRUUs6czNiB6W7NNenTXtVfNd5iSiwvS4QbRPB
Arbitrum One
- Explorer Page
- GraphQL:
https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/5WwGsBwJ2hVBpc3DphX4VHVMsoPnRkVkuZF4HTArZjCm
Base
- Explorer Page
- GraphQL:
https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/5gKxDMnBjv3ffBJ4r3zWD6VrpaYHiq9aUth39YCQXWEt
Helpful Resources
GraphQL API (Hasura)
For most integrations, the Art Blocks GraphQL API (Hasura) is the recommended data source. It provides both on-chain and off-chain data — including minter configuration details, media URLs, project descriptions, and more — that are not available from the subgraph alone.
The API uses _metadata table suffixes (e.g. projects_metadata, tokens_metadata) and supports filtering by chain_id. An interactive playground is available at:
https://cloud.hasura.io/public/graphiql?endpoint=https://data.artblocks.io/v1/graphql
For full schema reference and example queries, see the GraphQL Reference.
For AI-assisted GraphQL querying, the Art Blocks MCP Server provides explore_table, build_query, and graphql_query tools that handle field validation, chain filtering, and query construction automatically.