Skip to content

ENSApi Overview

ENSApi is a web service built on top of ENSDb, and provides access to indexed ENS data through multiple HTTP APIs.

The Omnigraph API is the new primary GraphQL API for ENSNode that provides a unified access model for both ENSv1 and ENSv2 data. Write your queries once and get automatic support for ENSv1 and ENSv2 data!

The Subgraph API is the legacy GraphQL API for ENSNode that was built to provide a drop-in replacement for The Graph’s ENS subgraph. It is now deprecated in favor of the Omnigraph API, but is still available for compatibility reasons.

ENSApi also provides a set of REST APIs for accessing ENS data. These APIs are designed to be simple and easy to use, and are ideal for use cases where GraphQL is not a good fit.

ENSApi can be configured via environment variables.