[SOLVED] Web3 api gets NFT owner returned null

when I tried first time, the response was correct, but now returned null,
I have tried other contract, not work as well.
Maybe any limited?

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/0x3575B48E00f9Eb6547EE3771DC4ca57d40518698/nft?chain=polygon&format=decimal' \
  -H 'accept: application/json' \
  -H 'X-API-Key: 123123'
  "total": 0,
  "page": 0,
  "page_size": 500,
  "cursor": "",
  "result": [],
  "status": "SYNCED"


That is a contract address. To get the owners for a contract address you can use this endpoint:


The endpoint from your example gets the NFTs owned by a specific wallet address.

Oh, my careless,
Thanks a lot.

1 Like