subgraphs > Querying > Introduction

Querying The Graph

Reading time: 2 min

To start querying right away, visit The Graph Explorer.

Overview

Link to this section

When a subgraph is published to The Graph Network, you can visit its subgraph details page on Graph Explorer and use the "Query" tab to explore the deployed GraphQL API for each subgraph.

Each subgraph published to The Graph Network has a unique query URL in Graph Explorer to make direct queries. You can find it by navigating to the subgraph details page and clicking on the "Query" button in the top right corner.

Query Subgraph Button

Query Subgraph URL

You will notice that this query URL must use a unique API key. You can create and manage your API keys in Subgraph Studio, under the "API Keys" section. Learn more about how to use Subgraph Studio here.

Subgraph Studio users start on a Free Plan, which allows them to make 100,000 queries per month. Additional queries are available on the Growth Plan, which offers usage based pricing for additional queries, payable by credit card, or GRT on Arbitrum. You can learn more about billing here.

Please see the Query API for a complete reference on how to query the subgraph's entities.

Note: If you encounter 405 errors with a GET request to the Graph Explorer URL, please switch to a POST request instead.

Additional Resources

Link to this section
  • Use GraphQL querying best practices.
  • To query from an application, click here.
  • View querying examples.
Edit page

Previous
Graph Explorer
Next
Managing your API keys
Edit page