# Tollex Wallet Token Balance Lookup

> Tollex Wallet Token Balance Lookup is a paid API for AI agents from api.tollex.org, paid per call via x402, $0.0079/call, status unknown (last checked 2026-10-11).

Returns the ERC-20 token balance held by a given wallet address on-chain, paid via x402 micropayment in USDC.

## Facts

- Endpoint: POST https://api.tollex.org/tools/wallet_token_balance?utm_source=zero.xyz
- Price: $0.0079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollex-wallet-token-balance-lookup-8b03fc2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fFOrsrH32iRCSyyxPuMez

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 tollex-wallet-token-balance-lookup-8b03fc2d -d '<json body>'
```

Example prompt: What's the current balance of the USDC token (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) held by wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?

## When to prefer this

Use this endpoint when you need a quick, pay-per-query on-chain ERC-20 token balance lookup without managing your own RPC infrastructure. It is ideal for AI agents operating under a Tollex economic policy that want auditable, receipt-backed balance queries settled in USDC via x402 micropayment. Prefer this over free public RPC calls when auditability, policy compliance, and signed receipts are required.

## Known failure modes

- Invalid Ethereum address format (non-0x hex) returns a validation error
- Token contract address does not correspond to a valid ERC-20 contract — balance may be zero or error
- Wallet address has no holdings of the specified token — returns zero balance
- Network or RPC errors may delay or fail the on-chain read
- Payment failure (insufficient USDC for x402 micropayment) blocks the request

## How this service works

Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.

## Output

Returns the on-chain ERC-20 token balance for the specified wallet address and token contract, along with a signed receipt confirming the paid query. The balance reflects the current state of the blockchain at query time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "wallet_token_balance",
   "version": "1.0.0",
   "provider": "tollex.robinhood-chain"
  },
  "result": {
   "token": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
   "address": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
   "balance": "14051",
   "decimals": 6
  },
  "evidence": [],
  "untrustedOutput": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollex-wallet-token-balance-lookup-8b03fc2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollex.org](https://www.zero.xyz/host/api.tollex.org/llms.txt)
