Portfolio
Get Folio
Get a sub-account’s portfolio (balances and positions)
GET
Get Folio
Get Folio
Returns the sub-account’s portfolio, including wallet balances and DeFi positions across all networks.Request
Path parameters
| Parameter | Type | Description |
|---|---|---|
account_id | string | The sub-account ID |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
cached | boolean | false | If true, return the most recent cached folio instead of computing a fresh one. Faster but may be slightly stale. |
Examples
Response
A fresh folio requires reading on-chain state across multiple networks. This can take 10-30 seconds. Use
cached=true when you need a fast response and can tolerate slightly stale data.Errors
| Status | Code | Description |
|---|---|---|
| 404 | account_not_found | Account doesn’t exist |
| 408 | timeout | Folio computation timed out (try cached=true) |
Get Folio