Wallet API
NFT
Get NFT Collections

Get NFT Collections - Wallet & Data API

Get NFT Collections - Returns a grouped view of NFT collections owned by the wallet.

Get NFT Collections - [Value: 1837CU]
Returns NFT collections owned by the specified wallet
GET https://lb.drpc.live/{chain}/{key}/lambda/v1/wallets/{address}/nft-collections
Use cases

Use cases

  • Display NFT collections owned by a wallet
  • Group NFTs by collection for portfolio views
Constraints

Constraints

  • Requires valid wallet address
  • Only collections on supported chains are returned
Get started
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}/nft-collections \
  --header 'accept: application/json'
Copy
Response
200
{
  "data": [
    {
      "type": "nft_collections",
      "id": "0xe7b9d5a2b01b23985356f521e0f5016eec201234:78095",
      "collection_id": "78095",
      "chains": [
        {
          "chain_id": "ethereum",
          "chain_id_numeric": 1,
          "chain_name": "Ethereum"
        }
      ],
      "attributes": {
        "name": "Forgotten Runes Wizards Cult",
        "description": "The Forgotten Runes Wizard's Cult is a collaborative legendarium. 10,000 unique Wizard NFTs, fully encoded on-chain. \r\n\r\n[Website](http://forgottenrunes.com) | [Discord](https://discord.gg/forgottenrunes) | [Twitter](https://twitter.com/forgottenrunes) | [Book of Lore](https://www.forgottenrunes.com/lore) | [Principles](https://www.forgottenrunes.com/posts/principles) | [Goodies](https://www.forgottenrunes.com/posts/goodies)\r\n\r\n[All Sister Collections](https://opensea.io/collection/forgottenrunes):\r\n\r\n[Sacred Flame](https://opensea.io/assets/0x31158181b4b91a423bfdc758fc3bf8735711f9c5/0) | [Forgotten Souls](https://opensea.io/collection/forgottensouls) | [Forgotten Ponies](https://opensea.io/collection/forgottenrunesponies)\r\n\r\nWizard NFT holders have not only the _image_, but the _character_ of that Wizard. Day by day, the Wizards in our collection come alive as our community builds lore, maps, stories, poems, art, and animation.\r\n\r\nJoin the Cult",
        "number_of_assets": 2,
        "total_floor_price": 2302.322682,
        "icon_url": "https://lh3.googleusercontent.com/CeU1eMzjrYMG1CgdODpR8o6Av8aXUrUo3AayfZhWb-WKRCMTmg4EfHo1_fQ1lYOZBmvw9SpZB_8MdyZjkQfvTBmdJC9BLi_QHA",
        "banner_url": "https://lh3.googleusercontent.com/saANtWqFOM1vMCWN5tDoDIqyUeB35Rp21I2za0q_zXIiNL1SifGbZC-gWLD3ZvEmrXV8e6fsxW0oEXM67BRzzd-a_8-MTeoE8NKU=w2500"
      }
    },
    {
      "type": "nft_collections",
      "id": "0xe7b9d5a2b01b23985356f521e0f5016eec201234:325315",
      "collection_id": "325315",
      "chains": [
        {
          "chain_id": "ethereum",
          "chain_id_numeric": 1,
          "chain_name": "Ethereum"
        }
      ],
      "attributes": {
        "name": "Loot (for Adventurers)",
        "description": "Loot is randomized adventurer gear generated and stored on chain. Stats, images, and other functionality are intentionally omitted for others to interpret. Feel free to use Loot in any way you want.",
        "number_of_assets": 1,
        "total_floor_price": 318.640146,
        "icon_url": "https://lh3.googleusercontent.com/FhUGCaGIf0M44m-APikvSyXfcG4Ej-oQxv_KTbPccf-C6vbK0Ql9zkT8RQDflag97LpIedCqrh73J555KMkB_ZEywSGi5YuFFg",
        "banner_url": "https://lh3.googleusercontent.com/-cU6Juj7ohNXxk5DQLzojqrzvZMSNq0L60OQOhUz0_4Xktiw4PxcWqgurtn8BZ-HMFtuAqMnZ20XzoLUwUk9ZYD-RrUHNbhqThE=w2500"
      }
    }
  ]
}
Copy

Path params

Parameters
chainstring
[Required] Chain name (e.g. ethereum, polygon)
keystring
[Required] Your dRPC API key
addressstring
[Required] Wallet address

Query params

Parameters
chain_idsstring
IDs of chains that support NFTs. Default: all supported chains.

Request params

ParametersThis method does not accept any parameters.

Response

200

Response params

object
dataarray
[Required] NFT collection data
object
typestring
[Required] Type of the entity
idstring
[Required] ID of the entity
collection_idstring
[Required] ID of the collection
chainsarray
[Required] NFT collection chains
object
chain_idstring
[Required] ID of the chain in Lambda API
chain_id_numericinteger
Numeric ID of the chain
chain_namestring
[Required] Name of the chain
attributesobject
[Required] NFT collection attributes
object
namestring
[Required] NFT collection name
descriptionstring
[Required] NFT collection description
number_of_assetsinteger
Total number of NFTs in the collection
number_of_ownersinteger
Number of unique owners in the collection
total_floor_pricenumber
Total floor price of the collection
icon_urlstring
NFT collection icon URL
banner_urlstring
NFT collection banner URL