Minecraft Server Status API
Overview
The Minecraft Server Status API lets you check whether a Minecraft server is online and retrieve its player count, version, and MOTD without connecting to the server yourself. It works for both Java and Bedrock edition servers, and requires no API key. This is perfect for server dashboards, bots, or community websites.
Beginner Tip
Use the /2/server/status/java/{host} endpoint to check any public Java server — replace {host} with the server address (e.g. hypixel.net). The response tells you online status, player count, and server version at a glance.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.mcsrvstat.us/2/hypixel.net
- Result
- HTTP 200 · application/json · 17,276 bytes · compressed
- Response time
- 39 ms (median of 3) · fastest 37 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- cloudflare
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| ip | string | 172.65.197.160 |
| port | integer | 25565 |
| debug | object | {14 fields} |
| motd | object | {3 fields} |
| players | object | {2 fields} |
| version | string | Requires MC 1.8 / 1.21 |
| online | boolean | true |
| protocol | integer | 47 |
| protocol_name | string | 1.8.9 |
| hostname | string | mc.hypixel.net |
| icon | string | data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA… |
| eula_blocked | boolean | false |
Captured Response
Captured from a real request to https://api.mcsrvstat.us/2/hypixel.net on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"ip": "172.65.197.160",
"port": 25565,
"debug": {
"ping": true,
"query": false,
"bedrock": false,
"srv": false,
"querymismatch": false,
"ipinsrv": false,
"cnameinsrv": false,
"animatedmotd": false,
"cachehit": true,
"cachetime": 1786391305,
"cacheexpire": 1786391605,
"apiversion": 2,
"dns": {
"a": [
{
"…": "(3 more fields)"
}
]
},
"error": {
"query": "Failed to read from socket."
}
},
"motd": {
"raw": [
"§f §aHypixel Network §c[1.8/26.2]"
],
"clean": [
" Hypixel Network [1.8/26.2]"
],
"html": [
"<span style=\"color: #FFFFFF;\"> </span><span style=\"color: #55FF55;\">Hypixel Network </span><span style=\"color: #FF5555;\">[1.8/26.2]</span>"
]
},
"players": {
"online": 40816,
"max": 200000
},
"version": "Requires MC 1.8 / 1.21",
"online": true,
"protocol": 47,
"protocol_name": "1.8.9",
"hostname": "mc.hypixel.net",
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAt0UlEQVR4XnV7B3hc1bX12Oq9Te+9d400TV2yLFndkiXZlm1Z7r3gChibEhwgiQ1JSELCgzyaqYFQQggvCQ/SXx6…",
"eula_blocked": false
} Field Reference
online True if the server responded to the status ping, false if it is offline or unreachable players Player information with online (current count) and max (server capacity) fields version The Minecraft version string the server is running (e.g. 1.20.1) motd Message of the day in raw and clean formats; clean strips color codes for easy display icon Base64-encoded PNG of the server icon, ready to use as an img src data URI Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.mcsrvstat.us/2/hypixel.net";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Animal Crossing: New Horizons
⭐ Beginner's PickThe Animal Crossing: New Horizons API gives you free access to in-game data including villagers, critters, fossils, art, music, and furniture.
Autochess VNG
The Autochess VNG API provides game data for the Autochess VNG mobile game including heroes, items, and races.
Barter.VG
Barter.VG aggregates data about PC games, DLC, bundles, giveaways, and trading from Steam and other platforms.
Digimon Information
⭐ Beginner's PickThe Digimon Information API provides easy access to data about Digimon creatures, including their names, levels, types, and images.
Genshin Impact
⭐ Beginner's PickThe Genshin Impact API provides detailed game data including characters, weapons, artifacts, enemies, and domains from the popular action RPG.