# AgentFund Cross-Chain Token Balance

> AgentFund Cross-Chain Token Balance is a paid API for AI agents from x402.agentfund.net, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Retrieves token balances for a given wallet address across multiple blockchains simultaneously

## Facts

- Endpoint: POST https://x402.agentfund.net/x402/onchain_cross_chain_balances
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfund-cross-chain-token-balance-0df269f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K3Kxk417aqL686t8orN0_

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 agentfund-cross-chain-token-balance-0df269f8 -d '<json body>'
```

Example prompt: Can you check how much USDC this wallet address 0xAbC123... holds across Ethereum, Base, and Arbitrum?

## When to prefer this

Choose this endpoint when you need to aggregate a single token's balance across multiple blockchains for one wallet address in a single call, rather than querying each chain's RPC individually. Ideal for DeFi dashboards, treasury management agents, and eligibility checks where cross-chain visibility matters. Prefer the sibling 'On-chain Portfolio (USD-valued)' endpoint if you want USD-valued multi-asset portfolio data instead of raw token balances.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Unsupported chain name in the chains array may be silently ignored or return an error
- Token symbol not recognized may default to USDC or return an error
- Network latency or RPC node issues may cause incomplete chain coverage
- Payment failure (HTTP 402) if USDC payment is not properly attached

## How this service works

Cross-chain Token Balance

## Output

Returns token balance data for the specified wallet address broken down by each requested chain, showing how much of the given token (e.g. USDC) is held on each blockchain network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "description": "Token symbol, default \"USDC\"."
  },
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Chains to include."
  },
  "address": {
   "type": "string",
   "description": "Wallet address."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": {
   "symbol": "USDC",
   "decimals": 6
  },
  "chains": [
   {
    "chain": "base",
    "failed": false,
    "balance": "1000",
    "chainId": 8453
   }
  ],
  "address": "0x0000000000000000000000000000000000000001",
  "totalBalance": "1234.56"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfund-cross-chain-token-balance-0df269f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentfund.net](https://www.zero.xyz/host/x402.agentfund.net/llms.txt)
