osrs-data-hub
Hiscores

Official hiscores of several accounts

GET
/hiscores

What /accounts/{id}/hiscores returns, for several accounts in request order: up to 10 with a user key, 50 with a service key; an account the key can’t read makes the whole request 404. Without accounts, every visible account whose hiscores the key reads, sorted by name.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

accounts?string

Comma-separated account ids: up to 10 with a user key, 50 with a service key, each one whose hiscores the key may read, else 404. Without it (or empty): every visible account whose hiscores the key reads, sorted by name.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/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",    "count": 0  }}