跳至主要内容

查詢最新行情信息

可獲取到快照的最新市場價格,最佳買賣價格,以及過去時間內的交易量等.

覆蓋範圍: 現貨 / USDT永續 / USDC永續 / USDC交割 / 反向合約 / 期權

HTTP請求

GET /v5/market/tickers

請求參數

參數是否必需類型說明
categorytruestring產品類型. spot,linear,inverse,option
symbolfalsestring合約名稱
baseCoinfalsestring交易幣種. 僅option有效, baseCoinsymbol必傳其中一個
expDatefalsestring到期日. 舉例, 25DEC22. 僅option有效

響應參數

參數類型說明
categorystring產品類型
listarrayObject
> symbolstring合約名稱
> lastPricestring最新市場成交價
> indexPricestring指數價格
> markPricestring標記價格
> prevPrice24hstring24小時前的整點市價
> price24hPcntstring市場價格相對24h前變化的百分比
> highPrice24hstring最近24小時的最高價
> lowPrice24hstring最近24小時的最低價
> prevPrice1hstring1小時前的整點市價
> openIntereststring未平倉合約的數量
> openInterestValuestring未平倉合約的價值
> turnover24hstring最近24小時成交額
> volume24hstring最近24小時成交量
> fundingRatestring資金費率
> nextFundingTimestring下次結算資金費用的時間 (毫秒)
> predictedDeliveryPricestring預計交割價格. 交割前30分鐘有值
> basisRatestring交割合約基差率
> basisstring交割合約基差
> deliveryFeeRatestring交割費率
> deliveryTimestring交割時間戳 (毫秒)
> ask1Sizestring買1價的數量
> bid1Pricestring買1價
> ask1Pricestring賣1價
> bid1Sizestring買1價的數量
> preOpenPricestring盤前合約預估開盤價格
  • 在進入連續競價後, 該值無意義
  • > preQtystring盤前合約預估開盤數量
  • 進入連續競價後, 該值無意義
  • > curPreListingPhasestring當前盤前交易階段

    請求示例

    GET /v5/market/tickers?category=inverse&symbol=BTCUSD HTTP/1.1
    Host: api-testnet.bybit.com

    響應示例

    {
    "retCode": 0,
    "retMsg": "OK",
    "result": {
    "category": "inverse",
    "list": [
    {
    "symbol": "BTCUSD",
    "lastPrice": "16597.00",
    "indexPrice": "16598.54",
    "markPrice": "16596.00",
    "prevPrice24h": "16464.50",
    "price24hPcnt": "0.008047",
    "highPrice24h": "30912.50",
    "lowPrice24h": "15700.00",
    "prevPrice1h": "16595.50",
    "openInterest": "373504107",
    "openInterestValue": "22505.67",
    "turnover24h": "2352.94950046",
    "volume24h": "49337318",
    "fundingRate": "-0.001034",
    "nextFundingTime": "1672387200000",
    "predictedDeliveryPrice": "",
    "basisRate": "",
    "deliveryFeeRate": "",
    "deliveryTime": "0",
    "ask1Size": "1",
    "bid1Price": "16596.00",
    "ask1Price": "16597.50",
    "bid1Size": "1",
    "basis": ""
    }
    ]
    },
    "retExtInfo": {},
    "time": 1672376496682
    }