# agenttoll.app Basename Resolver

> agenttoll.app Basename Resolver is a paid API for AI agents from agenttoll.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Resolves a Base blockchain name (.base.eth) to its wallet address, or resolves a wallet address to its primary Basename, bidirectionally

## Facts

- Endpoint: GET https://agenttoll.app/api/base/name/yokboyle999
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-app-basename-resolver-f5833da6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5Z3eD-a7BjzAILP5_Wotq

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 agenttoll-app-basename-resolver-f5833da6
```

Example prompt: What wallet address does the basename 'yokboyle999' resolve to on Base, and does it have a primary name registered?

## When to prefer this

Use this endpoint when you need bidirectional Basename resolution on the Base blockchain — either to get the wallet address behind a human-readable name, or to find the display name for a wallet address. Prefer this over generic ENS resolvers when specifically working with Base network identities. It handles both directions in a single call, making it ideal for identity verification before payments, display name enrichment, and on-chain identity lookups on Base.

## Known failure modes

- Name not registered or has no resolver — returns null or 404
- Address has no primary Basename set — returns empty or null name
- Invalid input format (neither a valid basename nor 0x address) — returns 400 error
- Network or RPC timeout querying Base chain — returns 5xx error
- Name exists but points to zero address — may return empty result

## How this service works

Basename resolution both ways: name to address, or address to primary name

## Output

Returns the resolved wallet address if given a Basename, or the primary Basename if given a 0x wallet address. Includes the canonical name string and the corresponding on-chain address for the queried identity.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "nameOrAddress"
     ],
     "properties": {
      "nameOrAddress": {
       "type": "string",
       "description": "A basename (.base.eth optional) or a 0x address"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/agenttoll-app-basename-resolver-f5833da6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.app](https://www.zero.xyz/host/agenttoll.app/llms.txt)
