> For the complete documentation index, see [llms.txt](https://docs.surgeprotocol.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.surgeprotocol.io/development/subgraph-overview.md).

# 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>
