2024-04-21 04:47:52 +00:00
---
title: Server Lookup
summary: Get information about a server.
---
2024-04-22 19:07:53 +00:00
# Overview
2024-04-21 04:47:52 +00:00
The server lookup endpoint allows you to get information about a server. This includes the server's IP address, port, and any other information that is available.
## Endpoint
```
GET /server/:platform/:query
```
## Platforms
| Platform | Description |
|----------|-----------------|
| bedrock | Bedrock Edition |
| java | Java Edition |
## Parameters
| Parameter | Description | Required |
|-----------|---------------------------------------------------------------|----------|
| platform | The platform of the server you want to look up. | No |
| query | The IP address or hostname of the server you want to look up. | Yes |
## Example
```bash
curl -X GET "https://api.mcutils.xyz/server/java/play.hypixel.net" -H "accept: application/json"
```
## Response
```json
{
"cache": {
2024-04-22 00:56:01 +00:00
"cached": true,
"cachedTime": 1713747259031
2024-04-21 04:47:52 +00:00
},
"hostname": "play.hypixel.net",
2024-04-22 00:56:01 +00:00
"ip": "209.222.115.34",
2024-04-21 04:47:52 +00:00
"port": 25565,
"records": [
{
"type": "A",
"ttl": 60,
2024-04-22 00:56:01 +00:00
"address": "209.222.115.34"
2024-04-21 04:47:52 +00:00
}
],
"motd": {
"raw": [
" §aHypixel Network §c[1.8-1.20]",
" §5§lNEW PTL GAME: §d§lSHEEP WARS §7| §b§lSB 0.20"
],
"clean": [
" Hypixel Network [1.8-1.20]",
" NEW PTL GAME: SHEEP WARS | SB 0.20"
],
"html": [
" < span style = \"color:#55FF55 \"> Hypixel Network < span style = \"color:#FF5555 \"> [1.8-1.20] ",
" < span style = \"color:#AA00AA \">< span style = \"color: \"> NEW PTL GAME: < span style = \"color:#FF55FF \">< span style = \"color: \"> SHEEP WARS < span style = \"color:#AAAAAA \"> | < span style = \"color:#55FFFF \">< span style = \"color: \"> SB 0.20 "
]
},
"players": {
2024-04-22 00:56:01 +00:00
"online": 34943,
"max": 200000
},
"location": {
"country": "Canada",
"latitude": 43.6319,
"longitude": -79.3716
2024-04-21 04:47:52 +00:00
},
"version": {
"name": "Requires MC 1.8 / 1.20",
"protocol": 47,
"protocolName": "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mKP14Hr3XY8takC5w7X8W/vxqmTt2NysBmNMhfmGKOYqwhil5XTSGOCyptRnfmC+jOzpX61ylSDOM/TwJXXc3KpJOrrqFko3vKrUK32w+pLSdMmSAZ0j4x+BoBogmWc+wHSxyAnAJwGXgEEo4ar/xVrDZZrvdDkF7PplcBG4TSy8zJceuBmpDsGmLwBwyNz8fwLz+Ds2ReZwO2YYsKYuh64wKZ2rA842oWpdybx4r61ZECUALQgQQa4CeTlFiVu4so+PazAuUMpvude/OOVb2NhIo75MhsW673UFw5sNlphUVHQCFXJ2hdN2FMox1pTNTp0EVhJfS3B0E5TXzDAxP8bS7So1wapTFMwUIqH6lswvGLpZ03wIgBRbRTVOspHoiiY4OCxXxfFFdTkATZCmWwGnDQf41Rmm75yA01GN9QmM77zvX345OSvJJoDVzO2MflrgJNjwEddwNth4J8RTL1FkK5YiLSNGr+xFenBMThZRrsdKtyVtuDZURXOv5wmAAfx5is3Y2VjHDvYfC+zGQmAGVGVHsUEwEwGVFBJ6tmT1jP5NcZq6XzNBMDOCaAi7atKNRILbKKx8+c2AuQgAHqCFyYAiyZXEQDq7KUbOAZjDShiE/RTCHXpa9CgTyBBILr4pmuscWzSUoVR7Nhq67Dqmn2487HHqcCGpD6wfGk7Pjh6G8fUzZzT+3D65CKc+UCseCeTrmbyTuCIA3jDjQuvNuCZjf2oltMvzOrA4O7d8Hj8uNJeiR93W/HiuIYAkAFT9+L9t2/BxtZa7MqpxDUuPXaYDHCpdCjUWGCmoquQa+ArkmOrOY5hQ5yjj91fjD+Wr5GmycDx5+
"url": "https://api.mcutils.xyz/server/icon/play.hypixel.net"
},
"preventsChatReports": false,
"enforcesSecureChat": false,
"previewsChat": false,
"mojangBlocked": false
}
```
## Errors
| Status Code | Description |
|-------------|-----------------------------------------------|
| 400 | The server was not found. |
| 429 | The Mojang API rate limit has been exhausted. |