Introduction
Use GET requests with a key created in-game using /api. Keys are private; creating a new key revokes your previous one.
Authorization: Bearer YOUR_API_KEY. The X-API-Key header also works.KKW SMP API
BASE /v1Use GET requests with a key created in-game using /api. Keys are private; creating a new key revokes your previous one.
Authorization: Bearer YOUR_API_KEY. The X-API-Key header also works.Paste a key generated with /api. It stays only in this browser.
/meYour API accountReturns the Minecraft account that owns the API key.
{ "ok": true, "account": { "uuid": "...", "name": "Player" } }/statusLive server statusReturns online players, maximum players, TPS and uptime. Cached for 10 seconds.
/players/{player}Get a playerReturns balance, shards, combat, building and playtime statistics. Cached for 15 seconds.
/teams/{name}Get a teamReturns a team owner, members and friendly-fire setting.
/leaderboards/{category}Top playersCategories: money, shards, kills, deaths or playtime. Cached for 30 seconds.
/pricesItem pricesReturns configured in-game shop buy and sell prices. Cached for 60 seconds.
/bountiesActive bountiesReturns active player bounties sorted by value.
/auctionsAuction houseReturns active Auction House listings with item, amount, seller, price and timestamp.
/ordersBuy ordersReturns all active buy orders.
/orders/mineYour buy ordersReturns only orders owned by your API account.
Errors use JSON: { "ok": false, "error": "...", "message": "..." }. Common statuses are 401 for invalid keys, 404 for an unknown route/player/team, 405 for non-GET requests and 429 for rate limits.