Data tools / On-chain reads and wallet balances

Wallet balance API across Ethereum, Base, Arbitrum and Polygon

Use when you need a wallet's token balances on several chains in one call: native coin plus USDC, USDT, DAI, WETH, WBTC/cbBTC on Ethereum, Base, Arbitrum and Polygon. Pass address (0x or an ENS name like vitalik.eth, resolved on Ethereum) and optional chains. Exact on-chain amounts with block numbers; a chain that fails is listed in errors, never shown as zero. No USD prices. $0.003 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/wallet/balance?address=vitalik.eth&chains=ethereum%2Cbase%2Carbitrum%2Cpolygon'
ParameterRequiredWhat it is
addressyes0x address or ENS name (lowercase a-z, 0-9, hyphen)
chainsnocomma list of ethereum, base, arbitrum, polygon (default: all EVM chains for a 0x address)

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

Example answer

{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "input": "vitalik.eth",
  "kind": "ens",
  "ens": {
    "name": "vitalik.eth",
    "resolver": "0x394d8eb4a4fdf599384deab25f31d111d755c398"
  },
  "asOf": "2026-11-01T14:25:10.283Z",
  "chains": [
    {
      "chain": "base",
      "chainId": 8453,
      "block": 53376881,
      "source": "base.drpc.org",
      "native": {
        "symbol": "ETH",
        "decimals": 18,
        "raw": "3128822813472737280",
        "amount": "3.12882281347273728"
      },
      "tokens": [
        {
          "symbol": "USDC",
          "contract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "decimals": 6,
          "raw": "79530472",
          "amount": "79.530472"
        },
        {
          "symbol": "USDT",
          "contract": "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2",
          "decimals": 6,
          "raw": "6768453",
          "amount": "6.768453"
        }
      ],
      "tokenErrors": [],
      "explorer": "https://basescan.org/address/0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
    }
  ],
  "errors": [],
  "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."
}

Free sample, no payment: /wallet/balance/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/evm-wallet-onchain, tool wallet_balance. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools