查询借贷订单信息
限速规则: 5次/1s (Uid)
HTTP请求
- GET /api/v2/spot/ins-loan/loan-order
请求示例
curl "https://api.bitget.com/api/api/v2/spot/ins-loan/loan-order" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
orderId | String | 否 | 借贷订单ID。若不传,则返回全部。按照loanTime降序排列 |
startTime | String | 否 | 开始时间戳 (毫秒) |
endTime | String | 否 | 结束时间戳 (毫秒) |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1711697588556,
"data": [{
"orderId": "xxxxxxx",
"orderProductId": "xxxxxx",
"uid":"xxxxxx",
"loanTime":"1713645576789",
"loanCoin":"USDT",
"unpaidAmount":"1",
"unpaidInterest":"1",
"loanAmount":"1",
"status":"paid_off",
"repaidAmount":"1",
"repaidInterest":"1.1"
}]
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
loanInfo | Array | 借贷订单信息 |
> orderId | String | 借贷订单ID |
> orderProductId | String | 产品ID |
> uid | String | 机构借贷放款和还款UID |
> loanTime | String | 放款时间戳(毫秒) |
> loanCoin | String | 借款币种 |
> loanAmount | String | 借款金额 |
> unpaidAmount | String | 未还本金 |
> unpaidInterest | String | 未还利息 |
> repaidAmount | String | 已还本金 |
> repaidInterest | String | 已还利息 |
> status | String | 状态 未还清 not_paid_off 已还清 paid_off |