# AllTheBot Basename Resolver

> AllTheBot Basename Resolver is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Resolves a Basename or ENS name (e.g. jesse.base.eth) to a Base address, or reverse-resolves a Base address to its verified primary Basename.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/base/name?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-basename-resolver-6f0cf960
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ciOdxtfBbAxG9HRRnw934

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 allthebot-basename-resolver-6f0cf960
```

Example prompt: What wallet address does jesse.base.eth resolve to on Base? And if I give you the address 0x2211d1D0020DAEA8039E46Cf1367962070d77DA9, can you also tell me what its primary Basename is?

## When to prefer this

Choose this endpoint when you need to resolve Basenames or ENS names specifically on the Base network, either forward (name → address) or reverse (address → verified primary name). Prefer it over generic ENS resolvers when Base-native Basenames (.base.eth) are the target, and when you need verified primary-name reverse resolution rather than just any associated name.

## Known failure modes

- Name not found: queried Basename does not exist or is unregistered
- No primary name set: address has no verified primary Basename, reverse lookup returns null or empty
- Invalid address format: address doesn't match 0x[40 hex chars] pattern
- Both name and address omitted: request missing required query parameters
- Network error or RPC timeout reaching Base chain

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

Returns a JSON object with the resolved name (e.g. 'jesse.base.eth'), the corresponding Base wallet address (0x...), and the network identifier ('base'). Reverse resolution only returns a name when the primary Basename is verified on-chain.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "name": {
       "type": "string",
       "maxLength": 255
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "jesse.base.eth",
  "address": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
  "network": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-basename-resolver-6f0cf960/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
