# 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-14).

Resolves an ENS (Ethereum Name Service) name to its associated Ethereum address and on-chain records

## Facts

- Endpoint: GET https://api.web3identity.com/api/ens/resolve/foundation.eth
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-web3identity-com-2b1f3596
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yWP-bObl_wkRERhWcdP9W

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-2b1f3596
```

Example prompt: What Ethereum address and records does foundation.eth resolve to?

## When to prefer this

Use this endpoint when you need to resolve a human-readable ENS name (e.g. vitalik.eth) to its underlying Ethereum address or retrieve associated profile records. Prefer this over generic blockchain explorers when you need programmatic, fast ENS resolution with structured output and are working in an agentic or automated context.

## Known failure modes

- ENS name not registered or expired — returns null or 404
- ENS name has no resolver set — returns empty records
- Invalid ENS name format — returns validation error
- Network or RPC node unavailability — returns 503 or timeout
- ENS name resolves but has no primary address set — address field is null

## How this service works

Resolve ENS name to address and records

## Output

Returns the Ethereum wallet address mapped to the ENS name along with associated on-chain records such as text records, content hash, and resolver metadata

## Example request

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-web3identity-com-2b1f3596/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)
