V2 Integrator API
Get Portfolio Positions
Returns real-time per-asset token balances and USD values for a portfolio.
GET
Returns the portfolio’s live positions — per-asset balances, unit prices,
and USD values — plus an aggregate
Common error responses:
totalValueUsd. During an open bridge,
totalValueUsd includes the inTransit.totalUsd component so portfolio value
does not dip while funds move between chains; use inTransit.items[] to
reconcile the component that is not yet represented as a settled destination
asset row. Responses are cached for up to 30 seconds, so rapid polling from a
single caller is cheap. For schedule state (nextDueAt, lastRebalanceAt,
status), strategy metadata, and smart account addresses without live
balances, use GET /v2/portfolios/{portfolioId} instead.
One shape, every asset class. The assets[] array uses the same row
shape (assetId, symbol, decimals, balance, balanceRaw,
priceUsd, valueUsd) for ERC-20 tokens, SPL tokens, and tokenized
real-world assets (equities, treasuries) when the underlying allocation
includes them. Symbol, decimals, and price come from Glider’s upstream
data providers and are passed through unchanged.
- Auth:
x-api-keyheader (required) - Scope:
portfolios:read
200 with whatever loaded and a structured warnings[] array describing the
gap. A full failure returns totalValueUsd: "0", assets: [], and populated
warnings — never a 5xx for transient issues.
Multi-chain by construction. Every asset entry carries a full CAIP-19
assetId and a CAIP-10 smartAccountId, so EVM and non-EVM holdings share
one wire shape.
Portfolio identifier returned by
POST /v2/enroll or GET /v2/portfolios.400when the path parameter is invalid401whenx-api-keyheader is missing or the key is invalid403when the API key lacks theportfolios:readscope404when the portfolio does not exist or does not belong to the tenant500on unexpected server errors
warnings[]):
MISSING_SMART_ACCOUNT— no smart account is known for the requested chainRPC_ERROR— chain RPC timed out or erroredMISSING_PRICE— no USD price found for an assetBLOCKLISTED_ASSET— asset is blocked and was skippedMISSING_ASSET— asset metadata is unavailableIN_TRANSIT_READ_FAILED— bridge in-transit value could not be read