Subgraph API
Subgraph API
Section titled “Subgraph API”ENSNode exposes a Subgraph-Compatible GraphQL endpoint at /subgraph.
With the launch of ENSv2 in Summer 2026, the Subgraph-compatible API will no longer be representative of the state of ENS; ENSNode still maintains support for the Subgraph-compatible API as described below for ENSv1 data, but integrators should prefer the ENSv2-ready Omnigraph API.
ENS Omnigraph API ENSv2-ready unified GraphQL API over both ENSv1 and ENSv2 — start here for new integrations.
ENSNode provides verified backwards compatibility with the ENS Subgraph. See configuration details below.
GraphiQL Playground
Section titled “GraphiQL Playground”To explore the schema and run queries, use the GraphiQL Playground below.
GraphQL Examples
Section titled “GraphQL Examples”Fetch data about the three most recently-created domains.
{ domains(orderBy: createdAt, orderDirection: desc, first: 3) { name expiryDate }}{ "data": { "domains": [ { "name": "ensanguo.eth", "expiryDate": "1758170255" }, { "name": "fiffer.eth", "expiryDate": "2041994243" }, { "name": "rifaisicilia.eth", "expiryDate": "1758170039" } ] }}