Get Wallet Portfolio (Zerion)
Retrieve a portfolio overview for any wallet address via Zerion API. Returns total value, distribution by chain and position type (wallet, staked, deposited, borrowed), and 24h changes. Supports multiple currency denominations. Ideal for: portfolio snapshots, wallet value monitoring, cross-chain portfolio breakdowns.
Catalog action Blockchain Data
Retrieve a portfolio overview for any wallet address via Zerion API. Returns total value, distribution by chain and position type (wallet, staked, deposited, borrowed), and 24h changes. Supports multiple currency denominations. Ideal for: portfolio snapshots, wallet value monitoring, cross-chain portfolio breakdowns.
At a Glance
| Field | Value |
|---|---|
| Action ID | zerion-get-wallet-portfolio |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | zerion, blockchain, wallet, portfolio, multi-chain, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
address | string | Yes | The wallet address to query portfolio for. Supports EVM (0x...) and Solana formats. Example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7 |
positions | string | No | Filter by position type. 'only_simple' returns basic token balances, 'only_complex' returns DeFi positions, 'no_filter' returns all. Default: only_simple |
currency | string | No | Currency to denominate values in. Default: usd |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
address | string | Yes | The wallet address that was queried |
totalValue | number | Yes | Total value of all positions in the requested currency |
distributionByType | array | Yes | Breakdown of positions by type (wallet, deposited, borrowed, locked, staked) |
distributionByChain | array | Yes | Breakdown of positions by blockchain |
changes | object | Yes | 24-hour portfolio changes |
Examples
json{ "type": "zerion-get-wallet-portfolio", "payload": { "address": "0x0000000000000000000000000000000000000000" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/zerion-get-wallet-portfolio/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "address": "0x0000000000000000000000000000000000000000" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
