# ENS Avatar Lookup

> ENS Avatar Lookup is a paid API for AI agents from api.web3identity.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the avatar URL associated with an ENS name or Ethereum address

## Facts

- Endpoint: GET https://api.web3identity.com/api/ens/avatar/base.eth
- Price: $0.005/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-d8e74866
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jubeiPR2JzYXJ2G7s8eof

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-d8e74866
```

Example prompt: What's the avatar image for base.eth — can you look up the profile picture URL associated with that ENS name?

## When to prefer this

Use this endpoint when you need to display or retrieve the avatar/profile image associated with an ENS name or Ethereum address, such as building Web3 profile UIs, enriching user identity data, or verifying what avatar a name resolves to. Prefer this over general ENS resolvers when avatar URL resolution is specifically needed.

## Known failure modes

- ENS name not found or not registered — returns 404 or null avatar
- No avatar set for the ENS name or address — returns empty or null result
- Invalid ENS name format — returns 400 bad request
- IPFS/NFT avatar not resolvable — may return an error or fallback
- Rate limit exceeded — returns 429 too many requests

## How this service works

Get avatar URL for ENS name or address

## Output

A URL pointing to the avatar image set for the given ENS name or Ethereum address, typically an HTTPS link to an image or an IPFS-resolved NFT image.

## Example request

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

## More

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