Query details
- Either
walletorwalletsmust be provided. - Values are passed as strings (
"true","false").
| Parameter | Required | Description |
|---|---|---|
wallet | Cond. | Single wallet address to query. |
wallets | Cond. | Comma-separated wallet addresses to query in aggregate. |
blockchains | Cond. | Comma-separated list of chains (e.g., ethereum,base). By default, only premium chains are queried (see list below). For optimal performance and fastest response times, we strongly recommend specifying only the blockchains you need. To query all chains, use fetchAllChains=true. |
asset | Cond. | Filter the net worth history to a specific asset (symbol or contract address) for the given wallet(s). |
cache | Cond. | "true" to allow returning cached results (faster responses). |
stale | Cond. | Number of seconds to allow cached data before refreshing. Example: 3600 = 1 hour. |
from | Cond. | Start of the historical window (Unix ms timestamp or ISO 8601). |
to | Cond. | End of the historical window (Unix ms timestamp or ISO 8601). |
unlistedAssets | Cond. | "true" to include unlisted or non-indexed assets in the calculation. |
period | Cond. | Supported values: 5min, 15min, 1h, 6h, 1d, 7d. Defines aggregation granularity. |
accuracy | Cond. | By default, to optimize response time, we will skip analyzing assets that make < 1% of the total net worth. You can set this to true` to analyze all assets. |
testnet | Cond. | "true" to include testnet data. |
minliq | Cond. | Minimum liquidity threshold in USD (default: 1000). Assets below are excluded. |
filterSpam | Cond. | "true" to remove spam or low-quality assets from results. |
fetchUntrackedHistory | Cond. | "true" to fetch historical prices for untracked assets. |
fetchAllChains | Cond. | "true" to query all supported chains, including those without premium RPCs. By default, only premium chains are queried. |
pnl | Cond. | Include real-time realized and unrealized data with pnl_history for 1y and 1m ranges. |
Premium Chains (Default)
By default, the API queries only chains with premium RPCs for optimal performance and reliability. These chains are:ethereum(Ethereum Mainnet)base(Base)arbitrum(Arbitrum One)polygon(Polygon PoS)avalanche(Avalanche C-Chain)bnb(BNB Smart Chain)optimism(Optimism)sonic(Sonic)
blockchains parameter (e.g., blockchains=ethereum,base). This reduces latency and improves query efficiency.
To query all supported chains (including non-premium ones), use fetchAllChains=true.
Usage Examples
- Query multiple wallets with a chain filter
- Query portfolio with PnL over the last 30 days
- Query a portfolio using cached data with stale tolerance
- Query Portfolio — All Chains, ≥ $10,000 Liquidity, Maximum Accuracy