v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Crypto Loans

Crypto Loan Borrow (TRADE)

Weight(UID): 6000

post/sapi/v1/loan/borrow

Query parameters

loanCoinstring required
Example:BUSD

Coin loaned

loanAmountnumber float
Example:100.1

Loan amount

collateralCoinstring required
Example:BNB

Coin used as collateral

collateralAmountnumber float
Example:50.5
loanTerminteger required
Example:30

7/14/30/90/180 days

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Borrow Information

loanCoinstring required
loanAmountstring required
collateralCoinstring required
collateralAmountstring required
hourlyInterestRatestring required
orderIdstring required

Example response

{
  "loanCoin": "BUSD",
  "loanAmount": "100.5",
  "collateralCoin": "BNB",
  "collateralAmount": "50.5",
  "hourlyInterestRate": "0.001234",
  "orderId": "100000001"
}