Is Spam Contract

Determines whether a specific contract is marked as spam by Alchemy.

Please note that this API endpoint is only available to paid tier customers. Upgrade your account here.
Spam NFT functionality is available on Mainnet for the following chains: Base, Arbitrum, Optimism, Ethereum, Polygon, Worldchain, Avax, Gnosis, Zksync, and Blast. More to come soon!

Path parameters

apiKeystringRequiredDefaults to docs-demo

Query parameters

contractAddressstringRequiredDefaults to 0x495f947276749ce646f68ac8c248420045cb7b5e

String - Contract address for the NFT contract (ERC721 and ERC1155 supported).

Response

Returns whether the specified contract is marked as spam.
isSpamContractboolean or null


True - if the queried contract is marked as spam.
False - if the queried contract is considered valid.