获取合集信息#
该接口用于获取符文信息:包括持有人数、合集链接、交易额、交易笔数和地板价。
请求地址#
GET https://web3.okx.com/api/v5/mktplace/nft/runes/detail
请求参数#
| 参数 | 类型 | 是否必传 | 参数说明 | 
|---|---|---|---|
| runesId | String | Yes | runesId,支持批量查询,使用‘,’分隔,例如 840000:3, 840000:28 | 
返回参数#
| 参数 | 类型 | 参数说明 | 
|---|---|---|
| rune | String | 符文名称 | 
| spacename | String | 加点后的符文名称 | 
| maxMintNumber | String | 最多 mint 数量 | 
| mintedNumber | String | 已铸造数量 | 
| limitPerMint | String | 单笔 mint 上限 | 
| deployedTime | Long | 部署时间 | 
| startBlock | String | 起始区块 | 
| endBlock | String | 结束区块 | 
| symbol | String | 符号 | 
| divisibility | Integer | 精度 | 
| collectionUrl | String | OKX 合集链接 | 
| totalVolume | String | 总交易额,BTC 计价 | 
| usdTotalVolume | String | 总交易额,USD 计价 | 
| marketCap | String | 市值,BTC 计价 | 
| usdMarketCap | String | 市值,USD 计价 | 
| floorprice | String | 地板价,Sats 计价 | 
| usdFloorPrice | String | 地板价,USD 计价 | 
| holders | Integer | 持有地址数 | 
| salesCount | Integer | 成交数量 | 
请求示例#
shell
curl --location 'https://web3.okx.com/api/v5/mktplace/nft/runes/detail?runesId=840000%3A3%2C840000%3A28' \
--header 'OK-ACCESS-PASSPHRASE: xxx' \
--header 'OK-ACCESS-KEY: xxx' \
返回示例#
200
{
  "code": 0,
  "data": [
{
  "collectionUrl": "https://web3.okx.com/web3/marketplace/runes/token/DOG•GO•TO•THE•MOON/840000:3",
  "deployedTime": 1713571767,
  "divisibility": 5,
  "marketData": {
  "floorPrice": "10.6509577683",
  "holders": 72903,
  "marketCap": "10651.030343051788712385",
  "salesCount": 35436,
  "totalVolume": "1124.64783456999999",
  "usdFloorPrice": "0.006598097922137557",
  "usdMarketCap": "659814288.103509427870310934",
  "usdTotalVolume": "69670133.915076187380516"
},
  "maxMintNumber": "100000000000",
  "mintedNumber": "100000000000",
  "name": "DOG•GO•TO•THE•MOON",
  "runesId": "840000:3",
  "spaceName": "DOGGOTOTHEMOON",
  "startBlock": 840000,
  "symbol": "🐕"
}
  ],
  "msg": ""
}
