跳至主要内容

查詢固定利率借款合約信息

信息
  • 結果按 borrowTime 時間倒序返回。

HTTP 請求

GET/v5/spot-margin-trade/fixedborrow-contract-info

請求參數

參數是否必需類型說明
orderIdfalsestring借款訂單 ID
orderCurrencyfalsestring借款幣種
termfalsestring借款期限。7:7天;14:14天;30:30天;90:90天;180:180天
limitfalsestring每頁返回數量,[1, 100],默認:10
cursorfalsestring翻頁游標,使用上一次響應中的 nextPageCursor 獲取下一頁數據

響應參數

參數類型說明
listarrayObject
> annualRatestring借款年化利率
> borrowCurrencystring借款幣種
> borrowTimestring借款時間戳
> interestPaidstring已還利息
> loanIdstring借款合約 ID
> orderIdstring借款訂單 ID
> repaymentTimestring還款時間
> residualPenaltyIntereststring未還利息
> residualPrincipalstring未還本金
> statusinteger借款合約狀態。1:未還款;2:已全部還款;3:已逾期
> termstring借款期限。7:7天;14:14天;30:30天;90:90天;180:180天
> repayTypestring1:自動還款;2:轉為活期借款;0:不自動還款(兼容舊訂單)
> strategyTypestringPARTIAL:允許部分成交;FULL:僅允許全部成交
nextPageCursorstring參考請求參數 cursor

請求示例

GET /v5/spot-margin-trade/fixedborrow-contract-info?orderCurrency=USDT&limit=10 HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1692696840996
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"annualRate": "1.000000000000000000",
"borrowCurrency": "USDT",
"borrowTime": "1764162490000",
"interestPaid": "1.065753424657534247",
"loanId": "2092341042506646784",
"orderId": "FIXED_BORROW_a17089fc526441faa52eb99b0b9feb69185",
"repaymentTime": "1764288000000",
"residualPenaltyInterest": "0",
"residualPrincipal": "0.000000000000000000",
"status": 3,
"term": "1",
"repayType": "1",
"strategyType": "PARTIAL"
},
{
"annualRate": "1.000000000000000000",
"borrowCurrency": "USDT",
"borrowTime": "1764149170000",
"interestPaid": "0.030136986301369864",
"loanId": "2092229306860452864",
"orderId": "FIXED_BORROW_a17089fc526441faa52eb99b0b9feb69185",
"repaymentTime": "1764244800000",
"residualPenaltyInterest": "0",
"residualPrincipal": "0.000000000000000000",
"status": 3,
"term": "1",
"repayType": "1",
"strategyType": "PARTIAL"
},
{
"annualRate": "1.000000000000000000",
"borrowCurrency": "USDT",
"borrowTime": "1764120790000",
"interestPaid": "1.643835616438356165",
"loanId": "2091991237922142464",
"orderId": "FIXED_BORROW_a17089fc526441faa52eb99b0b9feb69185",
"repaymentTime": "1764244800000",
"residualPenaltyInterest": "0",
"residualPrincipal": "0.000000000000000000",
"status": 3,
"term": "1",
"repayType": "1",
"strategyType": "PARTIAL"
}
],
"nextPageCursor": "0"
},
"retExtInfo": {},
"time": 1775617311081
}