# ENS / Basename Resolver

> ENS / Basename Resolver is a paid API for AI agents from automaton-tx-explainer.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Resolve an ENS name or Basename to an Ethereum address and text records (URL, Twitter, GitHub), or reverse-resolve an address to its primary ENS/Basename.

## Facts

- Endpoint: GET https://automaton-tx-explainer.vercel.app/v1/ens?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ens-basename-resolver-527a9b55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zUlABzUdINwfSeheZSRPS

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-resolver-527a9b55
```

Example prompt: What Ethereum address does vitalik.eth resolve to, and does it have any social profiles like Twitter or GitHub linked to it?

## When to prefer this

Use this endpoint when you need to resolve human-readable Ethereum names (ENS or Base Basenames) to addresses, or reverse-resolve a 0x wallet address to its primary name, particularly when you also want associated social/profile text records (Twitter, GitHub, URL). Prefer this over general blockchain explorers when you specifically need ENS/Basename identity resolution with social metadata in a single lightweight call.

## Known failure modes

- Name not found or unregistered — resolver returns null/empty address
- Address has no primary name set — reverse lookup returns empty
- Invalid input format — query rejected if neither a valid ENS/Basename nor a 0x address
- Text records not set — fields like twitter/github may be missing from response
- RPC or upstream node timeout causing delayed or failed resolution

## How this service works

Resolve an ENS name or Basename to an address (plus url/twitter/github text records), or reverse-resolve an address to its primary name.

## Output

Returns the resolved Ethereum address for a given ENS name or Basename, along with any text records stored on-chain (URL, Twitter handle, GitHub username). For reverse lookups (0x address input), returns the primary ENS or Basename associated with that address.

## 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",
       "pattern": "^(0x[0-9a-fA-F]{40}|[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$",
       "description": "ENS or Basename (vitalik.eth, jesse.base.eth) or 0x address for reverse lookup"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ens-basename-resolver-527a9b55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automaton-tx-explainer.vercel.app](https://www.zero.xyz/host/automaton-tx-explainer.vercel.app/llms.txt)
