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

# Subgraph API Overview

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

This subgraph can be used to query VeneraSwap data.

Subgraph information is serviced by a decentralized group of server operators called Indexers.\
\
Endpoints and API explorer:\
\
**Explorer page:** <https://thegraph.com/hosted-service/subgraph/venerafinance/exchange>

**API Endpoint:** <https://api.thegraph.com/subgraphs/name/venerafinance/exchange>\
\
GraphQL Schema Example:\
\
[`{ pancakeFactories(first: 5) { id totalPairs totalTransactions totalVolumeUSD } bundles(first: 5) { id bnbPrice } }`](#user-content-fn-1)[^1]<br>

Take a look at the Entites of the queries in the [next page](/venera-swap/api/subgraph-api-overview/entities.md).

[^1]: { pancakeFactories(first: 5) { id totalPairs totalTransactions totalVolumeUSD } bundles(first: 5) { id bnbPrice } }
