Attribute Rarity By NFT

Calculates the rarity of each attribute within an NFT. <Note>Please note that this endpoint is only available on Ethereum (mainnet) & Polygon (mainnet & mumbai).</Note>

Path parameters

apiKeystringRequiredDefaults to docs-demo

Query parameters

contractAddressstringRequiredDefaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330

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

tokenIdstringRequiredDefaults to 44

String - The ID of the token. Can be in hex or decimal format.

Response

Returns the rarity information for each attribute of the specified NFT.
raritieslist of objects or null
NFT attributes and their associated prevalence.