Get private credit metrics history
curl --request GET \
--url https://api.kamino.finance/kvaults/private-credit/metrics/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/private-credit/metrics/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/private-credit/metrics/history"
response = requests.get(url)
print(response.text)false[
{
"createdOn": "2025-03-01T12:00:00.000Z",
"weightedAvgLtv": "1234.56789",
"maxLtv": "1234.56789",
"statusDistribution": [
{
"status": "<string>",
"share": "1234.56789"
}
]
}
]{
"error": "Invalid query request",
"details": [
{
"code": "invalid_union",
"errors": [
[
{
"code": "custom",
"path": [],
"message": "Invalid date string"
}
],
[
{
"expected": "number",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected number, received string"
}
]
],
"path": [
"start"
],
"message": "Invalid input"
}
]
}{
"metadata": "Account could not be found"
}{
"error": "An internal error occurred"
}Private Credit
Get private credit metrics history
Returns timeseries of private credit metrics. Frequency is automatically selected based on date range.
GET
/
kvaults
/
private-credit
/
metrics
/
history
Get private credit metrics history
curl --request GET \
--url https://api.kamino.finance/kvaults/private-credit/metrics/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/private-credit/metrics/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/private-credit/metrics/history"
response = requests.get(url)
print(response.text)false[
{
"createdOn": "2025-03-01T12:00:00.000Z",
"weightedAvgLtv": "1234.56789",
"maxLtv": "1234.56789",
"statusDistribution": [
{
"status": "<string>",
"share": "1234.56789"
}
]
}
]{
"error": "Invalid query request",
"details": [
{
"code": "invalid_union",
"errors": [
[
{
"code": "custom",
"path": [],
"message": "Invalid date string"
}
],
[
{
"expected": "number",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected number, received string"
}
]
],
"path": [
"start"
],
"message": "Invalid input"
}
]
}{
"metadata": "Account could not be found"
}{
"error": "An internal error occurred"
}Query Parameters
Start date of the range (defaults to Unix epoch). Accepts ISO string or epoch in ms.
Example:
"1970-01-01T00:00:00.000Z"
End date of the range (defaults to current time). Accepts ISO string or epoch in ms.
Example:
"2025-01-01T00:00:00.000Z"
Valid base58-encoded address
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Response
OK
Timestamp when the snapshot was created (ISO 8601 format)
Example:
"2025-03-01T12:00:00.000Z"
Decimal value represented as string
Example:
"1234.56789"
Decimal value represented as string
Example:
"1234.56789"
Show child attributes
Show child attributes