GET
/
v1
/
account
/
nfts
curl --request GET \
  --url https://api.chainbase.online/v1/account/nfts \
  --header 'x-api-key: <x-api-key>'
{
  "code": 0,
  "message": "ok",
  "data": [
    {
      "contract_address": "<string>",
      "erc_type": "<string>",
      "metadata": {},
      "mint_time": "2023-11-07T05:31:56Z",
      "mint_transaction_hash": "<string>",
      "name": "<string>",
      "owner": "<string>",
      "symbol": "<string>",
      "token_id": "<string>",
      "token_uri": "<string>",
      "image_uri": "<string>",
      "total": 123,
      "total_string": "<string>",
      "traits": "<any>",
      "rarity_score": 123,
      "rarity_rank": 123,
      "floor_prices": [
        {
          "value": "<string>",
          "symbol": "<string>",
          "address": "<string>"
        }
      ]
    }
  ],
  "next_page": 123,
  "count": 123
}

Headers

x-api-key
string
required

Query Parameters

chain_id
string
required

chain network id, see list of details

address
string
required

A hex string referencing a wallet address

contract_address
string

The address of the NFT contract, or filter multiple addresses, (max 100), eg:contract_address=0xed5af388653567af2f388e6224dc7c4b3241c544,0x1a92f7381b9f03921564a437210bb9396471050c

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
code
integer
default:
0
message
string
default:
ok
data
object[]
next_page
integer
count
integer