CKB Explorer English
  1. NFT
CKB Explorer English
  • v1
    • Statistics
      • Statistic Info Charts
      • Daily Statistics
      • Block Statistics
      • Epoch Statistics
      • Statistics
      • Tip Block Number
    • Block List
      GET
    • Block by number or hash
      GET
    • Address
      GET
    • Transaction
      GET
    • Transaction List
      GET
    • UDT List
      GET
    • UDT
      GET
    • Udt Transaction List
      GET
    • Block Transaction List
      GET
    • Address Transaction List
      GET
    • Contract Transaction List
      GET
  • v2
    • NFT
      • NFT Hodlers List
        GET
      • NFT Collection List
        GET
      • NFT Collection
        GET
      • NFT Item
        GET
      • NFT Item List
        GET
      • NFT Transfer List
        GET
    • CoTA
      • Issuer of CoTA
      • CoTA NFT Class
      • Sender of CoTA NFT Item
      • Claim Status
      • Minted CoTA NFT Class by a specific issuer
      • CoTA Transaction List
    • Cell List
      GET
    • Live Cell List
      GET
    • Bit Accounts
      POST
    • Bit Accounts Copy
      POST
    • DAO Events of an address
      GET
    • Transactions referring to a specific script
      GET
    • Referring cells of a script
      GET
    • Deployed cells of a script
      GET
    • Script Info
      GET
    • Miner Versions Distribution
      GET
    • Pending Transaction List
      GET
    • Transaction Fees
      GET
  1. NFT

NFT Collection List

GET
/nft/collections
Returns list of NFT collections
Chinese version: https://www.apifox.cn/web/project/962207

Request

Query Params
creator
string 
optional
Creator address
Example:
ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq2k72xa7dd3lfh874y8g7arf3zr8z6qu8qgujjxq
type
string 
optional
Filter protocol type
Example:
m_nft
sort
string 
optional
Format: ${sort_column}[.asc | .desc]. Specifies the sorting method. Valid sort_column values: holder, minted, transactions. Example: holder.asc for ascending order based on holder count. Default: id.desc (sorting by ID in descending order) if the parameter is empty.
Example:
minted.desc
page
integer 
optional
Page
Example:
1
Header Params
Accept
string 
required
Example:
application/vnd.api+json
Content-Type
string 
required
Example:
application/vnd.api+json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mainnet-api.explorer.nervos.org/api/v2/nft/collections?type=m_nft' \
--header 'Accept: application/vnd.api+json' \
--header 'Content-Type: application/vnd.api+json'

Responses

🟢200Success
application/json
Body
data
array[object (TokenCollection) {9}] 
required
id
integer 
required
standard
string 
required
name
string 
required
description
string  | null 
optional
creator
string 
required
items_count
integer 
required
holders_count
integer 
required
icon_url
string 
required
type_script
optional
pagination
object 
required
scaffold_url
string 
required
first_url
string 
required
prev_url
string 
required
page_url
string 
required
next_url
string 
required
last_url
string 
required
count
integer 
required
page
integer 
required
items
integer 
required
vars
object 
required
pages
integer 
required
last
integer 
required
in
integer 
required
from
integer 
required
to
integer 
required
prev
null 
required
next
integer 
required
series
array [oneOf] 
required
Example
{
  "data": [
    {
      "id": 0,
      "standard": "string",
      "name": "string",
      "description": "string",
      "creator": "string",
      "items_count": 0,
      "holders_count": 0,
      "icon_url": "string",
      "type_script": {
        "code_hash": "string",
        "hash_type": "string",
        "args": "string",
        "script_hash": "string"
      }
    }
  ],
  "pagination": {
    "scaffold_url": "string",
    "first_url": "string",
    "prev_url": "string",
    "page_url": "string",
    "next_url": "string",
    "last_url": "string",
    "count": 0,
    "page": 0,
    "items": 0,
    "vars": {
      "page": 0,
      "items": 0,
      "outset": 0,
      "size": [
        0
      ],
      "page_param": "string",
      "params": {},
      "fragment": "string",
      "link_extra": "string",
      "i18n_key": "string",
      "cycle": true,
      "overflow": "string",
      "metadata": [
        "string"
      ],
      "count": 0
    },
    "pages": 0,
    "last": 0,
    "in": 0,
    "from": 0,
    "to": 0,
    "prev": null,
    "next": 0,
    "series": [
      "string"
    ]
  }
}
Modified at 2023-07-12 03:00:44
Previous
NFT Hodlers List
Next
NFT Collection
Built with