Skip to content

获取全部合约交易对深度数据

描述

查询全部合约对深度信息

HTTP请求

  • GET /fapi/v1/market/allDepth

请求参数

参数名参数类型是否必须描述

请求示例

http
curl 'https://futuresopenapi.100ex.com/fapi/v1/market/allDepth'

返回参数

参数名参数类型描述
>futuresNameString合約名称
>asksList<String>当前价位的所有卖单
>> Index 0String价格
>> Index 1String数量
>bidsList<String>当前价位的所有买单
>> Index 0String价格
>> Index 1String数量
>timeString当前深度对应的时间, ms

返回示例

json
{
    "code": "0",
    "msg": "成功",
    "data": [
        {
            "futuresName": "e_btcusdt",
            "asks": [
                [
                    "57879",
                    "296575"
                ]
            ],
            "bids": [
                [
                    "92769.9",
                    "136950"
                ]
            ],
            "time": "1736763781000"
        },
        ...
    ]
}