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

## Facts

- Endpoint: GET https://api.web3identity.com/api/ens/avatar/ethereum.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-2a848557
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HI3-y1gkSw0eU8kGAWKO2

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

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

## When to prefer this

Use this endpoint when you need to visually identify an ENS name or Ethereum address by fetching their associated avatar/profile image. Prefer this over generic ENS resolvers when you specifically need the avatar URL and want a lightweight single-field response. Ideal for populating profile UI components in Web3 apps or enriching on-chain identity data.

## Known failure modes

- ENS name not found or not registered — returns 404 or empty result
- Address has no ENS avatar configured — returns null or empty URL
- Malformed ENS name or invalid Ethereum address — returns 400 bad request
- IPFS-hosted avatars may return gateway-dependent URLs that could be slow or unavailable
- Rate limiting or payment failure for x402 micropayment — returns 402 or 429

## How this service works

Get avatar URL for ENS name or address

## Output

An avatar URL (typically an HTTP/HTTPS image link or IPFS URL) pointing to the profile image set for the given ENS name or Ethereum address. Returns null or an error if no avatar is configured.

## Example request

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

## More

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