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

Returns the avatar image URL associated with a given ENS name or Ethereum address

## Facts

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

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-43e7c057
```

Example prompt: What's the avatar image URL for vitalik.eth? I want to display their ENS profile picture.

## When to prefer this

Use this endpoint when you need to display a profile picture or avatar image for an ENS name or Ethereum address — for example, in a Web3 social app, wallet UI, or identity card. Prefer this over general ENS resolution when you specifically need only the avatar URL rather than full ENS records.

## Known failure modes

- ENS name not found or not registered — returns 404 or null
- No avatar record set for the ENS name — returns empty or null URL
- Invalid ENS name format — returns 400 bad request
- Ethereum address has no associated ENS primary name with avatar — returns null
- IPFS or off-chain avatar resolution failure — returns error or broken URL

## How this service works

Get avatar URL for ENS name or address

## Output

A URL pointing to the avatar image set in the ENS records for the given name or address — typically an IPFS link, HTTP URL, or NFT URI resolved to a usable image URL.

## Example request

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

## More

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