cURL
curl --request GET \ --url https://api.chainbase.online/v1/nft/rarity \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "data": [ { "token_id": "<string>", "rank": 123, "rank_share": 123, "score": 123, "total_supply": 123, "properties": [ { "trait_type": "<string>", "value": "<string>", "rate": 123, "total": 123 } ] } ], "next_page": 123, "count": 123 }
"demo"
chain network id, see list of details
The address of the NFT contract
NFT token id in hex or num string
The page offset
x >= 1
1 <= x <= 10000
Successful Response
The response is of type object.
object