Get current metrics for multiple KVaults
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/metricsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/metrics"
response = requests.get(url)
print(response.text)false{
"result": [
{
"apy7d": "0.2",
"apy24h": "0.2",
"apy30d": "0.2",
"apy90d": "0.2",
"apy180d": "0.2",
"apy365d": "0.2",
"tvlUsd": "1234.56789",
"tvlSol": "1234.56789",
"deposit_cap": "1234.56789",
"vaultType": "<string>",
"tokenPrice": "1234.56789",
"solPrice": "1234.56789",
"tokensAvailable": "1234.56789",
"tokensAvailableUsd": "1234.56789",
"tokensInvested": "1234.56789",
"tokensInvestedUsd": "1234.56789",
"sharePrice": "1234.56789",
"tokensPerShare": "1234.56789",
"apy": "0.2",
"apyTheoretical": "0.2",
"apyActual": "0.2",
"apyFarmRewards": "0.2",
"apyIncentives": "0.2",
"apyReservesIncentives": "0.2",
"numberOfHolders": 123,
"sharesIssued": "1234.56789",
"cumulativeInterestEarned": "1234.56789",
"cumulativeInterestEarnedUsd": "1234.56789",
"cumulativeInterestEarnedSol": "1234.56789",
"interestEarnedPerSecond": "1234.56789",
"interestEarnedPerSecondUsd": "1234.56789",
"interestEarnedPerSecondSol": "1234.56789",
"cumulativePerformanceFees": "1234.56789",
"cumulativePerformanceFeesUsd": "1234.56789",
"cumulativePerformanceFeesSol": "1234.56789",
"cumulativeManagementFees": "1234.56789",
"cumulativeManagementFeesUsd": "1234.56789",
"cumulativeManagementFeesSol": "1234.56789",
"kvault": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
}
],
"paginationToken": "eyJsYXN0SWQiOjgxfQ=="
}{
"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"
}
]
}{
"error": "An internal error occurred"
}Kamino Earn Vaults
Get current metrics for multiple KVaults
Get current Kamino Earn Vault metrics with cursor pagination or an address filter
GET
/
kvaults
/
vaults
/
metrics
Get current metrics for multiple KVaults
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/metricsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/metrics"
response = requests.get(url)
print(response.text)false{
"result": [
{
"apy7d": "0.2",
"apy24h": "0.2",
"apy30d": "0.2",
"apy90d": "0.2",
"apy180d": "0.2",
"apy365d": "0.2",
"tvlUsd": "1234.56789",
"tvlSol": "1234.56789",
"deposit_cap": "1234.56789",
"vaultType": "<string>",
"tokenPrice": "1234.56789",
"solPrice": "1234.56789",
"tokensAvailable": "1234.56789",
"tokensAvailableUsd": "1234.56789",
"tokensInvested": "1234.56789",
"tokensInvestedUsd": "1234.56789",
"sharePrice": "1234.56789",
"tokensPerShare": "1234.56789",
"apy": "0.2",
"apyTheoretical": "0.2",
"apyActual": "0.2",
"apyFarmRewards": "0.2",
"apyIncentives": "0.2",
"apyReservesIncentives": "0.2",
"numberOfHolders": 123,
"sharesIssued": "1234.56789",
"cumulativeInterestEarned": "1234.56789",
"cumulativeInterestEarnedUsd": "1234.56789",
"cumulativeInterestEarnedSol": "1234.56789",
"interestEarnedPerSecond": "1234.56789",
"interestEarnedPerSecondUsd": "1234.56789",
"interestEarnedPerSecondSol": "1234.56789",
"cumulativePerformanceFees": "1234.56789",
"cumulativePerformanceFeesUsd": "1234.56789",
"cumulativePerformanceFeesSol": "1234.56789",
"cumulativeManagementFees": "1234.56789",
"cumulativeManagementFeesUsd": "1234.56789",
"cumulativeManagementFeesSol": "1234.56789",
"kvault": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
}
],
"paginationToken": "eyJsYXN0SWQiOjgxfQ=="
}{
"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"
}
]
}{
"error": "An internal error occurred"
}Query Parameters
KVault public keys, provided as comma-separated or repeated query parameters (max 100)
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Maximum number of vault addresses to inspect (1-100)
Required range:
1 <= x <= 100Example:
100
Optional pagination token
Example:
"eyJsYXN0SWQiOjgxfQ=="