# ChainVerdict Base Portfolio Balances

> ChainVerdict Base Portfolio Balances is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-12).

Fetches native ETH and all ERC-20 token balances for a given Base address in a single call, read live from the blockchain at a specified block height.

## Facts

- Endpoint: GET https://chainverdict.xyz/v1/data/portfolio/%3Aaddr?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainverdict-base-portfolio-balances-18633604
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vmi1EBTGBxQJxZsuzv4mK

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 chainverdict-base-portfolio-balances-18633604
```

Example prompt: What are the current ETH and ERC-20 token balances for the Base address 0x1234...abcd? I want a full portfolio snapshot read live from chain.

## When to prefer this

Use this endpoint when you need a single-call, live on-chain portfolio view combining both native ETH and all ERC-20 token balances for a Base address. Prefer it over separate per-token balance calls when you want a comprehensive holdings snapshot without multiple round trips. Ideal for pre-payment checks, treasury monitoring, or DeFi portfolio analysis on the Base network.

## Known failure modes

- Invalid or malformed Base address returns a 4xx error
- Address with no holdings may return zero balances for all assets
- Unpaid request returns HTTP 402 with x402 payment requirements
- Network congestion or RPC issues may cause timeouts or stale reads
- Very new addresses not yet indexed may return empty results

## How this service works

Native ETH and ERC-20 token balances for a Base address in one call, read live from chain at a stated block height.

## Output

Returns the native ETH balance plus all ERC-20 token balances held by the specified Base address, read live from the blockchain at a stated block height. Includes token symbols, amounts with decimals applied, and the block at which the snapshot was taken.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "addr"
     ],
     "properties": {
      "addr": {
       "type": "string",
       "description": "Base address to read balances for"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainverdict-base-portfolio-balances-18633604/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainverdict.xyz](https://www.zero.xyz/host/chainverdict.xyz/llms.txt)
