Get raw token holdings for a wallet
curl --request GET \
--url https://api.kamino.finance/user/{walletPubkey}/holdingsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/user/{walletPubkey}/holdings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/user/{walletPubkey}/holdings"
response = requests.get(url)
print(response.text)false{
"tokens": {}
}{
"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"
}User
Get raw token holdings for a wallet
Returns raw SPL Token, Token-2022, and native SOL holdings keyed by mint. Native SOL is reported under the wrapped SOL mint and summed with any wrapped SOL token-account balance. Holdings are priced from cached Scope spot prices with kswap fallback prices when Scope has no price; valueUsd is null when neither source has a price. When minValueUsd is set, holdings below the threshold and unpriced holdings are excluded.
GET
/
user
/
{walletPubkey}
/
holdings
Get raw token holdings for a wallet
curl --request GET \
--url https://api.kamino.finance/user/{walletPubkey}/holdingsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/user/{walletPubkey}/holdings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/user/{walletPubkey}/holdings"
response = requests.get(url)
print(response.text)false{
"tokens": {}
}{
"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"
}Path Parameters
User wallet public key
Example:
"AxqtG9SHDkZTLSWg81Sp7VqAzQpRqXtR9ziJ3VQAS8As"
Query Parameters
Minimum USD value to include. When set, holdings below the threshold and holdings without a known price are excluded.
Required range:
x >= 0Example:
0.01
Response
OK
Raw wallet token holdings keyed by mint public key.
Show child attributes
Show child attributes