# The Graph Subgraphs (GraphQL)

**Canonical:** https://apis.io/apis/the-graph/subgraphs/  
**Provider:** The Graph — https://apis.io/providers/the-graph/  
**Base URL:** https://gateway.thegraph.com/api/{apiKey}/subgraphs/id/{subgraphId}  
**Documentation:** https://thegraph.com/docs/en/subgraphs/querying/introduction/

The Graph Subgraphs (GraphQL) is one of 6 APIs that [The Graph](https://apis.io/providers/the-graph/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include GraphQL, Subgraphs, and Decentralized. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (3)

- **Documentation** — https://thegraph.com/docs/en/subgraphs/querying/introduction/
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/the-graph/refs/heads/main/graphql/the-graph-graphql.md
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/the-graph/refs/heads/main/apis.yml

## Other The Graph APIs (5)

- [The Graph Token API](https://apis.io/apis/the-graph/token-api/)
- [The Graph Substreams](https://apis.io/apis/the-graph/substreams/)
- [Graph Node Admin JSON-RPC (self-hosted)](https://apis.io/apis/the-graph/graph-node-rpc/)
- [Firehose](https://apis.io/apis/the-graph/firehose/)
- [The Graph Subgraphs API](https://apis.io/apis/the-graph/the-graph-subgraphs-api/)

## Tags

GraphQL, Subgraphs, Decentralized

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/the-graph/subgraphs/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/the-graph/.
