Get wallet NFT positions
Changed onReturns the NFT positions held by 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) · Filtering and the 2000-character URL limit · Resource IDs
Request
- Base URLhttps://api.zerion.io
- URLhttps://api.zerion.io/v1/wallets/{address}/nft-positions/
- 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
Keep only positions from the specified chains (comma-separated list). Only chains reporting supports_nft_positions in the flags of GET /v1/chains/ are accepted here. Naming a chain that fails that gate returns 400 rather than an empty result, with detail reading chain <id> does not support NFT positions (for example chain bob does not support NFT positions). When the filter is omitted, chains that fail the gate are left out of data silently, with no error and no meta signal.
[ "ethereum", "polygon" ]
Keep only positions from these collection IDs (comma-separated list). The IDs are returned in the collection field of each NFT.
Sort order for the results.
Related resources to include in the response (comma-separated list), following the JSON:API include convention.
[ "nfts" ]
Denominated currency value of returned prices
Pagination parameters
Headers
Set to testnet to return testnet data instead of mainnet.
Response
Response for requested list of NFT positions.
Changes
- breaking
added the pattern
^0x[a-fA-F0-9]{40}$to thepathrequest parameteraddress - info
for the
pathrequest parameteraddress, the type was generalized from no type tostring
- breaking