# Plainchain Wallet Balances API

> Plainchain Wallet Balances API is a paid API for AI agents from plainchain.appin60.com, paid per call via x402, $0.001942/call, status unknown (last checked 2026-10-14).

Returns native ETH and ERC-20 token balances (with USD values) for a given wallet address on Base, Arbitrum, Ethereum, or Optimism

## Facts

- Endpoint: GET https://plainchain.appin60.com/v1/balances?utm_source=zero.xyz
- Price: $0.001942/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/plainchain-wallet-balances-api-34ef976a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tf-IMpZ8jOFeAw2gyB5Lq

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 plainchain-wallet-balances-api-34ef976a
```

Example prompt: What's the current ETH and USDC balance for wallet 0xAbC1234...5678 on Base, and what's the total USD value?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call (no API key) multi-token balance snapshot for a wallet on Base, Arbitrum, Ethereum, or Optimism with USD values included. Prefer it over free RPCs when you need USD-denominated totals without doing your own price lookups, and when operating in an x402-compatible agent that can pay micro-amounts in USDC on Base.

## Known failure modes

- Invalid or malformed wallet address (must match 0x + 40 hex chars) returns an error
- Unsupported chain identifier returns an error
- Invalid extra token address in 'tokens' parameter causes lookup failure
- Insufficient USDC payment via x402 results in 402 Payment Required response
- Network/RPC issues on the target chain may cause timeouts or partial data

## How this service works

Gas, balances, token data, address type, approvals, transaction decoding, x402 receipt verification and verifiable randomness on Base, Arbitrum, Ethereum and Optimism. No API key: pay $0.001-$0.01 per call in USDC on Base via x402.

## Output

A JSON object containing the chain name, native ETH balance with symbol and USD value, an array of ERC-20 token balances each with token address, symbol, balance, and USD value, the queried address, and a totalUsd figure summing all holdings.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), arbitrum, ethereum or optimism; chain ids 8453, 42161, 1, 10 also work"
      },
      "tokens": {
       "type": "string",
       "description": "optional comma-separated extra ERC-20 addresses"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "wallet address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Base",
  "native": {
   "usd": 31.08,
   "symbol": "ETH",
   "balance": "0.0123"
  },
  "tokens": [
   {
    "usd": 152.4,
    "token": "0x8335...",
    "symbol": "USDC",
    "balance": "152.4"
   }
  ],
  "address": "0x...",
  "totalUsd": 183.48
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/plainchain-wallet-balances-api-34ef976a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from plainchain.appin60.com](https://www.zero.xyz/host/plainchain.appin60.com/llms.txt)
