# ENS Name Resolver (api.x402node.dev)

> ENS Name Resolver (api.x402node.dev) is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Resolves ENS names to Ethereum addresses and reverse-resolves Ethereum addresses to their primary ENS name on mainnet

## Facts

- Endpoint: GET https://api.x402node.dev/chain/ens
- 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/ens-name-resolver-api-x402node-dev-c25871bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mIi_Vy-LAeihzR8mKVE_v

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-api-x402node-dev-c25871bd
```

Example prompt: What Ethereum address does vitalik.eth resolve to on mainnet? Also, can you reverse-resolve 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 to its ENS name?

## When to prefer this

Use this endpoint when you need to translate between human-readable ENS names (e.g. alice.eth) and raw Ethereum addresses, or vice versa, on Ethereum mainnet. Prefer this over general blockchain APIs when ENS resolution is the specific task and you want a lightweight, pay-per-call solution without managing your own RPC or ENS SDK.

## Known failure modes

- ENS name has no resolver set — returns null or not-found response
- Address has no primary ENS name set — reverse resolution returns empty
- Invalid ENS name format — returns validation error
- Invalid Ethereum address format — returns error
- ENS name expired or not registered — returns not-found
- Network/RPC timeout contacting Ethereum mainnet

## How this service works

Resolve ENS names to Ethereum addresses and reverse resolve addresses to their primary ENS name on mainnet. ens resolve, ens lookup, ens name to address, reverse ens, ethereum name service, eth domain resolver Accepts payment on Base or Solana — either network works.

## Output

Returns the resolved Ethereum address for a given ENS name, or the primary ENS name registered to a given Ethereum address on mainnet

## Example request

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

## 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",
     "required": [
      "name",
      "address"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "ENS name to resolve, e.g. vitalik.eth (provide name or address)"
      },
      "address": {
       "type": "string",
       "description": "Ethereum address for reverse lookup of primary ENS name"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-name-resolver-api-x402node-dev-c25871bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
