Get USD benchmark lending rates
curl --request GET \
--url https://api.kamino.finance/benchmark-rates/usdconst options = {method: 'GET'};
fetch('https://api.kamino.finance/benchmark-rates/usd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/benchmark-rates/usd"
response = requests.get(url)
print(response.text)false[
{
"index": 123,
"hour": "<string>",
"tracked_supply": 123,
"avg_rate": 123,
"elements": 123,
"included_protocols": 123
}
]{
"error": "An internal error occurred"
}Other
Get USD benchmark lending rates
Returns USD benchmark lending rates aggregated across multiple protocols. Data is sourced from Allez and cached. Supports filtering by date range and downsampling by frequency.
GET
/
benchmark-rates
/
usd
Get USD benchmark lending rates
curl --request GET \
--url https://api.kamino.finance/benchmark-rates/usdconst options = {method: 'GET'};
fetch('https://api.kamino.finance/benchmark-rates/usd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/benchmark-rates/usd"
response = requests.get(url)
print(response.text)false[
{
"index": 123,
"hour": "<string>",
"tracked_supply": 123,
"avg_rate": 123,
"elements": 123,
"included_protocols": 123
}
]{
"error": "An internal error occurred"
}Query Parameters
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"
Data frequency/granularity. Defaults to hour.
Available options:
hour, day Example:
"hour"
Response
OK