市场 API

获取合集信息#

该接口用于获取符文信息:包括持有人数、合集链接、交易额、交易笔数和地板价。

请求地址#

GET https://www.okx.com/api/v5/mktplace/nft/runes/detail

请求参数#

参数类型是否必传参数说明
runesIdStringYesrunesId,支持批量查询,使用‘,’分隔,例如 840000:3, 840000:28

返回参数#

参数类型参数说明
runeString符文名称
spacenameString加点后的符文名称
maxMintNumberString最多 mint 数量
mintedNumberString已铸造数量
limitPerMintString单笔 mint 上限
deployedTimeLong部署时间
startBlockString起始区块
endBlockString结束区块
symbolString符号
divisibilityInteger精度
collectionUrlStringOKX 合集链接
totalVolumeString总交易额,BTC 计价
usdTotalVolumeString总交易额,USD 计价
marketCapString市值,BTC 计价
usdMarketCapString市值,USD 计价
floorpriceString地板价,Sats 计价
usdFloorPriceString地板价,USD 计价
holdersInteger持有地址数
salesCountInteger成交数量

请求示例#

shell
curl --location 'https://www.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://www.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": ""
}