> For the complete documentation index, see [llms.txt](https://docs-swft.swft.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-swft.swft.pro/ju-he-jiao-yi-api-jie-kou/huo-qu-zhi-chi-de-jiao-yi-dui-xin-xi.md).

# 获取支持的交易对信息

**1. 接口调用：**

&#x20;`https://{host}/marketApi/loadPair`

**2. 请求参数实例**

| 参数        | 是否必须 | 说明           |
| --------- | ---- | ------------ |
| channelId | 是    | 渠道id         |
| timestamp | 是    | 毫秒时间戳（UTC+8） |
| sign      | 是    | 签名           |

3.请求参数示例

```
 {
     "channelId":"swft-channel",
     "sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
     "timestamp":"1557653925555"
 }
```

4.返回结果示例

```
 {
    "data":[
        {
            "allowCoinLow":"0.001",
            "allowTradeLow":"0.000001",
            "tradeCode":"USDT",
            "tradeNumAccuracy":6,
            "tradePair":"BTC/USDT",
            "tradePriceAccuracy":2
        },
        {
            "allowCoinLow":"0.001",
            "allowTradeLow":"0.000001",
            "tradeCode":"USDT",
            "tradeNumAccuracy":6,
            "tradePair":"ETH/USDT",
            "tradePriceAccuracy":2
        }
    ],
    "resCode":"800",
    "resMsg":"成功"
}
```

5.返回参数说明

| 字段名称    | 是否数组 | 字段                 | 数据类型   | 数据长度 | 必须项 | 备注           |
| ------- | ---- | ------------------ | ------ | ---- | --- | ------------ |
| 最小允许交易量 | Y    | allowCoinLow       | String | 20   | Y   | eg: 0.001    |
| 最小允许交易额 | Y    | allowTradeLow      | String | 20   | Y   | eg: 0.000001 |
| 交易币种    | Y    | tradeCode          | String | 20   | Y   | eg: USDT     |
| 交易对     | Y    | tradePair          | String | 20   | Y   | eg: ETH/USDT |
| 交易数量精度  | Y    | tradeNumAccuracy   | Number | 2    | Y   | eg: 2        |
| 交易额精度   | Y    | tradePriceAccuracy | Number | 2    | Y   | eg: 6        |

‌

‌

[<br>](https://app.gitbook.com/@swft/s/swft-api/~/drafts/-LlBl-KrTk6q3N5eWaz_/primary/jiao-yi-api-jie-kou/dan-yi-bi-zhong-zhang-hu-yu-e)
