Official hiscores of several accounts
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 An API key from the hub’s API keys page.
In: header
Query Parameters
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 }}Official hiscores GET
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.
Collection log GET
The account’s collection log page: `total` is "Collections Logged" from the official hiscores (`hiscores`), the whole log’s count; `slots` are the slots the hub saw logged since the account was paired (`events`), newest first, each with the kill count the plugin read and the loot source of the drop that came with it. `groups` counts every matching slot by source. The key needs one of the two categories on the account, else 404; the part it can’t read is null. Filter with `source` and `since`; `limit` cuts `slots` (default 100, at most 500) and `meta.truncated` says so.