Get current KVault allocations
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/{pubkey}/allocationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/{pubkey}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/{pubkey}/allocations"
response = requests.get(url)
print(response.text)false{
"asOf": "2025-03-01T12:00:00.000Z",
"capitalDeployedUsd": "1234.56789",
"utilizationRatio": "1234.56789",
"allocations": [
{
"reserve": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"market": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"marketName": "<string>",
"tokenMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"symbol": "<string>",
"targetWeightPct": "1234.56789",
"actualPct": "1234.56789",
"suppliedTokenAmount": "1234.56789",
"suppliedUsd": "1234.56789",
"capTokenAmount": "1234.56789",
"utilizationRatio": "1234.56789",
"supplyApy": "0.123",
"rewardsApy": "0.123",
"collateral": [
{
"mint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"symbol": "<string>",
"totalSupplyUsd": "1234.56789",
"liqLtvPct": "1234.56789"
}
]
}
],
"unallocated": {
"tokenAmount": "1234.56789",
"usd": "1234.56789",
"pct": "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"
}Kamino Earn Vaults
Get current KVault allocations
Get current reserve allocations, utilization, supply APYs, and market collateral for a Kamino Earn Vault
GET
/
kvaults
/
vaults
/
{pubkey}
/
allocations
Get current KVault allocations
curl --request GET \
--url https://api.kamino.finance/kvaults/vaults/{pubkey}/allocationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kvaults/vaults/{pubkey}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kvaults/vaults/{pubkey}/allocations"
response = requests.get(url)
print(response.text)false{
"asOf": "2025-03-01T12:00:00.000Z",
"capitalDeployedUsd": "1234.56789",
"utilizationRatio": "1234.56789",
"allocations": [
{
"reserve": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"market": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"marketName": "<string>",
"tokenMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"symbol": "<string>",
"targetWeightPct": "1234.56789",
"actualPct": "1234.56789",
"suppliedTokenAmount": "1234.56789",
"suppliedUsd": "1234.56789",
"capTokenAmount": "1234.56789",
"utilizationRatio": "1234.56789",
"supplyApy": "0.123",
"rewardsApy": "0.123",
"collateral": [
{
"mint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"symbol": "<string>",
"totalSupplyUsd": "1234.56789",
"liqLtvPct": "1234.56789"
}
]
}
],
"unallocated": {
"tokenAmount": "1234.56789",
"usd": "1234.56789",
"pct": "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"
}Path Parameters
Valid base58-encoded address
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Response
OK
Timestamp when the allocation snapshot was computed
Example:
"2025-03-01T12:00:00.000Z"
Total USD value deployed across allocation reserves
Example:
"1234.56789"
Borrowed share of total vault assets, including unallocated funds, in decimal format
Example:
"1234.56789"
Show child attributes
Show child attributes
Show child attributes
Show child attributes