# The Graph Subgraphs API

**Canonical:** https://apis.io/apis/the-graph/the-graph-subgraphs-api/  
**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 API is one of 6 APIs that [The Graph](https://apis.io/providers/the-graph/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Subgraphs. The published artifact set on APIs.io includes an OpenAPI specification.

The Subgraphs API from The Graph — 2 operation(s) for subgraphs.

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/the-graph/refs/heads/main/openapi/the-graph-subgraphs-api-openapi.yml

## Other The Graph APIs (5)

- [The Graph Subgraphs (GraphQL)](https://apis.io/apis/the-graph/subgraphs/)
- [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/)

## Tags

Subgraphs

---

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