ENS Indexer API

API Documentation

ENSWhois Docs Status API

Public API for querying ENS domain data. All endpoints return JSON.

https://api.enswhois.com

Authentication

API Key

Pass your key via the X-API-Key header. Sign up to get a key with 1,000 free credits.

Micropayments (MPP)

Pay per request using the MPP protocol. No account needed — pay directly from your wallet.

No authentication is needed to try the API - unauthenticated requests are limited to 5 per minute. Sign up for unlimited access.

CORS is enabled for all /api endpoints. You can call these from any origin.

The enswhois MCP server exposes these APIs as agent tools, so MCP clients (Claude Desktop and others) can call ENS lookups directly. It is also the endpoint advertised by enswhois.eth's ENSIP-26 agent-endpoint[mcp] record.

Connection

https://mcp.enswhois.com/mcp

Transport: Streamable HTTP (the current MCP spec transport). Clients POST JSON-RPC to the URL above; GET/DELETE are not used (stateless server).

Authentication

The tools are thin wrappers over this REST API and reuse its tiers exactly. Pass an enswhois API key via the X-API-Key header (or Authorization: Bearer <key>) on the connection. Without a key, requests are rate-limited to 5 per minute. Sign up for a key.

Tools

ToolDescriptionREST endpoint
whoisLook up an ENS name: ownership, resolver, expiry, availability/whois/:name
list_domainsNames associated with an address (optional type role filter)/address/:address/domains
lookup_namehashResolve a namehash back to its domain/lookup-namehash/:hash
lookup_labelhashFind domains matching a labelhash/lookup-labelhash/:hash
get_text_recordRead a single ENS text record/domain/:name/records/text/:key
list_text_recordsAll current resolver records (text, addresses, contenthash)/domain/:name/records
is_erc8004_agentERC-8004 agent status (ENSIP-25 record + on-chain Adapter8004 check)/domain/:name/agent
agent_profileENSIP-26 agent profile: agent-context + agent-endpoint[mcp/a2a/web], plus ERC-8004 status/domain/:name/records + /domain/:name/agent

Claude Desktop

Add the server to your MCP client configuration:

{
  "mcpServers": {
    "enswhois": {
      "url": "https://mcp.enswhois.com/mcp",
      "headers": { "X-API-Key": "your-key-optional" }
    }
  }
}