获取全部交易对行情
限速规则: 20次/1s (IP)
描述
获取指定产品类型下,全部交易对的行情数据
HTTP请求
- GET /api/v2/mix/market/tickers
请求示例
curl "https://api.bitget.com/api/v2/mix/market/tickers?productType=COIN-FUTURES"
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
productType | String | 是 | 产品类型USDT-FUTURES USDT专业合约COIN-FUTURES 混合合约USDC-FUTURES USDC专业合约SUSDT-FUTURES USDT专业合约模拟盘SCOIN-FUTURES 混合合约模拟盘SUSDC-FUTURES USDC专业合约模拟盘 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695794269124,
"data": [
{
"symbol": "BTCUSD",
"lastPr": "29904.5",
"askPr": "29904.5",
"bidPr": "29903.5",
"bidSz": "0.5091",
"askSz": "2.2694",
"high24h": "0",
"low24h": "0",
"ts": "1695794271400",
"change24h": "0",
"baseVolume": "0",
"quoteVolume": "0",
"usdtVolume": "0",
"openUtc": "0",
"changeUtc24h": "0",
"indexPrice": "29132.353333",
"fundingRate": "-0.0007",
"holdingAmount": "125.6844",
"deliveryStartTime": null,
"deliveryTime": null,
"deliveryStatus": "delivery_normal",
"open24h": "0",
"markPrice": "12345"
},
{
"symbol": "ETHUSD_231229",
"lastPr": "1829.3",
"askPr": "1829.8",
"bidPr": "1829.3",
"bidSz": "0.054",
"askSz": "0.785",
"high24h": "0",
"low24h": "0",
"ts": "1695794271400",
"change24h": "0",
"baseVolume": "0",
"quoteVolume": "0",
"usdtVolume": "0",
"openUtc": "0",
"changeUtc24h": "0",
"indexPrice": "1822.15",
"fundingRate": "0",
"holdingAmount": "9488.49",
"deliveryStartTime": "1693538723186",
"deliveryTime": "1703836799000",
"deliveryStatus": "delivery_normal",
"open24h": "0",
"markPrice": "1234"
}
]
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
> symbol | String | 币对名称 |
> lastPr | String | 最新成交价 |
> askPr | String | 卖一价 |
> bidPr | String | 买一价 |
> bidSz | String | 买一量 |
> askSz | String | 卖一量 |
> high24h | String | 24小时最高价 |
> low24h | String | 24小时最低价 |
> ts | String | 当前数据时间戳 Unix时间戳的毫秒数格式,如 1597026383085 |
> change24h | String | 24小时价格涨跌幅 |
> baseVolume | String | 交易币交易量 |
> quoteVolume | String | 计价币交易量 |
> usdtVolume | String | usdt成交量 |
> openUtc | String | 开盘价(UTC+0时区) |
> changeUtc24h | String | 24小时价格涨跌幅(UTC+0时区) |
> indexPrice | String | 指数价格 |
> fundingRate | String | 资金费率 |
> holdingAmount | String | 当前持仓, 单位是交易币数量 |
> open24h | String | 开盘价 24小时 开盘时间为24小时相对比,即:现在为2号19点,那么开盘时间对应为1号19点。 |
> deliveryStartTime | String | 交割开始时间(仅限交割合约) |
> deliveryTime | String | 交割时间(仅限交割合约) |
> deliveryStatus | String | 交割状态, 仅限交割合约delivery_config_period : 新上币对配置中delivery_normal : 交易中delivery_before : 交割前10分钟,禁止开仓delivery_period : 交割中,禁止开平仓、撤单 |
> markPrice | String | 标记价格 |