Subgraph
ENS has a GraphQL API Endpoint hosted by The Graph called a subgraph for indexing and organizing data from the ENS smart contracts.
This subgraph can be used to query ENS 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

Ethereum Mainnet

  • Graphql Endpoint: https://gateway.thegraph.com/api/[api-key]/subgraphs/id/QmcqvocMfm9LDSEDYmeexzeGt1QTY7T7AVitX9mG2qkvjR
  • Code Repo

Copy link
Edit on GitHub
On this page
GraphQL Schema
Ethereum Mainnet
Helpful Links