Skip to content
DonutStatsAPI
Sign up
Server

Get player count history

A year of players online, finer the closer it gets to now.

GET/v1/server/history

One series for charts that zoom from a year down to a day: daily points from 365 to 30 days ago, hourly points to 7 days ago, 15 minute points to yesterday and 5 minute points for the last 24 hours. Each point is the average players online in its bucket.

For every individual check, use server samples.

Authentication

API key with the read scope

Cached for

1 min

Data updates

Every minute.

This endpoint takes no parameters.

Response

Points, oldest first.

  • pointsobject[]

    Average players online per bucket.

    Show2 child fields
    • ttimestamp

      Start of the bucket.

    • onlineinteger

      Average players online.