Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Get NFT collections by wallet

GEThttps://deep-index.moralis.io/api/v2.2/:address/nft/collections

Get NFT collections owned by a given wallet address.

PATH PARAMS
addressstringrequired
The wallet address of the owner of NFTs in the collections
QUERY PARAMS
chainstring
The chain to query
limitnumber
The desired page size of the result.
token_countsboolean
Should token counts per collection be included in the response?
exclude_spamboolean
Should spam NFTs be excluded from the result?
cursorstring
The cursor returned in the previous response (used for getting the next page).
include_pricesboolean
Should NFT last sale prices be included in the result?
Responses
200Returns the NFT collections owned by a wallet
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326/nft/collections?chain=eth&limit=25' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"status": "SYNCING",
"page": "2",
"page_size": "100",
"cursor": "",
"result": {
"token_address": "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB",
"contract_type": "ERC721",
"name": "CryptoKitties",
"symbol": "RARI",
"possible_spam": "false",
"verified_collection": "false",
"count": 5,
"collection_logo": "https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png",
"collection_banner_image": "https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png"
}
}