# Subgraph Overview

<figure><img src="/files/vDrnd8w1nUtuF8YHGZQz" alt=""><figcaption></figcaption></figure>

Surgeswap uses multiple [subgraphs](https://thegraph.com/docs/about/introduction#what-the-graph-is) for indexing and organizing data from the Surgeswap compatible smart contracts. These subgraphs are hosted on The Graph hosted service and can be used to query Surgeswap data.

### Versions and Production Endpoints[​](https://docs.uniswap.org/api/subgraph/overview#versions-and-production-endpoints) <a href="#versions-and-production-endpoints" id="versions-and-production-endpoints"></a>

Each version of the subgraph is dedicated for a service provider.

Each subgraph has a dedicated endpoint for querying data, as well as a page on [The Graph explorer](https://thegraph.com/explorer/) the exposes the schema and available fields to query.

**Current subgraphs**

* Explorer Page:&#x20;
  * BSC: <https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v2>
  * ETH: <https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-eth>
  * Arbitrum: <https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-arbi>
* GraphQL Endpoint:&#x20;
  * BSC: <https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v2>
  * ETH: <https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-eth>
  * Arbitrum: <https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-arbi>
* Code: <https://github.com/SomeMoeCoding/SurgeSwap-Subgraph-V1>

**CG Subgraph:**

* Explorer Page:&#x20;
  * <https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-cg-bsc>
* GraphQL Endpoint:&#x20;
  * <https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-cg-bsc>


---

# 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.surgeprotocol.io/development/subgraph-overview.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.
