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

# Subgraph

PNS has a GraphQL API Endpoint hosted by [Graph](https://graph.pulse.domains) called a subgraph for indexing and organizing data from the PNS smart contracts.

This subgraph can be used to query PNS data.

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

## GraphQL Schema

The schema of GraphQL elements available is defined in [`/schema.graphql`](https://github.com/ensdomains/ens-subgraph/blob/master/schema.graphql)

## PulseChain Mainnet

* [Explorer Page](https://graph.pulse.domains/subgraphs/name/graphprotocol/pns/graphql)
* [Github Repo](https://github.com/pulsedomains/pns-subgraph-v3)

## PulseChain Testnet

* [Explorer Page](https://v4b.graph.pulse.domains/subgraphs/name/graphprotocol/tpns)

## Helpful Links

[Querying from an Application](https://thegraph.com/docs/en/developer/querying-from-your-app/)
