GET
/
v1
/
nft
/
search
curl --request GET \
  --url https://api.chainbase.online/v1/nft/search \
  --header 'x-api-key: <x-api-key>'
{
  "code": 0,
  "message": "ok",
  "data": [
    {
      "blockchain": "<string>",
      "contract_address": "<string>",
      "token_id": "<string>",
      "erc_type": "<string>",
      "name": "<string>",
      "owner": "<string>",
      "symbol": "<string>",
      "image_uri": "<string>",
      "mint_time": 123,
      "mint_transaction_hash": "<string>",
      "token_uri": "<string>",
      "metadata": "<any>",
      "traits": "<any>",
      "rarity_score": 123,
      "rarity_rank": 123
    }
  ],
  "next_page": 123,
  "count": 123
}

Headers

x-api-key
string
required

Query Parameters

chain_id
integer
required

chain network id, see list of details

name
string
required

Fuzzy search for NFT names.

contract_address
string

Used to accurately query specified collection.

to_block
string

block decimal number, hex number or 'latest'

page
integer
default:
1

The page offset

Required range: x > 1
limit
integer
default:
20

The desired page size limit. Less or equal than 100

Required range: 1 < x < 100

Response

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