API Reference
The Cloud Breach public API lets you build stat trackers, Discord bots, leaderboard sites, and community tools. All endpoints are free, unauthenticated, and return JSON.
All endpoints are rate limited per IP address. Exceeding the limit returns a 429 response.
X-RateLimit-Limit and X-RateLimit-Remaining headers so you can track your usage.
| Status | Meaning | When it happens |
|---|---|---|
| 200 | OK | Request succeeded. |
| 400 | Bad Request | Invalid Steam ID format or missing parameter. |
| 404 | Not Found | Player hasn't played Cloud Breach yet, or the resource doesn't exist. |
| 429 | Too Many Requests | Rate limit exceeded. Back off and retry after 60 seconds. |
| 500 | Server Error | Something went wrong on our end. Try again shortly. |
{ "error": "Description of the problem" }
Returns a player's Cloud Breach profile including level, XP, loadout, and ban status. The Steam ID must be a valid 17-digit Steam64 ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
| steamid | string | Required | 17-digit Steam64 ID of the player. |
"Dev", "Mod", "Playtester", or null for regular players.Returns the top players ranked by level, then XP. Banned players are excluded. Maximum 50 results.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | Optional | Number of results to return. Default: 50. Max: 50. |
Fetches live Steam data for a player: online status, playtime in Cloud Breach, and unlocked achievements. Results are cached for 2 minutes.
playtimeMinutes: null if the player's Steam profile is set to private.
Returns the current number of players in-game via Steam. Cached for 5 minutes.
Returns all published FAQ entries, grouped by category.
Practical examples for common use cases in JavaScript, Python, and for Discord bots.
A minimal Discord.js bot command that looks up a player by Steam ID and posts their stats.
YOUR_BOT_TOKEN and register the command with Discord's API to deploy.
api.cloudbreachgame.com.