Skip to main content
Namespace provides TypeScript SDKs and hosted APIs for creating, minting, querying, and resolving ENS subnames. Choose the interface that fits your runtime and how much infrastructure you want to manage.

Choose an interface

TypeScript SDKs

Use typed clients in a Node.js or TypeScript application.

REST APIs

Call hosted HTTP endpoints from any server-side language.

Available tools

Before you integrate

  • Keep Namespace API keys in server-side environment variables.
  • Decide whether your product needs operator-managed offchain records or onchain subnames on Ethereum or L2 chains.
  • Use a testnet configuration during development.
  • Handle unavailable labels, authentication failures, rate limiting, and resolver errors explicitly.
  • Pin supported package versions and review the changelog before upgrading.

Developer quickstart

Create and query an offchain subname with the TypeScript SDK.