Skip to main content
GET /api/v1/loan_pool

Response

  • Status 200: Success
{
  "success": true,
  "data": {
    "total_borrowed": "500000.000000",
    "total_borrowable": "2000000.000000",
    "utilization": "0.25",
    "borrow_rate_apr": "0.08",
    "borrow_rate_apy": "0.0833",
    "lend_rate_apr": "0.06",
    "lend_rate_apy": "0.0618",
    "utilization_max": "0.85",
    "auto_lender_entry_threshold": "1000.000000",
    "last_interest_accrual_at": 1716200000000,
    "last_interest_payout_at": 1716200000000,
    "updated_at": 1716200000000
  },
  "error": null,
  "code": null
}
FieldTypeDescription
”total_borrowed”decimal stringTotal amount currently borrowed from the pool
”total_borrowable”decimal stringTotal amount available to borrow
”utilization”decimal stringPool utilization ratio (borrowed / total)
“borrow_rate_apr”decimal stringCurrent annualized borrow rate
”borrow_rate_apy”decimal stringCurrent compounded annual borrow rate
”lend_rate_apr”decimal stringCurrent annualized lending rate
”lend_rate_apy”decimal stringCurrent compounded annual lending rate
”utilization_max”decimal stringMaximum utilization cap for the pool
”auto_lender_entry_threshold”decimal stringMinimum balance threshold to be included in auto-lending
”last_interest_accrual_at”integer or nullTimestamp of last interest accrual (ms). null if never accrued
”last_interest_payout_at”integer or nullTimestamp of last interest payout (ms). null if never paid out
”updated_at”integerTimestamp of last update (ms)
  • Status 500: Internal server error

Code Example (Python)

import requests

response = requests.get(
    "/api/v1/loan_pool",
    headers={"Accept": "*/*"},
)

data = response.json()