Skip to content

Totals ​

GET /leaderboards/total

Server-wide aggregate per stat, for one gamemode. Not per-player, see Profile Stats.

Query parameters ​

ParameterTypeRequiredDescription
typestringrequiredgamemode id
modestringconditionalrequired only for pillars (Seasonal); all other gamemodes crawled without it

Response 200 ​

Array, not object.

LIVE REQUESTopen raw
fetching https://stats.pika-network.net/api/leaderboards/total?type=bedwars ...
FieldTypeNotes
[].namestringdisplay name, matches Gamemode Catalog, not the raw stat key from Leaderboards
[].totalnumberplayers tracked for this stat
[].averagenumbermean across tracked players
[].sumnumbersum across tracked players

numeric encoding

Unlike /leaderboards, every numeric field here is a genuine JSON number, not a numeric string.

Request forms ​

text
GET /leaderboards/total?type=bedwars
bash
curl 'https://stats.pika-network.net/api/leaderboards/total?type=bedwars'
ts
import { Gamemode, PikaNetworkClient } from '@kyizl/craftify';

const pika = new PikaNetworkClient();

await pika.getTotals({ gamemode: Gamemode.BedWars });

Errors ​

StatusCondition
400invalid or missing type

No 404 case.

Distributed under the MIT License.