Status
Base: /api/status
The status endpoint is the quickest way to see whether a Hytale server is running and how busy it is. A status display on your website, a Discord bot or a regular monitoring job can call it and read player count, TPS, CPU and memory from a single response. As with every endpoint of the HytaleAdminAPI, you must send the X-Admin-Token header, and you find the port in the mod config.json (default 5550). If the server does not answer at all, the server or the mod is unreachable, because the response itself always contains online: true.
/api/status
Get server status
Returns the state of the server as a flat JSON object: online, online_players, max_players, default_world, world_count, server_name and version, plus cpu_system and cpu_process in percent, ram_total_mb, ram_free_mb and ram_used_mb for the machine, heap_used_mb, heap_max_mb and heap_percent for the Java runtime, uptime and jvm_uptime as readable texts (for example 2h 5m) with the values uptime_ms and jvm_uptime_ms in milliseconds, tps and installed_mods_count.
Response Example
{
"online": true,
"online_players": 3,
"default_world": "default",
"world_count": 2,
"server_name": "Hytale Server",
"max_players": 100,
"version": "0.7.0",
"cpu_system": 11,
"cpu_process": 4,
"ram_total_mb": 16384,
"ram_free_mb": 9120,
"ram_used_mb": 7264,
"heap_used_mb": 1444,
"heap_max_mb": 8192,
"heap_percent": 17,
"jvm_uptime": "2h 15m",
"jvm_uptime_ms": 8100000,
"uptime": "2h 14m",
"uptime_ms": 8040000,
"tps": 30.0,
"installed_mods_count": 2
}
cURL
curl -X GET 'http://localhost:5550/api/status' \
-H 'X-Admin-Token: YOUR_TOKEN'