# ENS Name Resolver with Avatar

> ENS Name Resolver with Avatar is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Resolves ENS names to Ethereum addresses (or reverse-resolves addresses to primary ENS names) and returns avatar metadata, paid via x402 at $0.01 USDC per call on Base.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/ens?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-name-resolver-with-avatar-7638c92d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2WDz1CTQdpe63HJAcNNR7

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 ens-name-resolver-with-avatar-7638c92d
```

Example prompt: What Ethereum address does vitalik.eth resolve to, and does it have an avatar set?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call ENS resolution without managing your own RPC infrastructure or ENS SDK. Ideal for agents that occasionally need to resolve .eth names or reverse-lookup addresses on demand, especially when already operating in a Base/x402 payment context. Prefer this over self-hosted solutions when you want zero setup and are comfortable with the $0.01/call pricing model.

## Known failure modes

- ENS name not registered or has no resolver — returns null or empty address
- Address has no primary ENS name set — reverse lookup returns empty
- Invalid input format (neither valid ENS name nor 0x address) — likely returns an error
- ENS name registered but no address record set — returns null
- Payment failure via x402 — call not executed
- RPC node timeout or ENS graph unavailability — service error

## How this service works

ENS resolve: name -> address or address -> primary name, with avatar. 0.01 USDC/call on Base.

## Output

Returns the resolved Ethereum address for a given ENS name, or the primary ENS name for a given address, along with the avatar URL if one is set. Response includes the resolution direction and any relevant metadata about the ENS record.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "description": "ENS name (vitalik.eth) or 0x address"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-name-resolver-with-avatar-7638c92d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
