ENS Omnigraph Example Queries
The Omnigraph examples are GraphQL queries with input variables, response examples, curl samples, and links to the ENSAdmin playground. Each example also includes ready-to-run enssdk (TypeScript) and enskit (React) code snippets.
Domain Profile Load a domain's high-level profile (avatar, socials, addresses, and more).
Domain Records For given name resolve raw records like `addresses`, `texts`, `contenthash` etc.
Domain By Name Load a domain by interpreted name, including profile information.
Find Domains List domains matching a name prefix with ordering and registration metadata.
Domain Subdomains Paginate direct child names under a parent domain.
Recently Registered Subdomains List a parent domain's subdomains ordered by most recent registration first.
Domain Events Raw contract events associated with a domain's registry records.
Account Domains Load domains owned by an address via the Omnigraph `account` root field.
Account Primary Name Load a primary name for an account on Ethereum, including profile information.
Account Events Events touching an account across indexed ENS contracts.
Registry Domains Enumerate domains under a specific v2 ETH registry contract.
Permissions By Contract Roles and users granted on resources for a registrar or registry contract.
Permissions By User Resources and roles for an address in the permissions graph.
Account Resolver Permissions Resolver contracts where an account has been granted resolver ACLs.
Domain Resolver Assigned resolver contract address and recent resolver events.
Namegraph Walk a domain's registry, parent, subregistry, and direct subdomains (as in Core Concepts).
Account Migration Counts Count an account's ENSv1 vs ENSv2 domains to gauge its migration progress.
ETH TLD By Version Load the .eth TLD across protocol versions: one Domain per version, discriminated by `__typename` (ENSv1Domain / ENSv2Domain).