获取交易对信息
HTTP请求 获取交易对信息,支持单个多个及全量查询
- GET /api/v2/public/exchangeInfo
权重(IP): 10
请求参数
| 参数名 | 数据类型 | 是否必须 | 描述 | 
|---|---|---|---|
| symbol | String | 否 | 单个币对名称,如"BTCUSDT_SPBL" | 
| symbols | String | 否 | 多个币对名称,如"BTCUSDT_SPBL,ETHUSDC_SPBL" | 
请求示例
curl "https://api-spot.weex.com/api/v2/public/exchangeInfo?symbol=BTCUSDT_SPBL"
curl "https://api-spot.weex.com/api/v2/public/exchangeInfo?symbols=BTCUSDT_SPBL,ETHUSDC_SPBL"
返回参数
| 字段名 | 类型 | 字段说明 | 
|---|---|---|
| symbol | String | 币对 | 
| baseCoin | String | 基础币 | 
| quoteCoin | String | 计价货币 | 
| tickSize | String | quoteCoin最小报价 | 
| stepSize | String | baseCoin最小数量 | 
| minTradeAmount | String | 最小交易数量 | 
| maxTradeAmount | String | 最大交易数量 | 
| takerFeeRate | String | taker手续费率 | 
| makerFeeRate | String | maker手续费率 | 
| buyLimitPriceRatio | String | 买价限价比例 | 
| sellLimitPriceRatio | String | 卖价限价比例 | 
| marketBuyLimitSize | String | 市价单次买单限制数量 | 
| marketSellLimitSize | String | 市价单次卖单限制数量 | 
| marketFallbackPriceRatio | String | 市价单兜底价格比例 | 
| enableTrade | Boolean | 是否可以交易 | 
| enableDisplay | Boolean | 是否可以展示 | 
| displayDigitMerge | String | 深度合并, 例如: "1,0.1,0.001" | 
| displayNew | Boolean | 是否为新上币对 | 
| displayHot | Boolean | 是否为热门币对 | 
| supportTracing | Boolean | 是否支持跟单 | 
| supportPlanMarket | Boolean | 计划委托是否支持市价 (条件单是否支持市价) | 
返回示例
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1743661516052,
  "data": [
    {
      "symbol": "BTCUSDT_SPBL",
      "baseCoin": "BTC",
      "quoteCoin": "USDT",
      "tickSize": "0.1",
      "stepSize": "0.00000001",
      "minTradeAmount": "0.00001",
      "maxTradeAmount": "99999",
      "takerFeeRate": "0.001",
      "makerFeeRate": "0",
      "buyLimitPriceRatio": "0.99",
      "sellLimitPriceRatio": "0.99",
      "marketBuyLimitSize": "99999",
      "marketSellLimitSize": "99999",
      "marketFallbackPriceRatio": "0",
      "enableTrade": true,
      "enableDisplay": true,
      "displayDigitMerge": "",
      "displayNew": false,
      "displayHot": false,
      "supportTracing": true,
      "supportPlanMarket": true
    }
  ]
}