查询指数列表

查询所有合约的指数价格 (鉴权类型:NONE, 参见接口权限)

请求格式

GET https://api-cloud.bitmart.com/contract/v1/ifcontract/indexes

请求限制

参见 速率限制详细

请求参数

请求示例

curl https://api-cloud.bitmart.com/contract/v1/ifcontract/indexes

响应详情

字段 类型 描述
index_id int 指数 ID
name string 指数名称
base_coin string 指数基础币
quote_coin string 指数计价币
brief_en string 英文简称
brief_zh string 中文简称
price_unit string 价格精度
created_at string 创建时间

解释说明

contract 有可能是空数组, 表示未上线合约对。

返回数据格式示例

{
    "code": 1000,
    "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
    "message": "OK",
    "data":[
        {
            "index_id":40,
            "name":"HCUSDT",
            "base_coin":"HC",
            "quote_coin":"USDT",
            "brief_en":"",
            "brief_zh":"",
            "price_unit":"0.0001",
            "created_at":"2020-03-31T07:22:07.750953Z",
            "member":[
                {
                    "index_id":40,
                    "coin_code":"HC",
                    "weight":"1",
                    "market":[
                        {
                            "market_name":"Coinw",
                            "weight":"1"
                        }
                    ]
                }
            ],
            "contract":[
                {
                    "contract_id":45,
                    "index_id":40,
                    "name":"HCUSDT",
                    "display_name":"HCUSDT 永续合约",
                    "display_name_en":"HCUSDT SWAP",
                    "contract_type":1,
                    "base_coin":"HC",
                    "quote_coin":"USDT",
                    "price_coin":"HC",
                    "exchange":"*",
                    "contract_size":"1",
                    "begin_at":"2020-03-30T00:00:00Z",
                    "delivery_cycle":28800,
                    "min_leverage":"1",
                    "max_leverage":"20",
                    "price_unit":"0.0001",
                    "vol_unit":"1",
                    "value_unit":"0.0001",
                    "min_vol":"1",
                    "max_vol":"1000000",
                    "liquidation_warn_ratio":"0.85",
                    "fast_liquidation_ratio":"0.3",
                    "settle_type":1,
                    "open_type":3,
                    "compensate_type":1,
                    "status":3,
                    "block":1,
                    "rank":1,
                    "created_at":"2020-03-31T07:49:43.801453Z",
                    "depth_bord":"1.01",
                    "max_rate":"0.00375",
                    "min_rate":"-0.00375"
                }
            ]
        }
    ]
}

results matching ""

    No results matching ""