Skip to main content
Version: 2.0

Get NFT collections by wallet

GEThttps://deep-index.moralis.io/api/v2/: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.
disable_totalboolean
⚠️ Deprecating soon. If the result should skip returning the total count (Improves performance). This parameter defaults to true.
exclude_spamboolean
Should spam NFTs be excluded from the result?
cursorstring
The cursor returned in the previous response (used for getting the next page).
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.nft.getWalletNFTCollections({
"chain": "0x1",
"address": "0x26fcbd3afebbe28d0a8684f790c48368d21665b5"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"status": "SYNCING",
"total": "2000",
"page": "2",
"page_size": "100",
"cursor": "",
"result": {
"token_address": "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB",
"contract_type": "ERC721",
"name": "CryptoKitties",
"symbol": "RARI",
"possible_spam": "false",
"verified_collection": "false"
}
}