API reference: Stat Checker
Check a server with your accounts or with SSIDs from code, and read every scoreboard, kick and command reply.
What it does
These endpoints run the same check as the Stat Checker tab: each account joins a Java server through a fresh residential IP, and you get its scoreboard, the kick message, a ban flag and the reply to one command. An account stays about a second, or up to about 5 seconds when it runs a command. Besides your own accounts you can send an SSID, the 24 hour Minecraft session token, to check a player you have not added.
Start a check
POST /stat-check queues a check of up to 250 entries.
| Field | Type | Detail |
|---|---|---|
host | string | Required. The server address, like donutsmp.net. |
port | number | Optional, 1 to 65535. Without it, or with 25565, the server’s SRV record is used, like the game does. |
version | string | Optional. auto (the default) reads it from the server, or a Java version like 1.21.4. |
command | object | Optional. { "command": "/stats", "type": "dialog" } runs one command after joining. type is what it opens: dialog (a server dialog, Java 1.21.6 and newer, the default) or gui (a chest menu). On an older version, or with auto when the server does not answer the ping, a dialog becomes gui. Replies in chat are not captured. |
accounts | array | Required. 1 to 250 entries, each with exactly one of the fields below. |
| Entry | What it checks |
|---|---|
{ "accountId": "[email protected]" } | One of your accounts, by its ID from GET /accounts. |
{ "username": "ConsoleClient" } | Your account with this player name, in any case. Several of your accounts with one name are one player, checked once. |
{ "ssid": "eyJhbGciOi..." } | A session token, in the same format as when you add an SSID account. |
curl -X POST https://dashboard.consoleclient.com/api/v1/stat-check \
-H "Authorization: Bearer $CC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"host": "donutsmp.net", "command": {"command": "/stats"}, "accounts": [{"username": "ConsoleClient"}, {"ssid": "eyJhbGciOi..."}]}'The answer is the new check, in the shape below, and your quota. used already counts every entry that will start.
{
"job": { "id": "9f2c4e1a0b3d5e6f", "done": false, "completed": 0, "total": 2, "entries": [ ... ] },
"quota": { "limit": 2000, "used": 2, "remaining": 1998, "resetsAt": 1798779600000, "period": "2026-11" }
}Read the results
| Endpoint | What it returns |
|---|---|
GET /stat-check/{jobId} | One check. Add ?since= with the last seq you saw to get only the entries that changed. |
GET /stat-check | Your current or last check, also one started in the tab. { "job": null } before your first one. |
GET /stat-check/quota | { "quota": { "limit", "used", "remaining", "resetsAt", "period" } } for this month. |
{
"job": {
"id": "9f2c4e1a0b3d5e6f",
"host": "donutsmp.net",
"port": 25565,
"version": "auto",
"command": { "command": "/stats", "type": "dialog" },
"done": true,
"completed": 2,
"total": 2,
"position": 0,
"queueLength": 0,
"etaMs": 0,
"createdAt": 1790000000000,
"startedAt": 1790000000500,
"finishedAt": 1790000009000,
"seq": 6,
"partial": false,
"entries": [
{
"index": 0,
"username": "ConsoleClient",
"accountId": "[email protected]",
"state": "done",
"result": {
"status": "ok",
"banned": false,
"username": "ConsoleClient",
"error": "",
"kick": null,
"scoreboard": {
"title": { "text": "DonutSMP", "formatted": "§b§lDonutSMP" },
"lines": [{ "text": "Money $16.7M", "formatted": "§fMoney §a$16.7M", "score": 0 }]
},
"command": {
"command": "/stats", "type": "dialog", "status": "ok", "opened": "dialog",
"title": { "text": "Stats", "formatted": "Stats" },
"lines": [{ "text": "Kills: 12", "formatted": "§7Kills: §f12" }],
"items": []
}
}
},
{
"index": 1,
"ssid": true,
"state": "done",
"result": {
"status": "kicked",
"banned": true,
"username": "ConsoleClient2",
"error": "",
"kick": { "text": "You are banned from this server.", "formatted": "§cYou are banned from this server." },
"scoreboard": null,
"command": null
}
}
]
}
}| Field | Meaning |
|---|---|
done | true when every entry has a result. |
completed, total | Entries with a result, and all entries. |
position, queueLength | position is 1 while your check runs, 2 or more while it waits behind other customers, 0 when it finished. queueLength is how many checks run or wait across all customers. |
etaMs | About how long until it finishes, in milliseconds. |
index | The entry’s place in your request. Entries come back in that order. |
accountId, username, ssid | What you sent. A username entry also names the account it used. An SSID entry only says "ssid": true: the token is never sent back. |
state | queued, checking or done. result is null until done. |
status | ok (joined), kicked (the kick is in kick) or error (the check could not run, see error). |
banned | true when the kick mentions a ban, a suspension, a blacklist or the word blocked. |
username | The name the account joined with. For an SSID it is the player the token belongs to. |
scoreboard | The sidebar title and every line with its score, or null. |
command | The reply to your command: opened says what the server opened (dialog, gui or null), dialogs fill lines, menus fill items (slot, item, count, name, lore). status is timeout when nothing opened within 4 seconds. |
Every text from the server comes as text (plain) and formatted (with § color codes). No totals are added up for you: sum the lines you need.
Wait for the results
Start the check
Keep
job.idandjob.seqfrom the answer.Poll every few seconds
Call
GET /stat-check/{jobId}?since={seq}. Withsince,partialistrueandentriesonly has the entries that changed: merge them byindexand keep the newseq.Stop when done
Stop when
doneistrue.
One account starts per second across all customers, so 250 entries take a little over four minutes, plus any wait in the queue. A finished check stays readable until you start the next one.
Checking an SSID
| Topic | What to expect |
|---|---|
| Format | The same as an SSID account: the three dot separated parts of the token. An expired token is refused before anything is charged. |
| Privacy | The token is used for this one check and kept in memory only: by Console Client until a Node starts the check, then by that Node until the check ends. It is never stored, logged or sent back. |
| Refused token | The entry ends with Login failed: SSID token is invalid or expired in error. |
| Same server | Console Client cannot see where that player is online. If they are on the same server right now, one of the two logins may be kicked. |
| Node update | While the Nodes you can use run an older version, an SSID entry ends with Checks with an SSID are not available on the Nodes yet. Try again later. in error and is not charged. Your own accounts are checked as usual. |
Errors
| Error | HTTP | Meaning |
|---|---|---|
tier2_required | 403 | Your plan is below Tier 2. |
invalid_host, invalid_port, invalid_version | 400 | The server address, port or version is not valid. Private addresses are refused. |
invalid_command | 400 | command is not an object with a 1 to 256 character command, or its type is not dialog or gui. |
no_accounts, too_many_accounts | 400 | accounts is empty, or has more than 250 entries (max). |
invalid_entry | 400 | An entry is not an object with exactly one of accountId, username or ssid. |
account_not_found | 400 | No account of yours has that ID or player name. |
bedrock_not_supported | 400 | The account is a Bedrock account. Stat Checker is Java only. |
invalid_ssid, ssid_expired | 400 | The token is not a session token, or its time ran out. |
duplicate_entry | 400 | The same account or token is in the list twice. |
quota_exceeded, quota_short | 429 | No checks are left this month, or fewer than you sent. quota has the numbers. |
job_running | 429 | Your last check is still running or queued. jobId names it, unless that check is still being set up. |
no_proxies | 503 | No residential proxy is available right now. Try again later. |
job_not_found | 404 | No check of yours with that ID. Only your current or last check can be read. An ID that is not 16 hex characters answers unknown_endpoint. |
Errors about one entry carry its index. Nothing is charged for a refused request. Other problems show in an entry’s error, like an account that is online on that server right now.
Check the troubleshooting guide or return to all guides.