Get token prices
curl --request GET \
--url https://api.kamino.finance/pricesconst options = {method: 'GET'};
fetch('https://api.kamino.finance/prices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/prices"
response = requests.get(url)
print(response.text)false[
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"token": "USDC",
"usdPrice": "0.9996"
}
]{
"error": "Invalid query params",
"details": [
{}
]
}{
"error": "An internal error occurred"
}Prices
Get token prices
Get the USD price for tokens tracked by Kamino, keyed by mint address and token symbol.
GET
/
prices
Get token prices
curl --request GET \
--url https://api.kamino.finance/pricesconst options = {method: 'GET'};
fetch('https://api.kamino.finance/prices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/prices"
response = requests.get(url)
print(response.text)false[
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"token": "USDC",
"usdPrice": "0.9996"
}
]{
"error": "Invalid query params",
"details": [
{}
]
}{
"error": "An internal error occurred"
}