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"
}

Changes

Changed in 3 of the 26 revisions of this API.112

    • added the new optional query request parameter collateralAmount

      new-optional-request-parameter

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • for the query request parameter loanAmount, the type/format was changed from number/double to number/float

      request-parameter-type-changed

    • deleted the query request parameter collateralAmount

      request-parameter-removed

    • endpoint added

      endpoint-added