Get user airdrop allocations
curl --request GET \
--url https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocations"
response = requests.get(url)
print(response.text)false[
{
"quantity": "1234.56789",
"name": "main"
}
]{
"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"
}Airdrop
Get user airdrop allocations
Fetches airdrop allocation data for a specific user and source (Seasons…)
GET
/
v2
/
airdrop
/
users
/
{pubkey}
/
allocations
Get user airdrop allocations
curl --request GET \
--url https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/airdrop/users/{pubkey}/allocations"
response = requests.get(url)
print(response.text)false[
{
"quantity": "1234.56789",
"name": "main"
}
]{
"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
Valid base58-encoded address of the user wallet
Example:
"AxqtG9SHDkZTLSWg81Sp7VqAzQpRqXtR9ziJ3VQAS8As"
Query Parameters
Points source identifier
Examples:
"Season1"
"Season2"
"Season3"
"Season4"