跳到主要内容

获取全部交易对行情

限速规则: 20次/1s (IP)

描述

获取指定产品类型下,全部交易对的行情数据

HTTP请求

  • GET /api/v2/mix/market/tickers
请求示例
curl "https://api.bitget.com/api/v2/mix/market/tickers?productType=COIN-FUTURES"

请求参数

参数名参数类型是否必须描述
productTypeString产品类型
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"
}
]
}

返回参数

返回字段参数类型字段说明
> symbolString币对名称
> lastPrString最新成交价
> askPrString卖一价
> bidPrString买一价
> bidSzString买一量
> askSzString卖一量
> high24hString24小时最高价
> low24hString24小时最低价
> tsString当前数据时间戳 Unix时间戳的毫秒数格式,如 1597026383085
> change24hString24小时价格涨跌幅
> baseVolumeString交易币交易量
> quoteVolumeString计价币交易量
> usdtVolumeStringusdt成交量
> openUtcString开盘价(UTC+0时区)
> changeUtc24hString24小时价格涨跌幅(UTC+0时区)
> indexPriceString指数价格
> fundingRateString资金费率
> holdingAmountString当前持仓, 单位是交易币数量
> open24hString开盘价 24小时
开盘时间为24小时相对比,即:现在为2号19点,那么开盘时间对应为1号19点。
> deliveryStartTimeString交割开始时间(仅限交割合约)
> deliveryTimeString交割时间(仅限交割合约)
> deliveryStatusString交割状态, 仅限交割合约
delivery_config_period: 新上币对配置中
delivery_normal: 交易中
delivery_before: 交割前10分钟,禁止开仓
delivery_period: 交割中,禁止开平仓、撤单
> markPriceString标记价格