# x402-toolbox Token Balance Lookup

> x402-toolbox Token Balance Lookup is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches the on-chain token balance for a specified wallet or token on Base via a pay-per-call x402 micropayment endpoint

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/chain/token-balance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-token-balance-lookup-94a78f27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iX0XJ5RYI07CAf_2Pd0tB

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 x402-toolbox-token-balance-lookup-94a78f27
```

Example prompt: What's the current token balance for wallet 0xAbc123... on Base — specifically for the USDC token contract?

## When to prefer this

Choose this endpoint when you need a quick, no-signup on-chain token balance lookup on Base and are comfortable paying $0.002 USDC per call via x402 micropayments. Ideal for AI agents that need blockchain data without managing API keys or OAuth flows — the payment itself acts as the identity. Prefer this over free RPC calls when you want a managed, reliable worker with deterministic pricing.

## Known failure modes

- Invalid or malformed wallet/token address returns an error response
- Insufficient USDC payment via x402 results in 402 Payment Required response
- Unsupported token or network returns an error or empty balance
- Schema parameter missing or malformed causes a bad request error
- Cloudflare Worker timeout if the Base RPC is slow or unavailable

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with 'ok' (boolean indicating success) and 'paid' (boolean confirming x402 payment was processed), along with the on-chain token balance for the queried address and token.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-token-balance-lookup-94a78f27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
