Custom APIs
Build specialized GraphQL or REST APIs tailored to your use case. Query exactly the data you need with full SQL power.
For special use cases that go beyond what the ENS Omnigraph exposes — you can query the live onchain state of ENSv2 directly via SQL.
ENSDb is an open standard that stores the live onchain ENSv2 state in a carefully-crafted data model within a PostgreSQL database. Because it’s plain Postgres, you can use any language with a Postgres driver — TypeScript, Python, Rust, Go, and more.
Custom APIs
Analytics & Dashboards
CLIs & Developer Tools
Event-Based Engines
Data Pipelines
AI Agents
import { EnsDbReader } from "@ensnode/ensdb-sdk";import { eq } from "drizzle-orm";
const ensDbReader = new EnsDbReader(ensDbConnectionString, ensIndexerSchemaName);const { ensDb, ensIndexerSchema } = ensDbReader;
const v2Domains = await ensDb .select() .from(ensIndexerSchema.domain) .where(eq(ensIndexerSchema.domain.type, "ENSv2Domain"));SELECT * FROM ensindexer_0.domainsWHERE type = 'ENSv2Domain'LIMIT 10;