Loans
Live Loans
GET
https://api.liquid.com/loan_bids?currency={currency}
Get the live loans created.
Query Parameters
currency
string
For example: BTC
Loans by Currency
GET
https://api.liquid.com/loans?currency={currency}
Get loans by specifying a currency.
Query Parameters
currency
string
For example: JPY
Trade's Loan
GET
https://api.liquid.com/trades/{trade_id}/loans
Get a trade's loan data e.g loan interest rate.
Path Parameters
trade_id
string
Example trade ID:103520
Create a Loan
POST
https://api.liquid.com/loan_bids
Lend your crypto to other traders by specifying quantity and rate.
Request Body
quantity
string
{"quantity": "0.2"}
currency
string
{"currency": "BTC"}
rate
string
{"rate": "0.0001"}
Close a Live Loan
PUT
https://api.liquid.com/loan_bids/{loan_id}/close
Close a live loan by loan ID.
Path Parameters
loan_id
string
Example of a loan ID:3580
Stops Re-Loaning
PUT
https://api.liquid.com/loans/{loan_id}
Stops a loan from re-loaning by specifying an ID.
Path Parameters
loan_id
string
Example of a loan ID:144825
Request Body
fund_reloaned
string
{"fund_reloaned": "false"}
Last updated