Skip to main content
GET
Get wallet portfolio

Authorizations

Authorization
string
header
required

To test endpoints here, paste your API key from the dashboard into the username field and leave the password empty.

Path Parameters

address
required

The web3 wallet address. Must be a valid EVM or Solana address. Returns 400 if the address is not tracked by Zerion. A wallet address, which can be either an EVM or Solana address

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"

Query Parameters

filter[positions]
enum<string>
default:only_simple

This parameter allows to customize the aggregation of DeFi positions within a portfolio based on their types. The aggregation can include:

  • only_simple: Only includes wallet-type positions, which are basic, non-protocol related assets. This is the default selection if the parameter is not specified.
  • only_complex: Aggregates positions associated with DeFi protocols only (e.g., staked assets, liquidity pools), like Uniswap or Aave, excluding simple wallet positions.
  • no_filter: Provides an aggregated view of both protocol-related and simple wallet positions without any filtering.

The selection of filters affects the composition of the aggregated portfolio results, allowing for tailored analysis and reporting based on the types of positions of interest.

⚠️ Note: Enterprise usage of this API may be subject to different pricing models depending on the selected filter type. For detailed pricing information, please contact api@zerion.io.

Available options:
only_simple,
only_complex,
no_filter
currency
enum<string>
default:usd

Denominated currency value of returned prices

Available options:
eth,
btc,
usd,
eur,
krw,
rub,
gbp,
aud,
cad,
inr,
jpy,
nzd,
try,
zar,
cny,
chf

Response

Response for requested wallet's portfolio

data
object
required