Skip to main content
Retrieve token balances held directly in a wallet address, excluding DeFi protocol positions. This endpoint shows only assets in the wallet’s custody across supported blockchains.
Cost: 1 credit per call
Interactive Playground: Test this endpoint in the API Playground. Get your API key at data.octav.fi

Endpoint

Parameters

addresses
string
required
EVM or Solana wallet address

Example


Response

Returns an array of portfolio objects containing only wallet holdings. The structure follows the same format as the Portfolio endpoint, but filtered to show only the wallet protocol.

Top-Level Fields

address
string
The wallet address
networth
string
Total value of all wallet holdings in USD
cashBalance
string
Cash balance in USD (typically “0” for wallet-only view)
closedPnl
string
Realized profit/loss (if available)
openPnl
string
Unrealized profit/loss (if available)
fees
string
Total transaction fees in wei
feesFiat
string
Total transaction fees in USD
lastUpdated
string
Last sync timestamp (milliseconds since epoch)
assetByProtocols
object
Assets organized by protocol - contains only the wallet key The wallet protocol contains:
  • name: “Wallet”
  • key: “wallet”
  • value: Total USD value
  • chains: Holdings organized by blockchain
chains
object
Chain-level summary of wallet holdings Each chain contains:
  • key: Chain identifier
  • name: Chain display name
  • value: Total value on this chain
  • chainId: Numeric chain ID
  • valuePercentile: Percentage of total portfolio

Asset Fields

Each token asset includes:
balance
string
Token balance (in token units)
symbol
string
Token symbol (e.g., “eth”, “uni”)
name
string
Token full name
value
string
USD value of holding
price
string
Current token price in USD
contract
string
Token contract address (0x000…000 for native tokens)
chainKey
string
Blockchain identifier (e.g., “ethereum”, “arbitrum”)
decimal
string
Token decimals

Example Response


Use Cases

Get all tokens in a wallet:

Comparison: Wallet vs Portfolio

Wallet Endpoint (/v1/wallet)
  • Returns only tokens in direct wallet custody
  • Shows the wallet protocol only
  • Excludes DeFi positions (lending, staking, liquidity pools)
  • Best for simple balance checks
Portfolio Endpoint (/v1/portfolio)
  • Returns complete portfolio including DeFi positions
  • Shows all protocols (wallet, lending, staking, etc.)
  • Includes positions on Aave, Uniswap, etc.
  • Best for comprehensive portfolio view
Example:
  • Wallet: Shows 1 ETH in your address
  • Portfolio: Shows 1 ETH + 2 ETH deposited in Aave + LP tokens in Uniswap
Use /v1/wallet when:
  • You only need basic token balances
  • Building a simple wallet balance viewer
  • Checking liquid/available assets
  • Monitoring tokens ready to transfer
Use /v1/portfolio when:
  • You need complete financial picture
  • Tracking DeFi positions
  • Calculating total net worth
  • Building portfolio analytics dashboard
Both endpoints return the same data structure:
  • Same top-level fields (address, networth, chains)
  • Same asset format (balance, value, price)
  • Same nested structure
The only difference:
  • Wallet: assetByProtocols contains only wallet key
  • Portfolio: assetByProtocols contains all protocols

Best Practices

Wallets can hold assets on multiple chains:
Native tokens (ETH, MATIC, etc.) have special contract address:
Filter out very small token amounts (dust):
Handle scientific notation in prices:

Common Patterns

Sum up token holdings across chains:
Get tokens sorted by USD value:
Find if wallet holds a specific token:

Portfolio

Complete portfolio including DeFi positions

Transactions

Transaction history for wallet

Token Overview

Detailed token breakdown (PRO)

Airdrop

Check claimable airdrops