Build on Kuma
Read your server's levels, coins and moderation cases from your own code, hear about things the moment they happen, and reward members from your games, streams and sites.
Getting startedMake a key and send your first request in five minutes.
Website leaderboardShow your server's XP ranking on your own site.
Rewards from your appGive coins or XP when someone wins, subscribes or shows up.
WebhooksLet Kuma tell your server when a case opens or someone levels up.
What it looks like
curl https://api.kumabot.xyz/v1/servers/YOUR_SERVER_ID/levels/leaderboard?limit=3 \
-H "Authorization: Bearer kuma_sk_…"{
"data": [
{ "rank": 1, "user": { "id": "01HZX…", "username": "honeybear", "avatar_url": "https://…" }, "xp": 48210, "level": 21, "xp_for_next_level": 48400 },
{ "rank": 2, "user": { "id": "01HZY…", "username": "kumafan", "avatar_url": null }, "xp": 39950, "level": 19, "xp_for_next_level": 40000 }
],
"next_cursor": "eyJ2IjoxLCJzIjozOTk1MCwidSI6IjAxSFpZ4oCmIn0"
}How it works
- One key, one server. A server's owner (or staff they trust with the "Developer API keys" permission) makes keys on the dashboard and chooses exactly what each can do.
- Never more than the person who made it. A key can only be given what its maker could do themselves, and stops when they lose that access.
- Works on Stoat, Discord and Fluxer. The same API, whichever platform the server is on. Members who linked their accounts share one level and balance.
- Stable. Nothing in
/v1is renamed or removed. New fields and endpoints get added; ignore what you don't recognise.