Documentation

The PikaNetwork Stats API

Everything on this site comes from a free API. Build a Discord bot, a stream overlay or your own site with player profiles, leaderboards, teams, events and fights.

Get your API key

Free for every player. It takes a minute, in-game.

  1. 1Link your Discord

    Keys need a linked Discord account. On the server, type /linkaccount and follow the steps.

  2. 2Type /apikey

    Your key shows up in chat. Click it to put it in your chat box, then copy it. One key per account, and it never expires.

  3. 3Send it with every request

    Put it in the X-Api-Key header. Requests without a key get 401.

curl -H "X-Api-Key: YOUR_KEY" \
  https://stats.pika-network.net/api/profile/JustThiemo
120 requests a minute

Per key. Every response says where you stand: X-RateLimit-Remaining and X-RateLimit-Reset (seconds).

Over the limit?

You get 429 with a Retry-After header. Wait that long, and cache what you can.

Keep it private

Don't put it in a public repo or a website's code. Leaked? /apikey reset makes a new one and the old one stops working.

401 Unauthorized

The key is missing, mistyped, replaced by a reset, or revoked by staff.

Endpoints

Every endpoint with its parameters and real responses. Press Authorize, paste your key, and try them right here.