capabilities.work

Query a subgraph with an API key in the path

One step with The Graph. We can help you get access.

Look something up

Query a subgraph with an API key in the path

Use The Graph: its Graph Gateway ( GraphQL) Subgraphs API lets you query a subgraph with an API key in the path in a single step (POST /api/{apiKey}/subgraphs/id/{subgraphId}). capabilities.work can help you get signed up and connected.

  • How do I run a GraphQL query against a subgraph when the API key is in the path?
  • Can I pass variables and an operation name along with my subgraph query?
Say it to your AI assistant
  • Run {query} against subgraph {subgraphId} using API key {apiKey}.
  • Query subgraph {subgraphId} with variables {variables} and operation {operationName}.
For your developer

POST /api/{apiKey}/subgraphs/id/{subgraphId} in Graph Gateway ( GraphQL) Subgraphs API. Full spec on APIs.io.