Skip to content

Commit 2bca911

Browse files
committed
adding structure
1 parent fe24672 commit 2bca911

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

website/pages/en/subgraphs/querying/introduction.mdx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,30 @@
22
title: Querying The Graph
33
---
44

5-
When a subgraph is published to The Graph Network, you can visit its subgraph details page on [Graph Explorer](https://thegraph.com/explorer) and use the "query" tab to explore the deployed GraphQL API for the subgraph, issuing queries and viewing the schema.
5+
To start querying right away, visit [The Graph Explorer](https://thegraph.com/explorer).
66

7-
> Please see the [Query API](/subgraphs/querying/graphql-api/) for a complete reference on how to query the subgraph's entities. You can learn about GraphQL querying best practices [here](/subgraphs/querying/best-practices/)
7+
## Overview
88

9-
> Note: If you encounter 405 errors with a GET request to the Graph Explorer URL, please switch to a POST request instead.
9+
When a subgraph is published to The Graph Network, you can visit its subgraph details page on [Graph Explorer](https://thegraph.com/explorer) and use the "query" tab to explore the deployed GraphQL API for each subgraph.
10+
11+
## Specifics
1012

11-
Each subgraph published to The Graph Network has a unique query URL in Graph Explorer for making direct queries that you can find by navigating to the subgraph details page and clicking on the "Query" button on the top right corner.
13+
Each subgraph published to The Graph Network has a unique query URL in [Graph Explorer](https://thegraph.com/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.
1214

1315
![Query Subgraph Button](/img/query-button-screenshot.png)
1416

1517
![Query Subgraph URL](/img/query-url-screenshot.png)
1618

17-
Learn more about querying from an application [here](/subgraphs/querying/from-an-application/).
19+
You will notice that this query URL must use a unique API key. You can create and manage your API keys in [Subgraph Studio](https://thegraph.com/studio), under the "API Keys" section. Learn more about how to use Subgraph Studio [here](/deploying/subgraph-studio/).
20+
21+
- 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](/subgraphs/billing/).
22+
23+
> Please see the [Query API](/subgraphs/querying/graphql-api/) for a complete reference on how to query the subgraph's entities.
24+
25+
> Note: If you encounter 405 errors with a GET request to the Graph Explorer URL, please switch to a POST request instead.
1826
19-
As you can notice, this query URL must use a unique API key. You can create and manage your API keys in [Subgraph Studio](https://thegraph.com/studio), in the "API Keys" section. Learn more about how to use Subgraph Studio [here](/deploying/subgraph-studio/).
27+
### Additional Resources
2028

21-
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](/subgraphs/billing/).
29+
- Use [GraphQL querying best practices](/subgraphs/querying/best-practices/).
30+
- To query from an application, click [here](/subgraphs/querying/from-an-application/).
31+
- View [querying examples](https://github.com/graphprotocol/query-examples/tree/main).

0 commit comments

Comments
 (0)