# ENS / Basename Name Resolver

> ENS / Basename Name Resolver is a paid API for AI agents from 138-197-15-135.sslip.io, paid per call via x402, $0.0045/call, status unknown (last checked 2026-10-31).

Resolves ENS (.eth) and Base (.base.eth) names to Ethereum addresses, or reverse-resolves addresses to names, returning registry metadata.

## Facts

- Endpoint: GET https://138-197-15-135.sslip.io/v1/name/resolve?utm_source=zero.xyz
- Price: $0.0045/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-basename-name-resolver-5e5cec7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EcMOvAMsDDOIIN7raW7p7

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-basename-name-resolver-5e5cec7b
```

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

## When to prefer this

Use this endpoint when you need to resolve ENS (.eth) or Base (.base.eth) names to Ethereum addresses, or perform reverse lookups from 0x addresses to human-readable names, especially when operating in an x402 pay-per-call agent context on Base. Prefer this over full node RPC calls when you want a lightweight REST API without managing Web3 provider connections.

## Known failure modes

- Name not found or unregistered: returns null for address field
- Invalid input format: malformed address or unsupported TLD
- Network timeout or RPC unavailability for ENS/Base registry
- Name exists but has no address record set (resolver not configured)
- Payment failure via x402 results in 402 response before resolution attempt

## How this service works

Resolve an ENS name (vitalik.eth) or Basename (jesse.base.eth) to an address, or an address to its verified primary ENS name. On-chain, deterministic, no LLM.

## Output

Returns a JSON object containing the original input, the resolved name (if given an address), the resolved 0x address (if given a name), and the registry that matched (e.g. 'ethereum' for ENS or 'base' for Base names). Fields may be null if no resolution is found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "Name (.eth / .base.eth) or 0x address"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "input",
      "name",
      "address",
      "registry"
     ],
     "properties": {
      "name": {
       "type": [
        "string",
        "null"
       ]
      },
      "input": {
       "type": [
        "string",
        "null"
       ]
      },
      "address": {
       "type": [
        "string",
        "null"
       ]
      },
      "registry": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-basename-name-resolver-5e5cec7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 138-197-15-135.sslip.io](https://www.zero.xyz/host/138-197-15-135.sslip.io/llms.txt)
