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

# Subgraph

### Polygon Mainnet

You can find the deployed Polygon Mainnet subgraph here:

{% embed url="<https://thegraph.com/hosted-service/subgraph/valist-io/valist>" %}
Polygon Mainnet Hosted Subgraph
{% endembed %}

HTTP Endpoint: [https://api.thegraph.com/subgraphs/name/valist-io/valist](<https://api.thegraph.com/subgraphs/name/valist-io/valist&#xA;>)

### Polygon Mumbai

You can find the deployed Polygon Mumbai subgraph here:

{% embed url="<https://thegraph.com/hosted-service/subgraph/valist-io/valistmumbai>" %}

HTTP Endpoint: [https://api.thegraph.com/subgraphs/name/valist-io/valistmumbai](<https://api.thegraph.com/subgraphs/name/valist-io/valistmumbai&#xA;>)

### Self-hosted

The source code for the Valist Subgraph can be found here, which contains everything you need to get started:

{% embed url="<https://github.com/valist-io/valist-subgraph>" %}

For this, you will need to deploy your own graph node. Here's a docker-compose file that can help get you started -- however please note **this is not secure out of the box, you will need to configure your database and networking/firewall properly.**

{% embed url="<https://gist.github.com/awantoch/decee0e9117a0dd0bc4c54535cc04e1e#file-docker-compose-yml>" %}
