# P0 Agent Economy Index – Batch Wallet Balance Lookup

> P0 Agent Economy Index – Batch Wallet Balance Lookup is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.075/call, status unknown (last checked 2026-10-19).

Looks up native token and ERC-20 balances for up to 25 wallet addresses (or ENS names) across multiple blockchain networks in a single call.

## Facts

- Endpoint: POST https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/wallet/balance/batch?utm_source=zero.xyz
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-batch-wallet-balance-lookup-1c9e5d29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GRxw1l9NHlizJL-KYDAHn

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 p0-agent-economy-index-batch-wallet-balance-lookup-1c9e5d29 -d '<json body>'
```

Example prompt: Check the ETH and USDC balances on Base for these 3 wallets: vitalik.eth, 0xabc...123, and 0xdef...456 — I want to see what each one is holding right now.

## When to prefer this

Use this endpoint when you need to check balances for multiple wallet addresses (up to 25) in a single paid call rather than making individual lookups; it is priced as a flat rate regardless of address count (1–25), making it cost-efficient for batch operations. Prefer this over repeated single-address calls when auditing agent fleets, verifying multi-party payment readiness, or building portfolio snapshots.

## Known failure modes

- Any single address failure causes the entire batch to be refused with no charge
- Chain timeout causes that chain to appear in errors array rather than reported as zero
- Invalid or unresolvable ENS name returns an error for that address
- More than 25 addresses in a single request is rejected
- Upstream blockchain node unavailability causes chain-level errors

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

Returns a JSON object containing a results array with one entry per deduplicated address, each showing ENS resolution (if applicable), native token balance (raw amount, human-readable amount, symbol, decimals), ERC-20 token balances, block number, chain source, and explorer link per chain; chains that timed out or errored are listed separately and never reported as zero. Also includes ok_count, total count, and a checked_at timestamp. If any item fails server-side, the entire call is refused and nothing is charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "string",
   "maxLength": 120,
   "description": "optional, for every address: comma list of chains, as in the single call"
  },
  "addresses": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 255
   },
   "maxItems": 25,
   "minItems": 1,
   "description": "1 to 25 addresses; duplicates are removed"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Each address is processed exactly like a single /wallet/balance call (same sources, fields and rules); duplicates (case-insensitive) are removed. Price is fixed per call for 1 to 25 addresses. If any item fails on our side or at the source, the whole call is refused and nothing is charged.",
  "count": 1,
  "results": [
   {
    "ok": true,
    "input": "vitalik.eth",
    "result": {
     "ens": {
      "name": "vitalik.eth",
      "resolver": "0x231b0ee14048e9dccd1d247744d114a4eb5e8e63"
     },
     "asOf": "2026-10-05T12:00:00.000Z",
     "kind": "ens",
     "note": "Balances read directly from public blockchain nodes at the block shown for each chain. No USD prices. A chain that did not answer is listed in errors, never reported as zero.",
     "input": "vitalik.eth",
     "chains": [
      {
       "block": 52207539,
       "chain": "base",
       "native": {
        "raw": "120000000000000000",
        "amount": "0.12",
        "symbol": "ETH",
        "decimals": 18
       },
       "source": "base.drpc.org",
       "tokens": [
        {
         "raw": "25000000",
         "amount": "25",
         "symbol": "USDC",
         "contract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
         "decimals": 6
        }
       ],
       "chainId": 8453,
       "explorer": "https://basescan.org/address/0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
       "tokenErrors": []
      }
     ],
     "errors": [
      {
       "chain": "polygon",
       "error": "timeout"
      }
     ],
     "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
    }
   }
  ],
  "ok_count": 1,
  "checked_at": "2026-10-18T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-batch-wallet-balance-lookup-1c9e5d29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
