Filter NSFW NFTs
Introducing the NSFW filtering feature for NFTs! With this new functionality, you can easily filter out Not Safe For Work (NSFW) NFTs.
Filter out your NFTs that are marked as NSFW using the includeNsfw boolean query param that applies only to the following three endpoints:
Get NFTs by
walletId: referenceGet NFTs by Chain: reference
Get NFTs by Chain and Wallet Address: reference
You will receive a contract.isNsfw boolean in the response body for all of the above endpoints and the following endpoints:
Get NFTs by Chain and Contract Address: reference
Get NFTs by Chain, Contract Address, and
tokenId: reference
📘
includeNsfwquery boolean param explained:
The
includeNsfwquery param is set to false by default.If the
includeNsfwquery param is set to false, the response body will only return the non-NSFW results.If the
includeNsfwquery param is set to true, the response body will return all the results (NSFW + non-NSFW).
Example Request: reference
The following endpoint retrieves NFTs by chain and wallet address:
HTTP
includeNsfw
Query
Indication to include possible NSFW NFTs in the response body or not.
Boolean
true
❌
Response Body
📘Look for the
result.contract.isNsfwparameter:
If the
contract.isNsfwis true, it indicates that your NFT collection is possibly NSFW.If the
contract.isNsfwis false, it indicates that your NFT collection is possibly non-NSFW.If the
contract.isNsfwparam is not returned in the response body, this means the data was not returned by the blockchain provider. You can try again later.
JSON
Last updated