20% offevery plan

Black Friday Sale. New purchases, extensions and upgrades all qualify.

Ends in
00days
00hrs
00min
00sec
See plans
API

API reference: scoreboards and the tab list

Read the scoreboard of every account in one call, and see who is online on an account’s server.

Read every scoreboard

GET /scoreboards returns the sidebar of each account that showed one in the last 15 minutes, like the Scoreboard page of the Chat tab.

{
  "scoreboards": [
    {
      "accountId": "[email protected]",
      "username": "ConsoleClient",
      "online": true,
      "server": "donutsmp.net",
      "title": { "text": "DonutSMP", "formatted": "§b§lDonutSMP" },
      "lines": [
        { "text": "Money $16.7M", "formatted": "§fMoney §a$16.7M", "score": 0 },
        { "text": "Shards 1,204", "formatted": "§fShards §d1,204", "score": 0 }
      ],
      "updatedAt": 1790000451234
    }
  ]
}
FieldMeaning
onlinetrue while the account is connected. A scoreboard stays listed for up to 15 minutes after the account leaves.
serverThe server the scoreboard came from.
title, linesAs the account saw them, each as text (plain) and formatted (with § color codes). A line also has its score.
updatedAtWhen the account last sent a change. Accounts send changes about every 8 seconds.

One call covers every account and does not ask them, so it is cheap to poll. No totals are added up for you: sum the lines you need.

See who is online

GET /accounts/{id}/tablist reads the tab list from an online account, like the Tablist page of the Chat tab.

{
  "tablist": {
    "header": { "text": "DonutSMP", "formatted": "§b§lDonutSMP" },
    "footer": { "text": "Players online: 2", "formatted": "§7Players online: §f2" },
    "players": [
      {
        "name": "ConsoleFriend",
        "display": { "text": "[VIP] ConsoleFriend", "formatted": "§6[VIP] §fConsoleFriend" },
        "ping": 42,
        "score": "",
        "spectator": false
      }
    ]
  }
}
FieldMeaning
header, footerThe text above and below the list, or null.
nameThe player’s Minecraft name.
displayThe name as the list shows it, with rank or team.
ping, score, spectatorThe ping in milliseconds or null, the score next to the name (empty when there is none), and whether the player spectates.

The account has to be online: an offline one answers 409 bot_not_connected, one that was never started 404 not_assigned, and one that does not answer within 8 seconds 504 command_timeout. A Node still on an older version answers 409 unknown_command until it updates. Every call asks the account, so a few seconds between calls is plenty.

Need a hand?

Check the troubleshooting guide or return to all guides.