Skip to main content
GET
/
v1
/
wallets
/
{address}
/
nft-portfolio
Get wallet NFT portfolio
curl --request GET \
  --url https://api.zerion.io/v1/wallets/{address}/nft-portfolio \
  --header 'Authorization: Basic <encoded-value>'
{
  "links": {
    "self": "https://api.zerion.io/v1/wallets/0x42b9df65b219b3dd36ff330a4dd8f327a6ada990/nft-portfolio/?currency=usd"
  },
  "data": {
    "type": "wallet_nft_portfolio",
    "id": "nft-portfolio-0x42b9df65b219b3dd36ff330a4dd8f327a6ada990",
    "attributes": {
      "positions_distribution_by_chain": {
        "arbitrum": 140.14877478334236,
        "aurora": 75.59585404617037,
        "avalanche": 54.39483513803602,
        "binance-smart-chain": 1439.98965199211,
        "ethereum": 1439.98965199211,
        "fantom": 104.5039957833603,
        "loopring": 0,
        "optimism": 55.111921042409875,
        "polygon": 37.55943746454931,
        "solana": 0,
        "xdai": 74.08441891963194
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-Env
enum<string>

Custom header that allows you to get data for testnets.

Available options:
testnet

Path Parameters

address
required

The web3 wallet address A wallet address, which can be either an EVM or Solana address

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

"0x42b9df65b219b3dd36ff330a4dd8f327a6ada990"

Query Parameters

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