# x402 Agent Hub: Multi-Chain EVM Portfolio Balance Lookup

> x402 Agent Hub: Multi-Chain EVM Portfolio Balance Lookup is a paid API for AI agents from x402-agent-hub.x402-agent-hub.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-14).

Returns native coin, USDC, and USDT balances for an EVM address across up to 7 chains (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche) plus a total stablecoin USD figure in a single call.

## Facts

- Endpoint: GET https://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/portfolio?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-hub-multi-chain-evm-portfolio-balance-lookup-a8cce6d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rlik4I18QL62BySleC24O

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 x402-agent-hub-multi-chain-evm-portfolio-balance-lookup-a8cce6d3
```

Example prompt: What are the ETH, USDC, and USDT balances for wallet 0x1721E9841257A34DbDBA407D4DBA3a727a02d072 across Base, Ethereum, and Arbitrum? I just need a quick portfolio snapshot including the total stablecoin value.

## When to prefer this

Choose this endpoint when you need a single-call multi-chain EVM balance aggregation rather than making 21 separate RPC calls yourself. It is ideal for portfolio dashboards, pre-transaction liquidity checks, treasury audits, or any agent workflow that needs native + stablecoin balances across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and Avalanche simultaneously. It is not suited for ERC-20 tokens other than USDC/USDT, historical balance lookups, or non-EVM chains.

## Known failure modes

- Invalid or malformed 0x address returns an error without settlement charge
- RPC failure on one or more chains lists those in chainsFailed but returns data for successful chains
- Requesting an unsupported chain name in the 'chains' parameter may be ignored or cause partial results
- Network timeout on all chains could result in empty balances array with all chains in chainsFailed
- Upstream RPC degradation may return stale or incomplete balance data

## How this service works

One call returns an address's native coin, USDC and USDT balances on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC and Avalanche (or a 'chains' subset), plus a total stablecoin USD figure, instead of 21 separate reads. Chains whose RPC fails are listed in chainsFailed. You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement.

## Output

A JSON object containing the queried address, an array of per-chain balance objects (each with native coin raw/formatted amount, symbol, decimals, and stablecoin entries for USDC/USDT), a totals object with combined stablecoinUsd, a list of chains successfully queried, and a chainsFailed array listing any chains whose RPC was unreachable.

## 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": {
      "chains": {
       "type": "string",
       "description": "Optional comma-separated subset, e.g. base,arbitrum. Defaults to all 7 chains."
      },
      "address": {
       "type": "string",
       "description": "0x-prefixed wallet or contract address."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "totals": {
   "stablecoinUsd": 12.5
  },
  "address": "0x1721E9841257A34DbDBA407D4DBA3a727a02d072",
  "balances": [
   {
    "chain": "base",
    "native": {
     "raw": "1250000000000000",
     "symbol": "ETH",
     "decimals": 18,
     "formatted": "0.00125"
    },
    "chainId": 8453,
    "stablecoins": [
     {
      "raw": "12500000",
      "symbol": "USDC",
      "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "decimals": 6,
      "formatted": "12.5"
     }
    ]
   }
  ],
  "chainsFailed": [],
  "chainsQueried": [
   "base",
   "ethereum",
   "arbitrum"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-hub-multi-chain-evm-portfolio-balance-lookup-a8cce6d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-hub.x402-agent-hub.workers.dev](https://www.zero.xyz/host/x402-agent-hub.x402-agent-hub.workers.dev/llms.txt)
