Get stats for multiple KVaults
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/batch/statsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/batch/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/batch/stats"
response = requests.get(url)
print(response.text)false{}{
"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 stats for multiple KVaults
Get derived stats for Kamino Earn Vaults computed from the current on-chain state: supply APY breakdown (base gross/net, vault farm incentives, reserve farm incentives), per-token vault farm rewards, holdings, share price, utilization, instant liquidity and the per-reserve allocation breakdown. The response is keyed by vault public key; unknown vaults are omitted. Omit the vaults parameter to include every vault.
GET
/
kvaults
/
vaults
/
batch
/
stats
Get stats for multiple KVaults
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/batch/statsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/batch/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/batch/stats"
response = requests.get(url)
print(response.text)false{}{
"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). Omit to include every vault.
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Response
OK
Vault stats keyed by vault public key. Unknown vaults are omitted.
Show child attributes
Show child attributes