CLEARIndex

Brief description

  • NFT List

Request URL

  • /api/index/lists

Method

  • POST

Return example

// 20220627142825
// https://demo.cleardao.com/api/index/lists

{
  "code": 0,
  "data": {
    "nft_index": [
      {
        "identify": "crypto-punks-index",
        "name": "Punks NFT Index",
        "icon": "/img/icons/punks-index.png",
        "brief": "CryptoPunk is a pioneer in the NFT world, created in 2017. It was considered the gold\nstandard for NFT avatar collectibles and inspired the ERC-721 standard.",
        "chg_24h": "0.000000000000000000",
        "chg_24h_percent": "0.00",
        "index_price": "168081.235381423896357820"
      },
      {
        "identify": "bayc-index",
        "name": "BAYC NFT Index",
        "icon": "/img/icons/bayc-index.png",
        "brief": "BAYC is the most prominent NFT collection lately. Each collectible is unique and with members-only benefits including Yacht Club membership, spawning the emergence of the NFT community economy.",
        "chg_24h": "0.000000000000000000",
        "chg_24h_percent": "0.00",
        "index_price": "82114.680497080913259328"
      },
      {
        "identify": "clone-x-index",
        "name": "CLONE X Index",
        "icon": "/img/icons/clone-x-index.png",
        "brief": "CloneX is a trending NFT collection of 3D unique avatars from RTFKT Studios and the artist Takashi Murakami. Avatars can be used in social media, films, games, etc.",
        "chg_24h": "0.000000000000000000",
        "chg_24h_percent": "0.00",
        "index_price": "41639.865487154932366258"
      },
      {
        "identify": "nft-worlds-index",
        "name": "NFT Worlds Index",
        "icon": "/img/icons/worlds-index.png",
        "brief": "NFT Worlds is a capable and flexible metaverse platform where owners hold verifiable rights to digital land with Minecraft-like features and functionality.",
        "chg_24h": "0.000000000000000000",
        "chg_24h_percent": "0.00",
        "index_price": "8375.099706823424244447"
      },
      {
        "identify": "loot-index",
        "name": "LOOT NFT Index",
        "icon": "/img/icons/loot-index.png",
        "brief": "Loot is a collection of 8,000 NFTs featuring text descriptions of items for role-playing games. It brings the community’s collective imagination to turn Metaverse into Open-World RPG",
        "chg_24h": "0.000000000000000000",
        "chg_24h_percent": "0.00",
        "index_price": "24330.378148365304370027"
      }
    ],
    "fungible_index": [
      
    ]
  },
  "extra": null
}

Return parameter description

Parameter name
Type
Explain

identify

string

NFT identify

name

string

NFT name

icon

string

NFT icon

desc

string

Description

chg_24h

string

24h Change

chg_24h_percent

string

24h Change (%)

Remark

  • For more error code returns, see the error code description on the home page

Brief description

  • NFT detail

Request URL

  • /api/index/nft/detail

Method

  • POST

Parameter

Parameter name
Required
Type
Explain

identify

Yes

string

NFT identify

Return example

{
  "code": 0,
  "data": {
    "name": "Punks NFT Index",
    "icon": "/img/icons/punks-index.png",
    "desc": "Cryptopunks were inspired by the 1970’s punk movement, thought to best represent the early blockchain movement at the time. It offers 10,000 unique collectible avatars featuring a randomized array of features and styles.\r\nCryptoPunks are considered the gold standard for collectible NFT avatar sets. Other hot NFT collectibles still fall well short of those of CryptoPunks.\r\nA value-weighting mechanism is introduced to calculate the index for each NFT series. The historical transaction price of each collectible is appropriately weighted to calculate the \"intrinsic value\" of an individual collectible in the series. The average of all collectibles constitutes an index for the entire NFT series.",
    "index_price": "168081.235381423896357820",
    "created_at": "2017-06-24 05:06:15",
    "updated_at": "2022-06-27 06:22:43",
    "init_price": "3.427917480468800000",
    "chg_24h": "0.000000000000000000",
    "chg_24h_percent": "0.00"
  },
  "extra": null
}

Return parameter description

Parameter name
Type
Explain

name

string

NFT name

icon

string

NFT icon

desc

string

Description

created_at

string

Created date

init_price

string

Initial price

Remark

  • For more error code returns, refer to the error code description on the home page

Brief description

  • NFT index Trend

Request URL

  • /api/index/nft/trend

Method

  • POST

Parameter

Parameter name
Required
Type
Explain

identify

Yes

string

NFT identify

type

YES

string

5:hourly,6:4 hours,7:daily,8:weekly

Return example

{
  "code": 0,
  "data": [
    [
      1653296400000,
      41969.14850764
    ],
    [
      1653300000000,
      41969.14850764
    ],
    [
      1653303600000,
      41969.14850764
    ],
    [
      1653307200000,
      41969.14850764
    ],
    [
      1653310800000,
      41969.14850764
    ],
    [
      1653314400000,
      41969.14850764
    ],
    [
      1653318000000,
      41969.14850764
    ],
    [
      1653321600000,
      41969.14850764
    ],
    [
      1653325200000,
      41969.14850764
    ],
    [
      1653328800000,
      41969.14850764
    ]
  ],
  "extra": {
    "last": 1653328800,
    "index_price": "41969.148507641079704078"
  }
}

Return parameter description

Data

Parameter name
Type
Explain

0

int

millisecond

1

float

index_price

Extra

Parameter name
Type
Explain

last

int

The last update time (second)

index_price

float

The last update index_price

Remark

  • For more error code returns, see the error code description on the home page

Brief description

  • NFT index Trend

Request URL

  • /api/index/nft/sync-trend

Method

  • POST

Parameter

Parameter name
Required
Type
Explain

identify

YES

string

NFT identify

type

YES

string

5:hourly,6:4 hours,7:daily,8:weekly

last

YES

string

The last update time (second)

Return example

{
  "code": 0,
  "data": [
    [
      1653296400000,
      41969.14850764
    ],
    [
      1653300000000,
      41969.14850764
    ],
    [
      1653303600000,
      41969.14850764
    ],
    [
      1653307200000,
      41969.14850764
    ],
    [
      1653310800000,
      41969.14850764
    ],
    [
      1653314400000,
      41969.14850764
    ],
    [
      1653318000000,
      41969.14850764
    ],
    [
      1653321600000,
      41969.14850764
    ],
    [
      1653325200000,
      41969.14850764
    ],
    [
      1653328800000,
      41969.14850764
    ]
  ],
  "extra": {
    "last": 1653328800,
    "index_price": "41969.148507641079704078"
  }
}

Return parameter description

Data

Parameter name
Type
Explain

0

int

second

1

float

index_price

Extra

Parameter name
Type
Explain

last

int

last update time (second)

index_price

float

last update index_price

Remark

-The interface would only add new data on the premise that the parameter of the “last” returned is greater than that in the record.

Last updated