The SimpleHash API leverages the OpenRarity standard to calculate consistent, mathematically-grounded rarity score for NFTs.

Currently, ERC-721 and Metaplex non-fungible token standards are supported. Support for ERC-1155 is expected soon.

rarity model:

FieldDescriptionType(s)
rankRarity rank, relative to the scores of all other NFTs in the collectionint / null
scoreRaw rarity scorefloat / null
unique_attributesThe number of unique attributes, or traits, if any, that this NFT possessesint / null