API reference · Holder rewards
List basket assets
GET https://payday.direct/api/v1 /rewards/assetsCopy
Every asset a basket may hold: SOL, USDC and the assets pump.fun pairs with. fund says whether a Fund basket may hold it; ?for=fund lists only those.
Needs an API key in Authorization: Bearer or X-API-Key. Authentication
limitinteger default 50
How many to return
cursorstring
next_cursor from the previous page
qstring
filter by ticker, name or the start of the mint
for"payout" | "fund"
only what that basket type may hold: payout is the full list (also the payback asset list); fund is stocks, pre-IPO tokens, the majors and the named memes, never USDC
200 OK
401 Missing or invalid key
429 Over the limit. Retry-After says when to try again.
cURL JavaScript Python Copy
curl "https://payday.direct/api/v1/rewards/assets" \
-H "Authorization: Bearer pd_YOUR_KEY" const res = await fetch("https://payday.direct/api/v1/rewards/assets", {
headers: { Authorization: "Bearer " + process.env.PAYDAY_KEY },
});
const json = await res.json();
if (!res.ok) throw new Error(json.error?.code);
console.log(json);import os, requests
r = requests.get(
"https://payday.direct/api/v1/rewards/assets",
headers={"Authorization": "Bearer " + os.environ["PAYDAY_KEY"]},
)
r.raise_for_status()
print(r.json())Response 200 Copy
{
"data" : [
{
"mint" : "So11111111111111111111111111111111111111112" ,
"symbol" : "SOL" ,
"name" : "Solana" ,
"kind" : "major" ,
"image" : "https://payday.direct/sol-mark.svg" ,
"fund" : true
},
{
"mint" : "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" ,
"symbol" : "USDC" ,
"name" : "USD Coin" ,
"kind" : "stable" ,
"image" : "https://payday.direct/usdc-mark.svg" ,
"fund" : false
}
],
"next_cursor" : "Mg" ,
"total" : 241 ,
"for" : null ,
"baskets" : {
"open" : true ,
"types" : [
"payout" ,
"fund"
],
"max_assets" : 15
}
}