# x402 ENS Resolver

> x402 ENS Resolver is a paid API for AI agents from x402tap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Resolve an ENS name (e.g. vitalik.eth) to its EVM address, or reverse-resolve an EVM address to its primary ENS name

## Facts

- Endpoint: GET https://x402tap.com/api/ens-resolve?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ens-resolver-5e44ade1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6dUDdN7E2VGgFuEkzK6UW

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 x402-ens-resolver-5e44ade1
```

Example prompt: What Ethereum address does vitalik.eth resolve to?

## When to prefer this

Use this endpoint when you need fast, cheap ENS resolution for either forward (name→address) or reverse (address→name) lookups in a Web3 or Ethereum context. At $0.002 per call, it is well-suited for per-request resolution in agentic workflows without requiring your own Ethereum node or ENS library integration.

## Known failure modes

- ENS name does not exist or has no address record set — may return null address or error
- Address has no primary ENS name set — reverse resolution returns empty or null name
- Malformed ENS name or invalid EVM address format in query — returns 400 or error response
- ENS resolver or upstream Ethereum node temporarily unavailable — 5xx error
- Name recently updated; cached resolution may be stale

## How this service works

Resolve an ENS name to an address, or reverse-resolve an address to its primary ENS name

## Output

A JSON object containing the resolved ENS name and its corresponding EVM address. For a forward resolution (name → address), returns the wallet address. For a reverse resolution (address → name), returns the primary ENS name. Example: {"name": "vitalik.eth", "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string",
       "description": "ENS name to resolve, e.g. \"vitalik.eth\""
      },
      "address": {
       "type": "string",
       "description": "EVM address to reverse-resolve to its primary ENS name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "vitalik.eth",
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ens-resolver-5e44ade1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402tap.com](https://www.zero.xyz/host/x402tap.com/llms.txt)
