# ENS Avatar URL Lookup

> ENS Avatar URL 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 image URL associated with an ENS name or Ethereum address

## Facts

- Endpoint: GET https://api.web3identity.com/api/ens/avatar/vitalik.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-6a0efd73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OS6vPFuziTU-ORkAwF9_f

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-6a0efd73
```

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

## When to prefer this

Use this endpoint when you need to display or reference the profile avatar of a Web3 user identified by their ENS name or Ethereum address. Prefer it over general ENS resolution endpoints when you specifically need the avatar/profile image rather than address records or other text records.

## Known failure modes

- ENS name does not exist or is not registered — returns null or 404
- No avatar record set on the ENS name — returns empty or null URL
- Invalid ENS name format — returns validation error
- Ethereum address has no associated ENS reverse record or avatar — returns null
- Rate limiting or payment failure — returns 402 or 429 error

## How this service works

Get avatar URL for ENS name or address

## Output

Returns the avatar URL (typically an IPFS link, HTTP URL, or NFT-based image URL) associated with the given ENS name or Ethereum address, ready to display in a UI or use downstream.

## Example request

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

## More

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