
Define which contracts and events to index, then query the result through a GraphQL API on The Graph Network.
A Subgraph is a custom API over blockchain data. You declare which contracts, events and entities to index, deploy it, and your app reads the result through GraphQL queries instead of calling raw RPC methods or running an archive node. You can also query one of the existing public Subgraphs listed in Graph Explorer rather than writing your own.
A Subgraph is made of three files: a manifest (subgraph.yaml) that defines the data sources to index, a schema (schema.graphql) that defines the entities you want to retrieve, and AssemblyScript mappings (mapping.ts) that translate on-chain data into those entities. You build it with the Graph CLI (graph codegen && graph build), deploy it to Subgraph Studio for testing, then publish it to The Graph Network with Studio or graph publish (the CLI's default network is arbitrum-one). On the network, independent Indexers run Graph Node to index Subgraphs and serve queries; Curators signal GRT on Subgraphs worth indexing, Delegators stake GRT with Indexers, and developers pay query fees in GRT, 1% of which is burned.
It exists because blockchains are optimized for writing and verifying transactions, not for reading or analyzing them: data has no relational structure and historical state needs archive nodes. Subgraphs are for dapp and analytics developers who want indexed, queryable data without running their own indexing infrastructure.
The docs list support for 50+ networks, including Ethereum, Base, BNB Smart Chain, Solana, Avalanche, Polygon, Arbitrum One and Optimism. Studio deployments are free and rate-limited; a published Subgraph gets 100,000 free queries per month on the network. Start with the Subgraph Quick Start in the docs.
Key features
@graphprotocol/graph-cli) to scaffold, build and deployThe Graph Subgraphs is a Developer Tooling project. Define which contracts and events to index, then query the result through a GraphQL API on The Graph Network.
The Graph Subgraphs is built by The Graph. The product is at the mainnet stage.
The Graph Subgraphs is connected to Arbitrum Foundation and Ethereum Foundation on Dapping. Its categories are thegraph, subgraphs and indexing.
The Graph Subgraphs has no builder reviews on Dapping yet, so it carries no rating. Reviews are written by individual builders, and moderated or removed reviews are excluded from the rating.
The Graph Subgraphs is not currently marked verified on Dapping. The token contract listed for The Graph Subgraphs is 0xc944e90c64b2c07662a292be6244bdf05cda44a7 on Eip155:1; check it against the team's official links before interacting. Verification is an identity signal, not an audit, an endorsement, or investment advice. Check official links, contract addresses, permissions and audits independently before interacting.