Skip to main content
A drop-in mapping from the DeBank Cloud (Pro OpenAPI) to Octav. The biggest wins:
  • One call instead of three. DeBank splits a portfolio across all_token_list, all_complex_protocol_list, and total_balance. Octav returns wallet tokens, DeFi positions, and net worth from a single GET /v1/portfolio.
  • Solana included. DeBank is EVM-only. The same Octav endpoint accepts base58 Solana addresses.
  • USD values precomputed. DeBank gives you amount and price; you multiply. Octav returns value (and price) on every asset.
  • P&L and cost basis come back in the same response.
Get your API key at data.octav.fi. Base URL: https://api.octav.fi/v1.

Endpoint mapping

Everything except history comes from a single GET /v1/portfolio call. There is no separate token / protocol / balance request to merge.

Authentication

DeBank uses an AccessKey header. Octav uses a standard Authorization: Bearer token.

Wallet token balances

DeBank’s all_token_list returns a flat array of tokens. In Octav, wallet tokens live under the wallet protocol, grouped by chain:
Field mapping

Net worth and per-chain breakdown

DeBank’s total_balance maps directly onto the top-level networth and chains fields returned by the same portfolio call.
JavaScript

DeFi positions

DeBank returns decoded positions under all_complex_protocol_list[].portfolio_item_list[]. Octav returns the same money under assetByProtocols, keyed by protocol, then chain, then position type (LENDING, LIQUIDITYPOOL, STAKED, FARMING, …).
Field mapping
DeBank’s off-chain “apps” (complex_app_list) — Hyperliquid, Lighter, prediction markets — are folded into the same assetByProtocols map in Octav, so you don’t call a second endpoint for them.

Transaction history

Swap history_list for GET /v1/transactions.
Octav categorizes each transaction (swap, deposit, stake, bridge, …) and prices transfers in USD. See the transaction types reference.

Key differences

  • Calls per portfolio. DeBank: all_token_list + all_complex_protocol_list + complex_app_list + total_balance. Octav: one GET /v1/portfolio.
  • Chains. DeBank is EVM-only. Octav covers EVM and Solana from the same endpoint and shape.
  • Values. DeBank returns amount + price; Octav also returns value. No client-side multiplication.
  • Grouping. DeBank groups by protocol → portfolio_item_list. Octav groups assetByProtocolschainsprotocolPositionsassets[], with a dedicated wallet bucket for loose tokens.
  • Billing. DeBank uses prepaid units. Octav charges 1 credit per call (see pricing).
  • P&L. Octav adds openPnl, closedPnl, and totalCostBasis at no extra call.
  • NFTs. Octav’s /portfolio focuses on fungible assets and DeFi positions; it does not enumerate NFTs the way DeBank’s all_nft_list does.

Need help migrating?

Join our Discord

Share your DeBank response shape and we’ll map it.

Portfolio endpoint

Full reference for the endpoint you’ll be calling.