---
# System prepended metadata

title: BetSwirl Subgraph Introduction

---

# BetSwirl Subgraph Introduction

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

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

## Avalanche Mainnet

- [Explorer Page](https://thegraph.com/explorer/subgraphs/4nQJ4T5TXvTxgECqQ6ox6Nwf57d5BNt6SCn7CzzxjDZN?view=Playground&chain=arbitrum-one)
- Graphql Endpoint: <https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4nQJ4T5TXvTxgECqQ6ox6Nwf57d5BNt6SCn7CzzxjDZN>
- [Code Repo-Private(request access)](https://github.com/BetSwirl/subgraph)

## Polygon

- Mainnet: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-polygon)
- Mumbai: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-mumbai)

## BNB Smart Chain

- Mainnet: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-bnb)
- Chapel: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-chapel)

## Avalanche (Hosted)

- Mainnet: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-avalanche)
- Fuji: [Subgraph](https://thegraph.com/hosted-service/subgraph/betswirl/betswirl-fuji)

## 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/)
- [New to GraphQL? - Read Here](https://graphql.org/learn/)
