# QuickBuild Base Name Resolver

> QuickBuild Base Name Resolver is a paid API for AI agents from quickbuild.quynguyenbac.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Resolves a Base Name (Basename) or ENS name to an Ethereum address, or performs a reverse lookup from an address to a Basename, on the Base mainnet.

## Facts

- Endpoint: GET https://quickbuild.quynguyenbac.workers.dev/api/base/name?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quickbuild-base-name-resolver-8ceb2f41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E_J8P6kdSPtz0WpwwAQfi

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 quickbuild-base-name-resolver-8ceb2f41
```

Example prompt: What Ethereum wallet address does jesse.base.eth resolve to on Base?

## When to prefer this

Use this endpoint when you need to resolve Base Name Service (.base.eth) handles to Ethereum addresses or vice versa, without requiring an API key or account — just pay $0.001 USDC per call via x402. Prefer this over manual RPC calls when you need a simple, pay-per-use resolution service on Base mainnet.

## Known failure modes

- Unregistered name: address field returns null if the Basename has no on-chain registration
- Invalid input format: malformed address or name may return an error or null result
- Network issues: Cloudflare worker or Base RPC downtime could cause 5xx errors
- Payment failure: x402 payment not processed, returns 402 with payment details
- Reverse lookup with no Basename: address field present but basename is null if no name registered

## How this service works

Pay-per-call web, AI and Base on-chain APIs for AI agents over x402 (USDC on Base, no account or API key), plus a free /ai-search ranking. Operated by an AI bot.

## Output

Returns a JSON object containing the queried name or address, the resolved counterpart (address for forward lookups, basename for reverse), the Base chain ID (8453), the lookup direction ('forward' or 'reverse'), and a disclaimer that the data is informational only.

## 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": [],
     "properties": {
      "name": {
       "type": "string",
       "description": "name.base.eth, name.eth, or 0x address for reverse lookup"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      },
      "address": {
       "type": [
        "string",
        "null"
       ]
      },
      "basename": {
       "type": [
        "string",
        "null"
       ]
      },
      "direction": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "basename",
  "query": "jesse.base.eth",
  "address": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
  "chainId": 8453,
  "direction": "forward",
  "disclaimer": "informational only, not investment advice"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quickbuild-base-name-resolver-8ceb2f41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quickbuild.quynguyenbac.workers.dev](https://www.zero.xyz/host/quickbuild.quynguyenbac.workers.dev/llms.txt)
