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
apiKey
Query parameters
contractAddress
String - Contract address for the NFT contract (ERC721 and ERC1155 supported).
tokenId
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.
rarities
NFT attributes and their associated prevalence.