# Minecraft Server Status API

> Returns the online status, version, players and icon of Minecraft Java and Bedrock servers.

Category: Sports & Gaming. Region: global. 4 endpoints at `https://api.hoshime.com/v1/mcstatus/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/mcstatus
## GET /v1/mcstatus/java

The status of a Minecraft Java Edition server: online, version and players.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `host` | string | yes | Server address, such as hypixel.net or hypixel.net:25565. (e.g. hypixel.net) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `host` (string), `ipAddress` (string), `motd` (string), `online` (boolean), `playersMax` (integer (int64)), `playersOnline` (integer (int64)), `port` (integer (int64)), `retrievedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/mcstatus/java?host=hypixel.net" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mcstatus/bedrock

The status of a Minecraft Bedrock Edition server: online, version and players.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `host` | string | yes | Server address, such as hypixel.net or hypixel.net:25565. (e.g. geo.hivebedrock.network) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `host` (string), `ipAddress` (string), `motd` (string), `online` (boolean), `playersMax` (integer (int64)), `playersOnline` (integer (int64)), `port` (integer (int64)), `retrievedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/mcstatus/bedrock?host=geo.hivebedrock.network" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mcstatus/players

The players a Minecraft Java server lists as online, when it lists them; empty when it is offline or hides them.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `host` | string | yes | Java server address, such as hypixel.net or hypixel.net:25565. (e.g. hypixel.net) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `host` (string), `items` (Player[]), `items[].name` (string), `items[].uuid` (string), `online` (boolean), `playersOnline` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/mcstatus/players?host=hypixel.net" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mcstatus/icon

The server icon of a Minecraft Java server as a PNG link, when it has one.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `host` | string | yes | Java server address, such as hypixel.net or hypixel.net:25565. (e.g. hypixel.net) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `bytes` (integer (int64)), `host` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/mcstatus/icon?host=hypixel.net" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
