osrs-data-hub
Leaderboards

Boss kill leaderboards

GET
/leaderboards/kills

Boss kills gained over the last 7 (period=week, default) or 30 days (month), as the guild page ranks them, over the accounts whose hiscores the key may read and that aren’t hidden from the guild. Kills are the rises between hiscore readings; an account’s first reading counts none. boss narrows it to one board.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

boss?string

One boss, as the hiscores name it, case-insensitive (zulrah). Without it: every boss anyone gained kills of.

Length1 <= length <= 64
period?string

week = the last 7 days, month = the last 30. Default week.

Value in

  • "week"
  • "month"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/leaderboards/kills?boss=Zulrah"
{  "data": {    "period": "week",    "from": "2019-08-24T14:15:22Z",    "to": "2019-08-24T14:15:22Z",    "leaderboards": [      {        "boss": "string",        "entries": [          {            "rank": 1,            "account": {              "id": "string",              "name": "string"            },            "kills": 1          }        ]      }    ]  },  "meta": {    "generated_at": "2019-08-24T14:15:22Z"  }}