> ## 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`

#### 请求限制

参见 [速率限制详细](/cn/rate-limit)

#### 请求参数

> 请求

```shell theme={null}
curl https://cloud-api.wooxpro.com/contract/public/details?symbol=BTCUSDT
```

| 参数     | 类型     | 是否必填 | 描述               |
| :----- | :----- | :--- | :--------------- |
| symbol | String | 选填   | 交易对名称(选填，默认返回全部) |

#### 响应详情

> 响应

```json theme={null}
{
  "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
      },
      ...
    ]
  }
}
```

| 字段      | 类型   | 描述      |
| :------ | :--- | :------ |
| symbols | List | 交易对详情数组 |

交易对详情字段描述:

| 交易对详情                    | 类型     | 描述                                            |
| :----------------------- | :----- | :-------------------------------------------- |
| symbols                  | List   | 交易对详情数组                                       |
| symbol                   | String | 交易对名称                                         |
| product\_type            | Int    | 合约类型  1永续 2期货 目前只有永续合约                        |
| base\_currency           | String | 合约基础币                                         |
| quote\_currency          | String | 合约计价币种                                        |
| volume\_precision        | String | 数量精度                                          |
| price\_precision         | String | 价格精度                                          |
| max\_volume              | String | 合约限价下单最大数量                                    |
| market\_max\_volume      | String | 合约市价下单最大数量                                    |
| min\_volume              | String | 合约下单最小数量                                      |
| contract\_size           | String | 合约大小                                          |
| index\_price             | String | 指数价格                                          |
| index\_name              | String | 指数名称                                          |
| min\_leverage            | String | 最小杠杆倍数                                        |
| max\_leverage            | String | 最大杠杆倍数                                        |
| turnover\_24h            | String | 24小时成交额                                       |
| volume\_24h              | String | 24小时成交量                                       |
| last\_price              | String | 最新成交价                                         |
| open\_timestamp          | Long   | 首次开放时间                                        |
| expire\_timestamp        | Long   | 到期日期，如果返回空则为不过期                               |
| settle\_timestamp        | Long   | 结算日期，如果返回空则不会自动结算                             |
| funding\_rate            | String | 上期结算费率                                        |
| expected\_funding\_rate  | String | 预期结算费率                                        |
| open\_interest           | String | 持仓量                                           |
| open\_interest\_value    | String | 持仓量价值                                         |
| high\_24h                | String | 24小时最高价                                       |
| low\_24h                 | String | 24小时最低价                                       |
| change\_24h              | String | 24小时涨跌                                        |
| funding\_interval\_hours | Int    | 资金费率收取间隔                                      |
| status                   | String | 交易状态<br />-`Trading`=交易中<br />-`Delisted`=已下架 |
| delist\_time             | Int    | 下架时间(status=Trading 表示预计下架时间)                 |
