Get Wallet NFTs - Wallet & Data API
Get Wallet NFTs - Returns list of wallet NFTS
Get Wallet NFTs - [Value: 3006CU]
Returns a list of NFTs owned by the specified wallet
GET https://lb.drpc.live/{chain}/{key}/lambda/v1/wallets/{address}/nfts
Use cases
- Display NFTs owned by a wallet
- Build NFT portfolio dashboards
Constraints
- Requires valid wallet address
- Only NFTs on supported chains are returned
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request GET \
--url https://lb.drpc.live/{chain}/{key}/lambda/v1/wallets/{address}/nfts \
--header 'accept: application/json'Response
200
{
"data": [
{
"type": "nft",
"id": "0xe7b9d5a2b01b23985356f521e0f5016eec201234:ethereum:0x9690b63eb85467be5267a3603f770589ab12dc95:15060",
"chain_id": "ethereum",
"chain_id_numeric": 1,
"chain_name": "Ethereum",
"amount": 1,
"price": 79.667354,
"value_usd": 79.667354,
"attributes": {
"token_id": "15060",
"contract_address": "0x9690b63eb85467be5267a3603f770589ab12dc95",
"name": "Leila Lacerator of the Rune Raiders",
"interface": "ERC721",
"image_url": "https://lh3.googleusercontent.com/1YGMrTrpMkI9Ch7ZvDxkGzCyuUznBESmWwmSuHxSZx3iqczOEi1MZE9lXrC-xYVrq5mFnu8y9WB5MZSbacKvcms-tXOtfg_-ow=s250",
"collection": {
"id": "2695",
"name": "Forgotten Runes Warriors Guild",
"description": "Forgotten Runes Warriors Guild\r\n\r\n[Sister Collections](https://opensea.io/collection/forgottenrunes)",
"icon_url": "https://lh3.googleusercontent.com/8uCBJ-m9No4zAPWuuvRz-2uxZ3uBt9HfYO0wUj_v-zLHvTAr9W2rpNGRRkTPyNfn8Q1HMvSvQEtlD22RVoWkn20E1_O-Mj9BBw",
"banner_url": "https://lh3.googleusercontent.com/kjbHmiQhpsYIPy5RFdST8XNYIwg-5WTtWUGavhfaF_lXEzrMKtC_-nrdUrUt9cuejuOMv-CW5klEzqDPivHD5o6L6hSKEhUn_k8=w2500"
}
}
},
{
"type": "nft",
"id": "0xe7b9d5a2b01b23985356f521e0f5016eec201234:polygon:0x98e62fe371519d1d07e6f5bfce04737d4dacabfd:1",
"chain_id": "polygon",
"chain_id_numeric": 137,
"chain_name": "Polygon",
"amount": 5,
"price": 6.660082750547,
"value_usd": 33.300413752735,
"attributes": {
"token_id": "1",
"contract_address": "0x98e62fe371519d1d07e6f5bfce04737d4dacabfd",
"name": "Holiday Lootbox (1st Edition)",
"interface": "ERC1155",
"image_url": "https://lh3.googleusercontent.com/1YGMrTrpMkI9Ch7ZvDxkGzCyuUznBESmWwmSuHxSZx3iqczOEi1MZE9lXrC-xYVrq5mFnu8y9WB5MZSbacKvcms-tXOtfg_-ow=s250",
"collection": {
"id": "308732",
"name": "NFT Worlds Items",
"description": "The official items collection for NFT Worlds. \r\n\r\nItems and lootboxes within this collection are exclusively created by the NFT Worlds team.",
"icon_url": "https://lh3.googleusercontent.com/cdYxiSmSB7iLLl8zMAX7PaTtq5NsAkJz2TFkn9aJATR8rjuCczf2JucdEyXmlLLDJxMxbSkLAAkfLSxR25mXaDoAF3QW3MORuOAN",
"banner_url": "https://lh3.googleusercontent.com/hUFM5Je9hUAuLHOuEJ6ake5sVoVe0mX8HyGA1uaSBQIza2l7Tc9DgqMm4nK6JfR47FV6RSZvN0QzMTZFt4TTzL2qH21F0hSrWA=w2500"
}
}
}
],
"next_page_token": "IjIi"
}Path params
chainstring
[Required] Chain name (e.g. ethereum, polygon)
keystring
[Required] Your dRPC API key
addressstring
[Required] Wallet address
Query params
chain_idsarray
IDs of chains (using Lambda API names) that support NFTs. Default: all supported chains. Max length: 19.
collection_idsarray
IDs of collections. Default: all collections.
with_meta_databoolean
Whether to include metadata enrichment. Default: false.
refresh_cacheboolean
Force-refresh metadata cache. Default: false.
page_tokenstring
Token to retrieve the next page.
limitinteger
[Required] ≤ 100. Number of NFTs to retrieve.
Request params
Response
200
Response params
object
dataarray
[Required] NFT data
object
typestring
[Required] Type of the entity
idstring
[Required] ID of the entity
chain_idstring
[Required] ID of the chain
chain_id_numericinteger
Numeric ID of the chain
chain_namestring
[Required] Name of the chain
amountnumber
[Required] Amount of tokens
pricenumber
Price of the token
value_usdnumber
Value of the token in USD
attributesobject
[Required] NFT details
object
token_idstring
[Required] ID of the token
contract_addressstring
[Required] NFT address
namestring
[Required] NFT name
interfacestring
[Required] NFT interface
image_urlstring
[Required] URL of image content, if any
preview_urlstring
[Required] URL of preview image content, if any
video_urlstring
[Required] URL of video content, if any
audio_urlstring
[Required] URL of audio content, if any
last_update_timestring
Time of the last NFT update
collectionobject
[Required] NFT collection info
object
idstring
[Required] NFT collection ID
namestring
[Required] NFT collection name
descriptionstring
[Required] NFT collection description
icon_urlstring
NFT collection icon URL, if any
banner_urlstring
NFT collection banner URL, if any
number_of_assetsinteger
Total number of NFTs in the collection, if known
number_of_ownersinteger
Number of unique owners in the collection, if known
marketplace_urlsarray
Marketplace URLs for the collection, if any
marketplace_urlsarray
Marketplace URLs for the NFT
traitsobject
NFT traits dictionary
owner_addressstring
Address of the NFT owner
creator_addressstring
Address of the NFT creator
spamobject
Spam classification result
raw_metadataobject
Raw metadata as returned by the NFT's tokenURI
next_page_tokenstring
Token to retrieve next page