Announcing: NFT Rarity API

Access NFT rarity data through Center.dev.


We are excited to announce that we have added support for NFT rarity through Center.dev.

Builders can now use Center's API to easily retrieve rarity data for any NFT. Using the Get Asset Rarity endpoint, simply provide the blockchain, collection address and tokenID to retrieve:

  • score: Normalized rarity score (based on the OpenRarity standard) that reflects how rare a particular NFT is within its collection. Rarer NFTs receive higher scores.
  • rank: Rarity ranking for the NFT within its collection (with the most rare being ranked 1)
  • total: Total number of NFTs within collection Check out an example below for BAYC #1:

Request:

curl --request GET \
     --url https://api.center.dev/v1/ethereum-mainnet/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D/1/rarity \
     --header 'X-API-Key: test' \
     --header 'accept: application/json'

Response:

{
  "score": 1.0568741465396123,
  "rank": 3256,
  "total": 10000
}

Other requests or ideas? Please submit a feature request or reach out to our support team.