Skip to content
On this page

交易实盘

交易实盘支持 GET 请求方式

所有 API 的响应数据均需满⾜以下条件:
◦ 接⼝可使⽤ curl 访问
◦ 图⽚地址可使⽤提供的地址访问,且必须为 https、否则可能会造成图⽚⽆法显⽰
◦ 若您的地址有防⽕墙,请开放 IP ⽩名单:

TIP

实盘接口新增交易量展示 --> 返回旧版文档

Tips

实盘接口(交易量)不支持分页查询

响应字段

参数类型是否必填描述
dataArray<Product>业务数据

Product

参数类型是否必填描述
nameString藏品名称
imageString藏品图片
priceFloat藏品当前最低挂单价格(单位为元)
circulateCountInteger当前藏品流通数量
lockedCountInteger藏品锁单量
releaseCountInteger藏品发行量
releaseTimeLong藏品发行时间,毫秒时间戳
releasePriceFloat藏品发行价格
creatorNameString藏品创作者名称(和藏品创作者头像需要同时存在)
creatorAvatarString藏品创作者头像(和藏品创作者名称需要同时存在)
collectionNameString当前藏品归属的合集名称,其他接口中用到的albumName为藏品名称,collectionName为多个不同藏品归属的合集的名称
txCount5mInteger五分钟交易量
txAmount5mFloat五分钟交易额 (单位为元)
txCount1hInteger一小时交易量
txAmount1hFloat一小时交易额 (单位为元)
txCount24hInteger24 小时交易量
txAmount24hFloat24 小时交易额 (单位为元)
txCountTodayInteger当天交易量
txAmountTodayFloat当天交易额 (单位为元)
computeTimeLong最后计算时间

注意:当 name 重复时,仅取最低价作为实际价格

响应示例

JSON
{
  "data": [
    {
      "name": "藏品示例1",
      "image": "https://yourdemain.com/collection_test1",
      "price": 99.00,
      "txCount5m": 10,
      "txAmount5m": 20.01,
      "txCount1h": 12,
      "txAmount1h": 32.79,
      "txCount24h": 44,
      "txAmount24h": 122.30,
      "txCountToday": 41,
      "txAmountToday": 96.27,
      "computeTime": 1672502400000
    },
    {
      "name": "藏品示例2",
      "image": "https://yourdemain.com/collection_test2",
      "price": 98.00,
      "txCount5m": 10,
      "txAmount5m": 12.01,
      "txCount1h": 12,
      "txAmount1h": 52.79,
      "txCount24h": 30,
      "txAmount24h": 122.30,
      "txCountToday": 21,
      "txAmountToday": 82.91,
      "computeTime": 1672502400000
    }
  ]
}

以下为响应成功后各参数在APP中的展示位置

常见问题


Q: 盯链热度如何计算?能否帮我们改下热度?

F: 盯链热度由自有算法得出,人工无法干预的。


Q: 多少分钟获取一次数据?

F: 每分钟获取一次。