osrs-data-hub
Hiscores

Official hiscores

GET
/accounts/{id}/hiscores

What the hub last read from the official OSRS hiscores (hiscores): every skill with its rank, and the boss kill counts, clues and minigames with a score, each with its rank on the account’s own iron table beside the main one. The hub looks an account up when it first sees it, about 10 minutes after a play session ends, and once a day; fetched_at says when. Not part of /snapshot: poll this every few minutes at most.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from the hub’s API keys page.

In: header

Path Parameters

id*string

The account's public id (opaque, base62), as id in /accounts.

Match^[0-9A-Za-z]{1,64}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/accounts/4fT9kQ2mXa7B/hiscores"
{  "data": {    "account": {      "id": "string",      "name": "string"    },    "status": "ok",    "fetched_at": "2019-08-24T14:15:22Z",    "mode": "regular",    "skills": [      {        "skill": "string",        "level": 0,        "xp": 0,        "rank": 0,        "mode_rank": 0      }    ],    "activities": [      {        "activity": "string",        "kind": "boss",        "score": 1,        "rank": 0,        "mode_rank": 0      }    ]  },  "meta": {    "generated_at": "2019-08-24T14:15:22Z"  }}