Game

Query MC Server

0calls
1 credits / call

Want to check how many people are online before joining a server? Or verify if the server is running? This endpoint is perfect for that!

Overview

By providing a server address (domain or IP), you can get the real-time status of a Minecraft Java Edition server. Returned information includes whether the server is online, current player count, max player count, server version, MOTD (Message of the Day) and server icon.

If the server returns a list of currently online players, the response will include an online_players field. This field may be omitted, and some servers may return incomplete lists.

Query parameters

server
stringrequired

Minecraft server address, can be a domain (e.g., hypixel.net) or in IP:port format (e.g., mc.example.com:25565). If port is omitted, it will default to 25565.

Response

200 / OK

Query successful! Returns detailed server status information.

JSON

400 / Bad Request

Request failed. Please check if you provided the server parameter.

JSON

404 / Not Found

Server not found. This may mean the server address you provided cannot be resolved, or the server is currently offline.

JSON

502 / Bad Gateway

Query failed. A network or protocol error occurred while attempting to connect and retrieve server information.

JSON