Skip to main content
Version: 2.2

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.
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": "0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326"
});

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