We provide a simple api which allows you to ping Minecraft servers for information such as MOTD, Favicon, Player count and version.
A request could look something like this to find information about Hypixel:
GEThttps://eu.mc-api.net/v3/server/ping/mc.hypixel.net
To try this API, click the button on the right:
JSON response will be shown here
Most of the response is self-explanatory, less obvious fields are explained below.
The took
, fetch
and cache
fields are explained here.
If the server you queried was an SRV record we will resolve it and provide the original IP address and port within the dns
object. If this object is not present then we could not detect an SRV record.