Get underlying token yield history
curl --request GET \
--url https://api.kamino.finance/v2/underlying-yields/{mint}/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/underlying-yields/{mint}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/underlying-yields/{mint}/history"
response = requests.get(url)
print(response.text)false{
"mint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"sourceType": "lst",
"sourceMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"history": [
{
"timestamp": "2023-11-07T05:31:56Z",
"apy": "0.2"
}
]
}{
"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"
}Yields
Get underlying token yield history
Get the native yield history for a reserve liquidity mint, with server-side source classification and combined LST alignment.
GET
/
v2
/
underlying-yields
/
{mint}
/
history
Get underlying token yield history
curl --request GET \
--url https://api.kamino.finance/v2/underlying-yields/{mint}/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/underlying-yields/{mint}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/underlying-yields/{mint}/history"
response = requests.get(url)
print(response.text)false{
"mint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"sourceType": "lst",
"sourceMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"history": [
{
"timestamp": "2023-11-07T05:31:56Z",
"apy": "0.2"
}
]
}{
"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"
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"
Response
OK
Reserve liquidity mint requested by the caller
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Available options:
lst, lst-combined, yield-feed Mint whose yield series produced the values, or null for a combined LST series
Example:
"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
Show child attributes
Show child attributes