跳至主要内容

查詢產品報價

信息

無需身份驗證

備註
  • 下單前必須先調用此接口取得最新報價參數,並將返回值原樣傳入下單請求。
  • 您也可以訂閱 WebSocket 頻道 earn.discountbuy.offers,接收即時報價推送。

HTTP 請求

GET/v5/earn/advance/product-extra-info

請求參數

參數必填類型說明
categorytruestring產品類別,DiscountBuy
productIdfalsestring產品 ID。不傳則返回所有產品報價

響應參數

參數類型說明
offersarray列表
> productIdstring產品 ID
> currentPricestring標的資產當前市場價格
> purchasePricestring錨定買入價。行權結算時,標的資產將以此價格買入
> knockoutPricestring敲出價。結算價 >= knockoutPrice 時敲出,返還 USDT 本金 + 利息
> knockoutCouponE8string年化息率(e8 精度),實際利率 = knockoutCouponE8 / 1e8,敲出時按此計算利息
> maxInvestmentAmountstring當前報價下的最大可投金額
> instUidstring做市商機構 ID,下單時必須原樣傳入
> expiredAtstring報價到期時間,毫秒級 Unix 時間戳。0 表示機構未設定有效期

請求示例

GET /v5/earn/advance/product-extra-info?category=DiscountBuy&productId=7037 HTTP/1.1
Host: api-testnet.bybit.com

響應示例

{
"retCode": 0,
"retMsg": "",
"result": {
"offers": [
{
"productId": "7037",
"currentPrice": "74514.26",
"purchasePrice": "74014",
"knockoutPrice": "76000",
"knockoutCouponE8": "1000000",
"maxInvestmentAmount": "100000",
"instUid": "100307526",
"expiredAt": "1776153608188",
"category": "DiscountBuy"
}
]
},
"retExtInfo": {},
"time": 1776153594375
}