Query a subgraph with an API key in the header
One step with The Graph. We can help you get access.
Look something up
Query a subgraph with an API key in the header
Use The Graph: its Graph Gateway ( GraphQL) Subgraphs API lets you query a subgraph with an API key in the header in a single step (POST /api/subgraphs/id/{subgraphId}). capabilities.work can help you get signed up and connected.
- Can I send the subgraph API key in the Authorization header instead of the path?
- Which call runs a subgraph query when the key is passed in the header?
Say it to your AI assistant
- Run {query} against subgraph {subgraphId} with my API key in the Authorization header.
- Query subgraph {subgraphId} using the header-auth variant and variables {variables}.
For your developer
POST /api/subgraphs/id/{subgraphId} in Graph Gateway ( GraphQL) Subgraphs API. Full spec on APIs.io.