# ENS Name Resolver

> ENS Name Resolver is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Resolves an ENS name to its Ethereum address and associated on-chain records

## Facts

- Endpoint: GET https://api.web3identity.com/api/ens/resolve/opensea.eth
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-34cebd9d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hs7xszdEbOSB8kDXq9QgU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-web3identity-com-34cebd9d
```

Example prompt: What Ethereum address does opensea.eth resolve to, and can you also pull any on-chain records attached to it?

## When to prefer this

Use this endpoint when you need to programmatically resolve a human-readable ENS name (e.g. opensea.eth) to its underlying Ethereum address or retrieve its on-chain text records. Prefer this over manual on-chain calls when you need a simple REST API without running a full Ethereum node or writing Web3 code.

## Known failure modes

- ENS name does not exist or is unregistered — returns null or 404
- ENS name has expired — resolver returns no address
- ENS name has no reverse record or address set — returns empty address field
- Invalid ENS name format — returns 400 bad request
- Upstream ENS node unavailable — returns 503 or timeout

## How this service works

Resolve ENS name to address and records

## Output

Returns the resolved Ethereum address (0x...) for the given ENS name along with associated ENS records such as text records, avatar, content hash, and other metadata stored in the ENS registry.

## Example request

```json
{
 "name": "vitalik.eth"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-34cebd9d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.web3identity.com](https://www.zero.xyz/host/api.web3identity.com/llms.txt)
