Compare regions
Every region's total population on one timeline, for the requested range. Region-less by nature: comparing EU, NA and Asia is the point, and asking one region for the other two would be a strange shape. Cached for 60s server-side. Dates are ISO 8601 strings.
Query Parameters
How far back the population series reads.
"day"Value in
- "day"
- "week"
- "month"
- "year"
Response Body
application/json
curl -X GET "https://example.com/servers/compare"{ "range": "day", "regions": [ { "region": "eu", "current": 0, "peak": { "players": 0, "at": "2019-08-24T14:15:22Z" }, "points": [ { "at": "2019-08-24T14:15:22Z", "total": 0 } ] } ]}Server population GET
The region's recorded cluster population over the requested range, with each cluster's own peak and mean, the region's records, and the average population per weekday and hour (UTC) over the trailing four weeks. Wargaming publishes population as an instant and keeps no history, so this series only goes back to when the sampling started. Cached for 60s server-side. Dates are ISO 8601 strings.
Players online stream GET
Server-sent events (SSE) of the region's live player count. Each event's data is a JSON object with the region total and the per-server breakdown, pushed whenever the count refreshes (about every 3 seconds).