Skip to content

Find Domains

List domains matching a name prefix with ordering and registration metadata.
Run in ENSAdmin
GraphQL
query FindDomains(
$name: String!
$order: DomainsOrderInput
) {
domains(
where: { name: $name }
order: $order
first: 20
) {
edges {
node {
__typename
id
label { interpreted hash }
name
registration { expiry event { timestamp } }
}
}
}
}

Payload and transport examples

{
"name": "test-na",
"order": {
"by": "NAME",
"dir": "DESC"
}
}

Response is an illustrative snapshot; live data depends on your ENSNode instance. The curl tab shows a POST to https://api.v2-sepolia.ensnode.io/api/omnigraph

Back to Examples