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 owners by contract

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

Get unique wallet addresses owning NFTs from a contract.

PATH PARAMS
addressstringrequired
The address of the NFT contract
QUERY PARAMS
chainstring
The chain to query
limitnumber
The desired page size of the result.
cursorstring
The cursor returned in the previous response (used for getting the next page).
Responses
200Returns a collection of unique NFT owners
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/nft/0x306b1ea3ecdf94ab739f1910bbda052ed4a9f949/unique-owners?chain=eth&limit=25' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"page": "2",
"pageSize": "100",
"cursor": "",
"walletAddresses": [
""
]
}