# Subgraphs

## API endpoints

Below are the URLs for our [Subgraphs](https://thegraph.com/docs/en/about/), providing endpoints for querying Toucan infrastructure and ecosystem data on various networks. Please replace `[api-key]` in each URL with your Graph API key, which you can generate at <https://thegraph.com/studio/apikeys/> after creating an account.

<table><thead><tr><th width="154">Network</th><th>URL</th></tr></thead><tbody><tr><td>Base</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/AEJ5PEDye6Z198HRQBioG6mZ6ZacHenBg2HTopZPsUCi</td></tr><tr><td>Base Sepolia</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/2oKCq3rDwdYPSao4UbDZKSNbawEdhBVf3BxmqJzFe1uj</td></tr><tr><td>Matic</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/FU5APMSSCqcRy9jy56aXJiGV3PQmFQHg2tzukvSJBgwW</td></tr><tr><td>Amoy</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/FKzFZuYHxyHiiDmdW9Qvwtet1Ad1ERsvjWMhhqd9V8pk</td></tr><tr><td>Celo</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/BWmN569zDopYXp3nzDukJsGDHqRstYAFULFPH8rxyVBk</td></tr><tr><td>Celo Alfajores</td><td>https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4uY2L3vQW8XKYPrFFk4i6ZuJkgbpJ8SbJayc8wzMBRYw</td></tr></tbody></table>

## Playground

<table><thead><tr><th width="154">Network</th><th>URL</th></tr></thead><tbody><tr><td>Base</td><td><a href="https://thegraph.com/explorer/subgraphs/AEJ5PEDye6Z198HRQBioG6mZ6ZacHenBg2HTopZPsUCi?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/AEJ5PEDye6Z198HRQBioG6mZ6ZacHenBg2HTopZPsUCi?view=Query&#x26;chain=arbitrum-one</a></td></tr><tr><td>Base Sepolia</td><td><a href="https://thegraph.com/explorer/subgraphs/2oKCq3rDwdYPSao4UbDZKSNbawEdhBVf3BxmqJzFe1uj?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/2oKCq3rDwdYPSao4UbDZKSNbawEdhBVf3BxmqJzFe1uj?view=Query&#x26;chain=arbitrum-one</a></td></tr><tr><td>Matic</td><td><a href="https://thegraph.com/explorer/subgraphs/FU5APMSSCqcRy9jy56aXJiGV3PQmFQHg2tzukvSJBgwW?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/FU5APMSSCqcRy9jy56aXJiGV3PQmFQHg2tzukvSJBgwW?view=Query&#x26;chain=arbitrum-one</a></td></tr><tr><td>Amoy</td><td><a href="https://thegraph.com/explorer/subgraphs/FKzFZuYHxyHiiDmdW9Qvwtet1Ad1ERsvjWMhhqd9V8pk?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/FKzFZuYHxyHiiDmdW9Qvwtet1Ad1ERsvjWMhhqd9V8pk?view=Query&#x26;chain=arbitrum-one</a></td></tr><tr><td>Celo</td><td><a href="https://thegraph.com/explorer/subgraphs/BWmN569zDopYXp3nzDukJsGDHqRstYAFULFPH8rxyVBk?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/BWmN569zDopYXp3nzDukJsGDHqRstYAFULFPH8rxyVBk?view=Query&#x26;chain=arbitrum-one</a></td></tr><tr><td>Celo Alfajores</td><td><a href="https://thegraph.com/explorer/subgraphs/4uY2L3vQW8XKYPrFFk4i6ZuJkgbpJ8SbJayc8wzMBRYw?view=Query&#x26;chain=arbitrum-one">https://thegraph.com/explorer/subgraphs/4uY2L3vQW8XKYPrFFk4i6ZuJkgbpJ8SbJayc8wzMBRYw?view=Query&#x26;chain=arbitrum-one</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toucan.earth/developers/subgraph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
