Skip to content
Alchemy Logo

Attribute Rarity By NFT

GET
/v3/{apiKey}/computeRarity

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

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Query Parameters

stringrequireddefaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330

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

stringrequireddefaults to 44

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

Responses

200

Returns the rarity information for each attribute of the specified NFT.

Was this page helpful?