Attribute Rarity By NFT

Calculates the rarity of each attribute within an NFT.

Please note that this endpoint is only available on Ethereum (mainnet) & Polygon (mainnet & mumbai).

Path parameters

apiKeystringRequired

Query parameters

contractAddressstringRequired

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

tokenIdstringRequired

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 objectsOptional

NFT attributes and their associated prevalence.