The numbers behind the Player Census page, as free, read-only JSON for bots, fan sites and other tools. No key, no account and no cookies are needed.
Quick start
curl https://octowow.st/api/v1/census/online
Base address: https://octowow.st/api/v1
GET/api/v1/census/online
Players online right now on each realm, and the total. The total is the same number as "Players online now" on the Player Census page. It is recounted every 60 seconds.
Example answer (made-up numbers):
{
"total": 1910,
"complete": true,
"realms": [
{
"id": 56,
"slug": "cthun",
"name": "C'Thun",
"type": "hardcore",
"online": 1180,
"alliance": 649,
"horde": 531
},
{
"id": 57,
"slug": "nzoth",
"name": "N'Zoth",
"type": "normal",
"online": 410,
"alliance": 225,
"horde": 185
},
{
"id": 58,
"slug": "yshaarj",
"name": "Y'Shaarj",
"type": "pvp",
"online": 320,
"alliance": 176,
"horde": 144
}
],
"updated_at": "2026-11-13T18:00:00+00:00",
"refresh_seconds": 60
}
| Field | Meaning |
|---|---|
total | Players online on all realms together: the sum of the realms below. null if no realm could be read. |
complete | false when a realm could not be read. That realm then shows "online": null and is not in the total. |
realms[].id, slug, name, type | Which realm. type is normal, pvp, rp or hardcore. |
realms[].online | Players online on that realm, split into alliance and horde. |
updated_at | When the numbers were counted (UTC, ISO 8601). |
refresh_seconds | How often they are recounted. |
GET/api/v1/census
The faction, race and class figures from the Player Census page, with the same filters. They are refreshed every 12 hours.
| Parameter | Meaning |
|---|---|
realm | all (the default), a realm slug or a realm id from the table below. |
exclude_level1 | 1 leaves out level 1 characters. |
active_only | 1 keeps only characters online now or seen in the last 30 days. |
only_60 | 1 keeps only level 60 characters (this already leaves out level 1). |
Filters take 1 or 0 (or true or false); leaving one out means 0.
curl "https://octowow.st/api/v1/census?realm=cthun&active_only=1"
Example answer (shortened, made-up numbers):
{
"realm": {
"id": 56,
"slug": "cthun",
"name": "C'Thun",
"type": "hardcore"
},
"realms": [
{
"id": 56,
"slug": "cthun",
"name": "C'Thun",
"type": "hardcore"
}
],
"filters": {
"exclude_level1": false,
"active_only": true,
"only_60": false
},
"active_days": 30,
"characters": 25000,
"faction": {
"alliance": 13500,
"horde": 11500
},
"races": [
{
"name": "Human",
"count": 4200
},
{
"name": "Orc",
"count": 3100
}
],
"classes": [
{
"name": "Warrior",
"count": 3600
},
{
"name": "Mage",
"count": 3300
}
],
"race_classes": [
{
"race": "Human",
"total": 4200,
"classes": [
{
"name": "Warrior",
"count": 900
}
]
}
],
"updated_at": "2026-11-13T06:00:00+00:00",
"refresh_seconds": 43200
}
races and classes are sorted from most to least common. race_classes lists every race, each with the classes it has.
| Realm | Slug | Id | Type |
|---|---|---|---|
| C'Thun | cthun | 56 | hardcore |
| N'Zoth | nzoth | 57 | normal |
| Y'Shaarj | yshaarj | 58 | pvp |
Cache-Control headers, so you may cache them for that long.Content-Type: application/json before you parse an answer. During an attack our DDoS protection may answer with a check page instead; skip that round and try again later.Every address starts with /api/v1. We may add new fields to v1 answers, so ignore fields you do not know. A change that would break existing clients gets a new version.
If you show these numbers publicly, please link to octowow.st.