# Subgraph

Clipper has a GraphQL API Endpoint hosted by [The Graph](https://thegraph.com/docs/about/introduction#what-the-graph-is) called a subgraph. The subgraph is for indexing and organizing data from Clipper's smart contracts and can be used to query Clipper data.

Subgraph information is serviced by a decentralized group of server operators called Indexers.

### Get Started

Learn more about how subgraphs work by checking out [The Graph's official documentation](https://thegraph.com/docs/en/). If you are unfamiliar with GraphQL, we recommend first taking a quick look at their documentation [here](https://graphql.org/learn/).

### Ethereum

* [Explorer Page](https://thegraph.com/explorer/subgraphs/AcoumtPXDDyoqHSuc9y51mgGS7DSze4XyF83RG7Db3R5?view=Overview)
* Graphql Endpoint: <https://api.thegraph.com/subgraphs/name/edoapp/clipper>
* [Code Repo](https://github.com/shipyard-software/clipper-rfq-subgraph)

### Optimism

* [Explorer Page](https://thegraph.com/hosted-service/subgraph/edoapp/clipper-optimism)
* Graphql Endpoint: <https://api.thegraph.com/subgraphs/name/edoapp/clipper-optimism>
* [Code Repo](https://github.com/shipyard-software/clipper-rfq-subgraph)

### Polygon

* [Explorer Page](https://thegraph.com/hosted-service/subgraph/edoapp/clipper-polygon)
* Graphql Endpoint: <https://api.thegraph.com/subgraphs/name/edoapp/clipper-polygon>
* [Code Repo](https://github.com/shipyard-software/clipper-rfq-subgraph)

### Arbitrum

* [Explorer Page](https://api.thegraph.com/subgraphs/name/edoapp/clipper-arbitrum)
* Graphql Endpoint: <https://api.thegraph.com/subgraphs/name/edoapp/clipper-arbitrum>
* [Code Repo](https://github.com/shipyard-software/clipper-rfq-subgraph)

### Helpful Resources

* [Video Tutorial on creating an API Key](https://www.youtube.com/watch?v=UrfIpm-Vlgs)
* [Managing your API Key & setting your indexer preferences](https://thegraph.com/docs/en/studio/managing-api-keys/)
* [Querying from an application](https://thegraph.com/docs/en/developer/querying-from-your-app/)
* [How to use the explorer and playground to query on-chain data](https://medium.com/@chidubem_/how-to-query-on-chain-data-with-the-graph-f8507488215)
* [Deploy your own Subgraph](https://thegraph.com/docs/en/developing/creating-a-subgraph/)
