- Keep your token balances, gain DeFi. Sim’s DeFi Positions API was sunset (it returns HTTP 410), so a DeFi wallet reads as just its loose tokens. Octav returns the same wallet tokens and the decoded DeFi positions Sim can no longer provide (lending, LP, staking, perps) from a single
GET /v1/portfolio. - Solana included. Sim’s balances are EVM-only. The same Octav endpoint accepts base58 Solana addresses, including Solana DeFi.
- Human-readable balances. Sim returns a raw on-chain
amountyou divide by10^decimals. Octav returnsbalancealready scaled. - USD values precomputed. Octav returns
valueon every asset, plusnetworthfor the whole portfolio, so you never sumvalue_usdyourself.
Get your API key at data.octav.fi. Base URL:
https://api.octav.fi/v1.Endpoint mapping
Authentication
Sim uses anX-Sim-Api-Key header. Octav uses a standard Authorization: Bearer token.
Wallet token balances
Sim’sevm/balances returns a flat balances[] array. In Octav, wallet tokens live under the wallet protocol, grouped by chain:
Net worth and per-chain breakdown
Sim has no net-worth endpoint — you would sumvalue_usd across the balances[] array yourself. Octav returns networth and a per-chain breakdown directly on the same portfolio call.
JavaScript
DeFi positions
Sim’s DeFi Positions API was sunset and now returns HTTP 410, so there is nothing to map here — a DeFi wallet on Sim shows up as only its loose tokens. This is net-new capability from Octav: the same portfolio call decodes positions underassetByProtocols, keyed by protocol, then chain, then position type (LENDING, LIQUIDITYPOOL, STAKED, FARMING, …).
Transaction history
Swap Sim’sevm/transactions and evm/activity for GET /v1/transactions.
Key differences
- Scope. Sim is token balances only; its DeFi Positions API is sunset (HTTP 410). Octav returns wallet tokens and decoded DeFi positions from one
GET /v1/portfolio. - Chains. Sim’s balances are EVM-only. Octav covers EVM and Solana from the same endpoint and shape, including Solana DeFi.
- Balances. Sim returns a raw
amountyou divide by10^decimals. Octav returnsbalancealready human-readable. - Values. Sim returns
value_usdper token but no portfolio total. Octav also returnsnetworthand a per-chain breakdown, so you never sum values yourself. - Grouping. Sim returns a flat
balances[]array. Octav groupsassetByProtocols→chains→protocolPositions→assets[], with a dedicatedwalletbucket for loose tokens. - Billing. Sim’s free tier is winding down. 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 Sim response shape and we’ll map it.
Portfolio endpoint
Full reference for the endpoint you’ll be calling.