Filter NSFW NFTs
Last updated
Last updated
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
:
Get NFTs by Chain:
Get NFTs by Chain and Wallet Address:
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:
Get NFTs by Chain, Contract Address, and tokenId
:
📘
includeNsfw
query boolean param explained:
The
includeNsfw
query param is set to false by default.If the
includeNsfw
query param is set to false, the response body will only return the non-NSFW results.If the
includeNsfw
query param is set to true, the response body will return all the results (NSFW + non-NSFW).
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
❌
📘Look for the
result.contract
.isNsfw
parameter:
If the
contract.isNsfw
is true, it indicates that your NFT collection is possibly NSFW.If the
contract.isNsfw
is false, it indicates that your NFT collection is possibly non-NSFW.If the
contract.isNsfw
param is not returned in the response body, this means the data was not returned by the blockchain provider. You can try again later.
JSON