Get started with the API
Control your accounts from your own scripts and tools: what the API can do, how requests work, and your first call.
What the API is
The API lets your code do what you click in the dashboard. It is plain HTTPS and JSON, so it works from any language. It comes with every paid plan and is in beta. Every request carries one of up to five keys that you create in Settings → API.
| Area | What you can do | Plan | Reference |
|---|---|---|---|
| Accounts | List accounts with live status, connect or disconnect one or a list, Connect All, Stop All, Pause, answer a CAPTCHA. | Tier 1 | Accounts and connections |
| Chat | Send messages and commands, read the chat and console feeds. | Tier 1 | Chat and console |
| Notifications | Hear about kicks, deaths and macro results, and wait for account changes. | Tier 1 | Notifications and live updates |
| Scoreboards and tab list | Read every account’s scoreboard, and who is online on its server. | Tier 1 | Scoreboards and the tab list |
| Macros | List saved macros, run one, stop a run, arm event macros, see what is running. | Tier 1 | Macros |
| Settings | Read and change the server address, version, join command and reconnect settings, and move accounts to another server. | Tier 1 | Settings |
| Inventory and head aim | Read and click inventories and menus, answer server dialogs, write signs and books, turn the head to an angle. | Tier 2 | Movement, tasks, and inventory |
| Stat Checker | Check a server with your accounts or with SSIDs, and read every scoreboard, kick and command reply. | Tier 2 | Stat Checker |
| Movement and tasks | Walk, run pathing and mining tasks, read the head angle. | Tier 3 | Movement, tasks, and inventory |
What each plan includes
An area that needs Tier 2 or Tier 3 in the dashboard needs the same tier through the API. The limits belong to your account and are shared by all your keys.
| What you get | Tier 1 | Tier 2 | Tier 3 |
|---|---|---|---|
| Requests per minute | 30 | 60 | 120 |
| Requests in flight at once | 2 | 4 | 8 |
| Accounts and connections, chat and console, notifications, scoreboards and the tab list, macros, settings | Yes | Yes | Yes |
Inventory, menus, dialogs, signs and books, and head aim (POST /accounts/{id}/look) | No | Yes | Yes |
Stat Checker (/stat-check) | No | Yes | Yes |
Movement, tasks, and reading the head angle (GET /accounts/{id}/look) | No | No | Yes |
A call to an area your plan does not include answers 403 tier2_required or tier3_required. Without an active paid plan every call is refused the same way, with the tier its area needs: tier1_required, tier2_required or tier3_required, and "tier": 0 in the body. Plan changes apply from the next request. GET /me returns your tier, limits and areas.
Your first request
Create your key
Open Settings → API, type a name for the key and click Create key. Click Copy and store it somewhere safe: it is shown only once. API keys and the IP whitelist has the details.
Turn on the IP whitelist
Recommended. Add the public IP of the machine that sends the requests, then switch the whitelist on. A stolen key is then useless from any other IP.
Check the key
Call
GET /mewith the key in theAuthorizationheader. A 200 with your plan means it works.List your accounts
Call
GET /accounts. Every account has anidthat the other account endpoints use.
curl https://dashboard.consoleclient.com/api/v1/me \
-H "Authorization: Bearer cc-api-YOUR_KEY_HERE"{
"discordId": "100000000000000001",
"plan": { "tier": 2, "maxAccounts": 10, "expiresAt": 1792540800000 },
"rateLimit": { "limit": 60, "windowSeconds": 60, "maxConcurrent": 4 },
"ipWhitelist": { "enabled": true, "count": 1 },
"key": { "name": "Sell script", "hint": "N5VC", "createdAt": 1790000000000 },
"access": {
"accounts": true, "chat": true, "macros": true, "settings": true,
"inventory": true, "look": true, "statCheck": true, "movement": false
}
}Base URL and versions
Every endpoint in these guides is relative to this base URL:
https://dashboard.consoleclient.com/api/v1The API is HTTPS only. The v1 in the path is the version. New optional fields and endpoints can appear at any time, so ignore fields your code does not know.
How requests work
| Rule | Detail |
|---|---|
| Authentication | Send Authorization: Bearer cc-api-... on every request. No cookies, no sessions. |
| Request bodies | JSON with Content-Type: application/json. A POST without fields needs no body. |
| Responses | Always JSON. Success is HTTP 200. Anything else is an error with an error code, listed in Errors and rate limits. |
| Times | Unix time in milliseconds. 0 means never or not set. Durations name their unit, like delayMs. |
| Paths | Lower case, as written in these guides. |
| Rate limit | Per plan and shared by all your keys, see the table above. Every response to a valid key carries X-RateLimit-* headers. |
Account IDs
Every account has an id, returned by GET /accounts. It is the email you added the account with, or a generated address ending in @consoleclient.com when there was none, as for cookie and token accounts. For an offline account it is the username. The ID never changes, even when the player name does, so store the ID and not the username.
Use the ID exactly as GET /accounts returns it, letter case included. An @ is fine as it is. URL-encode anything else, such as a space (%20) or the # in a cloned account’s ID: [email protected]#clone-1 becomes [email protected]%23clone-1.
An unencoded # cuts the URL short, so the call reaches the wrong account or no endpoint at all.
POST https://dashboard.consoleclient.com/api/v1/accounts/[email protected]/connectActions are queued, not instant
Your accounts run on Nodes around the world, and the API hands each action to the Node that runs the account. A 200 for connect, disconnect, chat, move or a macro run means the action was accepted and queued. It normally reaches the account in well under a second, but it does not mean the account is online yet or that the server accepted the message.
To confirm an outcome, read it back: poll GET /accounts/{id} until status is connected, or watch GET /chat for the server’s reply. Endpoints that read live data, such as the inventory, wait for the account and return the real result.
Keep the key on a server
Call the API from a server or a script you run yourself. Never put the key in a web page, a browser extension, a mobile app or anything else you hand to other people: whoever can read the code can read the key. The API sends no CORS headers, so browsers refuse to call it from a page.
Where to go next
The table at the top links the reference for every area. Three more guides:
| Guide | Read it when |
|---|---|
| API keys and the IP whitelist | You create keys, lock them to your IPs, or revoke a leaked key. |
| Errors and rate limits | A call failed, or you plan how often to poll. |
| Code examples | You want working Python, Node.js and curl to start from. |
Check the troubleshooting guide or return to all guides.