跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

获取所有合约详情

适用于查询合约的详细信息

请求URL

GET https://cloud-api.wooxpro.com/contract/public/details

请求限制

参见 速率限制详细

请求参数

请求
curl https://cloud-api.wooxpro.com/contract/public/details?symbol=BTCUSDT
参数类型是否必填描述
symbolString选填交易对名称(选填,默认返回全部)

响应详情

响应
{
  "code": 1000,
  "message": "Ok",
  "trace": "9b92a999-9463-4c96-91a4-93ad1cad0d72",
  "data": {
    "symbols": [
      {
        "symbol": "BTCUSDT",
        "product_type": 1,
        "open_timestamp": 1594080000000,
        "expire_timestamp": 0,
        "settle_timestamp": 0,
        "base_currency": "BTC",
        "quote_currency": "USDT",
        "last_price": "23920",
        "volume_24h": "18969368",
        "turnover_24h": "458933659.7858",
        "index_price": "23945.25191635",
        "index_name": "BTCUSDT",
        "contract_size": "0.001",
        "min_leverage": "1",
        "max_leverage": "100",
        "price_precision": "0.1",
        "vol_precision": "1",
        "max_volume": "500000",
        "market_max_volume": "500000",
        "min_volume": "1",
        "funding_rate": "0.0001",
        "expected_funding_rate": "0.00011",
        "open_interest": "4134180870",
        "open_interest_value": "94100888927.0433258",
        "high_24h": "23900",
        "low_24h": "23100",
        "change_24h": "0.004",
        "funding_interval_hours": 8,
        "status": "Delisted",
        "delist_time": 1745830379
      },
      ...
    ]
  }
}
字段类型描述
symbolsList交易对详情数组
交易对详情字段描述:
交易对详情类型描述
symbolsList交易对详情数组
symbolString交易对名称
product_typeInt合约类型 1永续 2期货 目前只有永续合约
base_currencyString合约基础币
quote_currencyString合约计价币种
volume_precisionString数量精度
price_precisionString价格精度
max_volumeString合约限价下单最大数量
market_max_volumeString合约市价下单最大数量
min_volumeString合约下单最小数量
contract_sizeString合约大小
index_priceString指数价格
index_nameString指数名称
min_leverageString最小杠杆倍数
max_leverageString最大杠杆倍数
turnover_24hString24小时成交额
volume_24hString24小时成交量
last_priceString最新成交价
open_timestampLong首次开放时间
expire_timestampLong到期日期,如果返回空则为不过期
settle_timestampLong结算日期,如果返回空则不会自动结算
funding_rateString上期结算费率
expected_funding_rateString预期结算费率
open_interestString持仓量
open_interest_valueString持仓量价值
high_24hString24小时最高价
low_24hString24小时最低价
change_24hString24小时涨跌
funding_interval_hoursInt资金费率收取间隔
statusString交易状态
-Trading=交易中
-Delisted=已下架
delist_timeInt下架时间(status=Trading 表示预计下架时间)