# PayAI Wallet Balances

> PayAI Wallet Balances is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns native-coin and ERC-20 token balances (raw and human-readable) for any wallet address on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB Chain

## Facts

- Endpoint: GET https://payai.agentstools.dev/wallet/balances
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-wallet-balances-e199329a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5z_Ok0i0gulqRcHWDx-RP

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 payai-wallet-balances-e199329a
```

Example prompt: What are the ETH and USDC balances for wallet 0xAbCd...1234 on Base, and can you show me the USD values too?

## When to prefer this

Use this endpoint when you need current on-chain token or native coin balances for a specific EVM wallet address, especially on Base (where token symbols and USD valuations are supported natively). Prefer this over generic blockchain explorers when you need structured, machine-readable balance data with human-readable amounts ready for downstream processing.

## Known failure modes

- Invalid wallet address format returns an error
- Unsupported network name returns a validation error
- Passing token symbols instead of 0x addresses on non-Base networks may fail or return incomplete results
- More than 25 tokens requested at once may be rejected
- Tokens not found or with no liquidity may have missing or null USD values
- Network RPC downtime may cause timeout or partial results

## How this service works

Native-coin balance + ERC-20 token balances (raw + human) for any address on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base). On Base pass token symbols or 0x addresses (or a default common set); on other networks pass explicit 0x token addresses.

## Output

Returns a structured object containing native coin balance and a list of ERC-20 token balances, each with raw on-chain amounts and human-readable decimal values; on Base, optional best-effort USD valuations are included.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "usd": {
       "type": "boolean",
       "description": "Add best-effort USD values (Base only)"
      },
      "tokens": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Base: token symbols or 0x addresses (default common set, max 25). Other networks: explicit 0x addresses only"
      },
      "address": {
       "type": "string",
       "description": "Wallet address (0x..)"
      },
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon",
        "bnb"
       ],
       "type": "string",
       "description": "EVM network to read from (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-wallet-balances-e199329a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
