GET
/
v1
/
nft
/
rarity
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
}

Headers

x-api-key
string
required

Query Parameters

chain_id
string
required

chain network id, see list of details

contract_address
string
required

The address of the NFT contract

token_id
string

NFT token id in hex or num string

rank_min
integer
default:
0
rank_max
integer
default:
0
page
integer
default:
1

The page offset

Required range: x > 1
limit
integer
default:
20
Required range: 1 < x < 10000

Response

200
application/json
Successful Response
code
integer
default:
0
message
string
default:
ok
data
object[]
next_page
integer
count
integer