ENS name to address and address to ENS name
Resolve an Ethereum Name Service name such as vitalik.eth to its wallet address and avatar, or look up the primary ENS name of an address (reverse resolution). Read live from Ethereum mainnet. Use to turn a human-readable name into a payable address, or to show a readable name for a counterparty address.
Inputs
| Name | Type | Description |
|---|---|---|
name (required) | string | An ENS name such as vitalik.eth, or an address (0x...) for reverse lookup |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/ens?name=vitalik.eth"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/ens?name=vitalik.eth&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"query": "vitalik.eth",
"type": "name",
"name": "vitalik.eth",
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"avatar": "https://euc.li/vitalik.eth",
"checkedAt": "2026-10-13T09:40:00.000Z"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ens, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp