Loans
Live Loans
GET
https://api.liquid.com/loan_bids?currency={currency}
Get the live loans created.
Query Parameters
Name | Type | Description |
---|---|---|
currency | string | For example: |
Loans by Currency
GET
https://api.liquid.com/loans?currency={currency}
Get loans by specifying a currency.
Query Parameters
Name | Type | Description |
---|---|---|
currency | string | For example: |
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
Name | Type | Description |
---|---|---|
trade_id | string | Example trade ID: |
Create a Loan
POST
https://api.liquid.com/loan_bids
Lend your crypto to other traders by specifying quantity and rate.
Request Body
Name | Type | Description |
---|---|---|
quantity | string |
|
currency | string |
|
rate | string |
|
Close a Live Loan
PUT
https://api.liquid.com/loan_bids/{loan_id}/close
Close a live loan by loan ID.
Path Parameters
Name | Type | Description |
---|---|---|
loan_id | string | Example of a loan ID: |
Stops Re-Loaning
PUT
https://api.liquid.com/loans/{loan_id}
Stops a loan from re-loaning by specifying an ID.
Path Parameters
Name | Type | Description |
---|---|---|
loan_id | string | Example of a loan ID: |
Request Body
Name | Type | Description |
---|---|---|
fund_reloaned | string |
|
Last updated