- Solana and EVM. TopLedger is Solana-only. The same Octav
GET /v1/portfolioaccepts base58 Solana addresses and EVM addresses in the same shape. - Loose token holdings included. TopLedger’s
holdingsendpoint returns empty for most wallets. Octav returns your loose SOL/SPL tokens with per-asset detail (symbol,balance,price,value,contract). - Perps marked to market. TopLedger values perps at deposited collateral and returns
pnl_usdon the side. Octav folds unrealized PnL into net worth (collateral + PnL). - Per-asset detail, not aggregates. TopLedger returns aggregate category values. Octav returns each asset inside every position.
Get your API key at data.octav.fi. Base URL:
https://api.octav.fi/v1.Endpoint mapping
Authentication
TopLedger uses anx-api-key header. Octav uses a standard Authorization: Bearer token.
Wallet token balances
TopLedger’sholdings endpoint returns { holdings: [], holdings_count }, and in practice holdings is empty for most wallets, so loose SOL and SPL tokens go unreported. Octav returns them under the wallet protocol, grouped by chain, with per-asset detail:
Net worth and per-chain breakdown
TopLedger’stotal_net_worth_usd maps onto the top-level networth returned by the same portfolio call. Octav also breaks the total down per chain and includes loose token holdings and marked-to-market perps that TopLedger omits.
JavaScript
DeFi positions
TopLedger returns decoded positions as aggregate category values undercategories (lending, perpetuals, staking, rewards, and so on). Octav returns the same money under assetByProtocols, keyed by protocol, then chain, then position type (LENDING, MARGIN, STAKED, LIQUIDITYPOOL, FARMING, …), with each underlying asset itemized.
Transaction history
TopLedger has no wallet transaction endpoint. Octav addsGET /v1/transactions, covering Solana and EVM.
Key differences
- Chains. TopLedger is Solana-only. Octav covers Solana and EVM from the same endpoint and shape.
- Loose tokens. TopLedger’s
holdingsendpoint returns empty for most wallets. Octav returns loose SOL/SPL tokens with per-asset detail in thewalletbucket. - Granularity. TopLedger returns aggregate category values (
value_usd,token_count). Octav returns each asset (symbol,balance,price,value) inside every position. - Perps. TopLedger values perps at deposited collateral and reports
pnl_usdseparately. Octav marks perps to market (collateral + unrealized PnL) and includes them innetworth. - Shape. TopLedger groups by
categories→protocols[]. Octav groupsassetByProtocols→chains→protocolPositions→assets[], with a dedicatedwalletbucket for loose tokens. - Billing. TopLedger charges roughly $0.0004 per call. Octav charges 1 credit per call (see pricing).
- P&L. Octav adds
openPnl,closedPnl, andtotalCostBasisat no extra call.
Need help migrating?
Join our Discord
Share your TopLedger response shape and we’ll map it.
Portfolio endpoint
Full reference for the endpoint you’ll be calling.