# BaseName Oracle x402

> BaseName Oracle x402 is a paid API for AI agents from basename-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-18).

Resolves a Basename (.base.eth) or Ethereum address to its full on-chain identity profile (name, avatar, address) on Base Mainnet via a pay-per-call x402 micropayment API

## Facts

- Endpoint: GET https://basename-x402.vercel.app/v1/reverse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basename-oracle-x402-52e9fc29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Hou383IQguSLtVWH4bx8

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 basename-oracle-x402-52e9fc29
```

Example prompt: What's the Basename and avatar for the Base Mainnet wallet address 0x2211d1D0020DAEA8039E46Cf1367962070d77DA9 — resolve it to a human-readable .base.eth identity?

## When to prefer this

Choose this endpoint when you need to resolve Basenames (.base.eth) or reverse-resolve wallet addresses specifically on Base Mainnet (Chain ID 8453), and you want a pay-per-call micropayment model via x402 rather than running your own ENS resolver. It is particularly suited for agents that need to enrich blockchain data with human-readable identities on Base without maintaining infrastructure or paying subscription fees.

## Known failure modes

- Address has no Basename registered — returns empty or null name field
- Invalid Ethereum address format — likely returns a 400 or validation error
- Name provided does not exist or has expired on Base Mainnet — null resolution
- Payment not completed via x402 — returns 402 Payment Required with payment details
- Network or RPC errors from Base Mainnet — may return 503 or timeout

## How this service works

High-precision Basenames (.base.eth) and ENS Identity Resolver Oracle for Base Mainnet (Chain ID 8453), payable via x402.

## Output

Returns a JSON object containing the resolved human-readable name (e.g. jesse.base.eth), avatar image URL, canonical Ethereum address, the network (Base Mainnet), and a timestamp of when the resolution occurred.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "title": "ReverseRequest",
     "properties": {
      "address": {
       "type": "string",
       "title": "Address",
       "default": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "source",
      "address",
      "primary_name",
      "timestamp"
     ],
     "properties": {
      "avatar": {
       "type": [
        "string",
        "null"
       ]
      },
      "source": {
       "type": "string"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      },
      "network": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      },
      "timestamp": {
       "type": "string",
       "format": "date-time"
      },
      "display_name": {
       "type": [
        "string",
        "null"
       ]
      },
      "primary_name": {
       "type": "string"
      },
      "resolution_network": {
       "type": "string",
       "const": "ethereum-mainnet"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string"
  },
  "avatar": {
   "type": "string"
  },
  "address": {
   "type": "string"
  },
  "network": {
   "type": "string"
  },
  "timestamp": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basename-oracle-x402-52e9fc29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basename-x402.vercel.app](https://www.zero.xyz/host/basename-x402.vercel.app/llms.txt)
