The Graph · GraphQL Specification

The Graph GraphQL API

Per-subgraph GraphQL endpoints served by the decentralized network of Indexers. Each subgraph defines its own schema; queries are billed in GRT or via a hosted gateway in USD.

Documentation Endpoint View on GitHub Web3IndexingGraphQLSubgraphsMulti-chainGraphQL

Overview

The Graph GraphQL API is a GraphQL API specification published by The Graph on the APIs.io network.

Per-subgraph GraphQL endpoints served by the decentralized network of Indexers. Each subgraph defines its own schema; queries are billed in GRT or via a hosted gateway in USD.

The GraphQL endpoint is available at https://gateway.thegraph.com/api/{apiKey}/subgraphs/id/{subgraphId}. documentation is published at https://thegraph.com/docs/en/subgraphs/querying/introduction/.

The specification includes 1 reference link.

Tagged areas include Web3, Indexing, Subgraphs, and Multi-chain.

Endpoint

https://gateway.thegraph.com/api/{apiKey}/subgraphs/id/{subgraphId}

References

Back to The Graph · All GraphQL Specs · GitHub