Skip to main content
The Portfolio API gives you a real-time snapshot of every token you hold across your connected wallets. Use it to retrieve current balances, USD values, and profit-and-loss figures by network, or pull historical portfolio data to track how your holdings have changed over time.

GET /portfolio

Retrieve all current token holdings across your connected wallets. Results include per-token amounts, USD values, and PnL percentages. Required scope: read

Query Parameters

string
Filter holdings by blockchain network. Accepted values: solana, ethereum, base, arbitrum. Omit to return holdings from all connected networks.
string
default:"USD"
The fiat currency used for value calculations. Defaults to USD.

Example Request

Example Response

Response Fields

boolean
true when the request completes without errors.
object
The portfolio payload.
string
ISO 8601 UTC timestamp indicating when the data was fetched.

GET /portfolio/history

Retrieve the historical total value of your portfolio over a given period. Use this endpoint to power charts, calculate returns over time, or feed your own analytics pipeline. Required scope: read

Query Parameters

string
required
The lookback window for the history. Accepted values: 1d, 7d, 30d, 90d, 1y.
string
The granularity of each data point. Accepted values: hourly, daily. Defaults to daily for periods longer than 7d and hourly for 1d.

Example Request

Example Response

Response Fields

string
The requested lookback window.
string
The granularity used for each data point in dataPoints.
string
The currency used for all value fields.
number
Portfolio value at the start of the requested period.
number
Portfolio value at the end of the requested period (most recent snapshot).
number
Percentage change between startValue and endValue.
array
Ordered list of value snapshots for the requested period and interval.
Use interval=hourly with period=1d to get an intraday chart suitable for a 24-hour performance view on a dashboard.