# ChainVerdict Portfolio Balance Lookup

> ChainVerdict Portfolio Balance Lookup is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: GET https://chainverdict.xyz/v1/data/portfolio/:addr
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainverdict-portfolio-balance-lookup-400efadf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UNnyJqz4yZSBCgzxurmHY

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-portfolio-balance-lookup-400efadf
```

Example prompt: What are all the ETH and ERC-20 token balances currently held by the Base address 0x1234abcd... — pull it live from chain right now.

## When to prefer this

Choose this endpoint when you need a combined snapshot of both native ETH and ERC-20 balances for a Base address in a single API call, avoiding the need to make separate requests per token. Ideal for portfolio views, pre-transfer checks, and agent workflows that need to reason about a wallet's full holdings on Base at a specific block.

## Known failure modes

- Invalid or malformed Base address returns an error or empty result
- Address with no token holdings returns zero balances
- Network or RPC unavailability may cause timeout or 503
- Querying at a very old block height may not be supported
- Rate limiting if called excessively beyond the per-call pricing model

## 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 a structured response containing the native ETH balance and a list of ERC-20 token balances held by the specified Base address, read live from the blockchain at a stated block height. Each entry typically includes token symbol, contract address, and balance with decimals applied.

## 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-portfolio-balance-lookup-400efadf/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)
