# ENS Name Resolver

> ENS Name Resolver is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-13).

Resolves an ENS (Ethereum Name Service) domain name to its corresponding Ethereum wallet address

## Facts

- Endpoint: GET https://x402-gateway-production.up.railway.app/api/ens/resolve
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-632c8613
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e8tBE5Pozeb-Sso1_72ft

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-gateway-production-up-railway-app-632c8613
```

Example prompt: What is the Ethereum wallet address for vitalik.eth?

## When to prefer this

Use this endpoint when you need to translate a human-readable ENS name (e.g. alice.eth) into an Ethereum address for payment, verification, or on-chain interaction purposes. Prefer this over manual RPC calls when operating in an agentic context with x402 micropayment support.

## Known failure modes

- ENS name not found or unregistered — returns null or error
- ENS name has no address record set — resolves but returns empty
- Invalid ENS name format — returns validation error
- Network or resolver timeout — returns 5xx error
- ENS name exists but points to a contract, not an EOA

## How this service works

Resolve an ENS name to an Ethereum address

## Output

Returns the resolved Ethereum wallet address (0x... format) corresponding to the given ENS name, allowing the agent to map a human-readable name to an on-chain address.

## 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"
     ],
     "properties": {
      "name": {
       "type": "string",
       "example": "vitalik.eth",
       "description": "ENS name to resolve"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-632c8613/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
