# Zerion API - Wallet Portfolio

> Zerion API - Wallet Portfolio is a paid API for AI agents from api.zerion.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-30).

Returns the total USD portfolio value and asset breakdown for a given EVM or Solana wallet address across 40+ chains.

## Facts

- Endpoint: GET https://api.zerion.io/v1/wallets/%7Baddress%7D/portfolio?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zerion-api-wallet-portfolio-93d0692b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d-1CAcXy6-0r5817FeMyd

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 zerion-api-wallet-portfolio-93d0692b
```

Example prompt: What's the total portfolio value of the wallet 0x1234...abcd across all chains using Zerion?

## When to prefer this

Use this endpoint when you need a fast, single-call aggregated USD portfolio value for any EVM or Solana wallet across 40+ chains without managing multi-chain RPC connections yourself. Prefer it over building your own aggregation when you need DeFi positions and NFTs factored into net worth. The x402 pay-per-call model makes it ideal for agent workflows that only need occasional lookups without a subscription.

## Known failure modes

- Invalid or malformed wallet address returns a 400 error
- Unsupported chain or address format not recognized
- Payment not included or insufficient for x402 pay-per-call results in 402 Payment Required
- Rate limiting or quota exceeded returns 429
- Wallet address with no on-chain activity may return a zero-value portfolio
- Network timeout for chains with slow RPC responses

## How this service works

Interpreted wallet data for more than 40 chains and Solana: portfolios, DeFi positions, PnL, transactions and NFTs. REST for apps, x402 pay-per-call for agents.

## Output

A JSON object containing the wallet's aggregated portfolio data, including total value in USD, the resource type ('wallet-portfolio'), and a resource ID. The attributes object holds a 'total' field with a numeric value and currency string. Additional self and pagination links may be 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Wallet address (EVM 0x or Solana base58)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "id": {
         "type": "string",
         "description": "Resource ID."
        },
        "type": {
         "type": "string",
         "description": "Resource type."
        },
        "attributes": {
         "type": "object",
         "description": "Resource attributes; see https://developers.zerion.io"
        }
       }
      },
      "links": {
       "type": "object",
       "description": "Self and pagination links."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "type": "wallet-portfolio",
   "attributes": {
    "total": {
     "value": 1234.56,
     "currency": "usd"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zerion-api-wallet-portfolio-93d0692b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zerion.io](https://www.zero.xyz/host/api.zerion.io/llms.txt)
