> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.eraus.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Get server

> Name, code, player count, timers and whether the server is online.

> [!NOTE]
>
> Always answers, even while the server is offline (`online` is then `false`).

**id** `string`

Server id.

**online** `boolean`

`true` if the server synced in the last 35 seconds.

**name** `string | null`

**code** `string | null`

The join code or custom address players type in the Private Servers menu.

**ownerId** `integer | null`

The owner's Roblox user ID.

**players** `object`

`online` and `max`.

**staffOnline** `integer`

Players in game with a staff rank.

**peacetime** `object`

`enabled` (toggle or timer) and `timerEndsAt` (Unix seconds, or `null`).

**priorityTimerEndsAt** `integer | null`

**locked** `boolean`

Only staff can join.

**modCalls** `boolean`

Whether players can make mod calls.

**region** `string | null`

Like `AU/VIC`.

**lastSeenAt** `integer | null`

Last sync, Unix seconds.

```json 200 theme={null}
{
  "id": "k3j9x0abq2mn",
  "online": true,
  "name": "Sydney Metro RP",
  "code": "syd",
  "ownerId": 1458291,
  "players": { "online": 34, "max": 40 },
  "staffOnline": 4,
  "peacetime": { "enabled": true, "timerEndsAt": 1793876064 },
  "priorityTimerEndsAt": null,
  "locked": false,
  "modCalls": true,
  "region": "AU/NSW",
  "lastSeenAt": 1793875464
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.