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 both ENSv1 and ENSv2 directly via SQL.
ENSDb is a bi-directional integration standard for any EnsDbWriter and EnsDbReader implementations to coordinate around the live unified onchain state of ENSv1 and ENSv2 in a carefully-crafted standardized data model within a PostgreSQL database. Because ENSDb builds on 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;