For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get loan pool

This endpoint returns the current state of the loan pool including utilization, borrow and lend rates.

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
}
Field
Type
Description

"total_borrowed"

decimal string

Total amount currently borrowed from the pool

"total_borrowable"

decimal string

Total amount available to borrow

"utilization"

decimal string

Pool utilization ratio (borrowed / total)

"borrow_rate_apr"

decimal string

Current annualized borrow rate

"borrow_rate_apy"

decimal string

Current compounded annual borrow rate

"lend_rate_apr"

decimal string

Current annualized lending rate

"lend_rate_apy"

decimal string

Current compounded annual lending rate

"utilization_max"

decimal string

Maximum utilization cap for the pool

"auto_lender_entry_threshold"

decimal string

Minimum balance threshold to be included in auto-lending

"last_interest_accrual_at"

integer or null

Timestamp of last interest accrual (ms). null if never accrued

"last_interest_payout_at"

integer or null

Timestamp of last interest payout (ms). null if never paid out

"updated_at"

integer

Timestamp of last update (ms)

  • Status 500: Internal server error

Code Example (Python)

Last updated