Get wallet NFT portfolio
Returns the NFT portfolio overview of a wallet.
First request for a new wallet. If the address has not been indexed before, this endpoint returns a 202 while the data is being prepared. Poll until you get a 200, and give up after about two minutes: past that, a 202 almost always means something went wrong rather than that the wallet is still loading.
See also: Testnets (X-Env: testnet)
Request
- Base URLhttps://api.zerion.io
- URLhttps://api.zerion.io/v1/wallets/{address}/nft-portfolio
- AuthHTTP basic
Path parameters
Ethereum-compatible address (EVM).
The web3 wallet address. Must be a valid EVM address. Returns 400 if the address is not one Zerion tracks, such as a token contract, router or exchange hot wallet. Smart-contract wallets like Safe and ERC-4337 accounts are tracked as normal.
Query parameters
Denominated currency value of returned prices
Headers
Set to testnet to return testnet data instead of mainnet.
Response
Response for requested wallet's portfolio
Example response
{
"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,
"optimism": 55.111921042409875,
"polygon": 37.55943746454931,
"xdai": 74.08441891963194
}
}
}
}