The guild’s collection log, and who has an item
The guild’s collection log page over every account whose events or hiscores the key reads and that isn’t hidden from the guild: the board (most logged first), the 12 newest slots across them, and with item, who has it: every matching item someone logged, with its holders, first logged first. meta.searchable counts the accounts whose slots were searched (those whose events the key reads), so an answer can say “none of the 23 accounts that share their log”. accounts narrows it to those ids (up to 10 with a user key, 50 with a service key); one the board couldn’t list makes the whole request 404.
Authorization
bearerAuth An API key from the hub’s API keys page.
In: header
Query Parameters
Who has it: a part of an item name, case-insensitive, 2 to 64 characters (shadow finds Tumeken's shadow). Fills items, at most 30 of them, the most holders first.
Comma-separated account ids: only these, up to 10 with a user key, 50 with a service key, each one the guild board could list (the key reads its events or hiscores and it isn’t hidden from the guild), else 404. Default: every such account.
Board rows, 1 to 500. Default 100.
^\d{1,16}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/collection-log?item=Tumeken"{ "data": { "board": [ { "account": { "id": "string", "name": "string" }, "logged": 0, "gained_30d": 0, "seen": 0, "latest": { "item": "string", "item_id": 0, "logged_at": "2019-08-24T14:15:22Z" } } ], "recent": [ { "account": { "id": "string", "name": "string" }, "item": "string", "item_id": 0, "kill_count": 0, "value_gp": 0, "logged_at": "2019-08-24T14:15:22Z", "source": "string" } ], "items": [ { "item": "string", "item_id": 0, "holders": [ { "account": { "id": "string", "name": "string" }, "logged_at": "2019-08-24T14:15:22Z", "kill_count": 0 } ] } ] }, "meta": { "generated_at": "2019-08-24T14:15:22Z", "searchable": 0, "truncated": true }}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.
Gains leaderboards GET
The guild page’s gains leaderboards over the accounts whose `stats` the key may read: the top 10 per skill. Default `period=day`.