[SOLVED] NFT API: Search within wallet and filter by file type

Hi, I got two questions here regarding NFT Api:

  1. Can I search Nfts owned by a wallet with a keyword?
  2. Can I filter NFT file type (e.g. video/image/model) when using Get NFTs by wallet?

I’ve played with Get NFTs by wallet and Search NFTs with no luck.

Thanks.

Hi @ProtoQ

For your use case you have to process and filter the data returned from get NFTs by wallet on your app. That is the best way to do it.

To identify the NFT file type you have to use fetch request to identify the file type stored in a url.

Quite surprised that both aren’t supported. But thanks anyway.