osrs-data-hub

Overview

How other software reads data from the hub - keys, categories and limits.

Everything outside the web app reads the hub through its read-only REST API. The API is pull-only: poll /snapshot for current state and follow the /events cursor for new events. There are no webhooks.

Which key?

Personal keyIntegration (service) key
Created byany member, on API keysan admin, on Admin → Integrations
Readswhat its creator can seewhat the guild audience sees
Stops workingwhen revoked or expired, or when its creator leavesonly when revoked or expired
Requests per minute120600 by default (1–6000)
Accounts per bulk request1050
account_hashnoyes
Good foryour own scripts, your own Home Assistanta live map or bot the whole guild uses

Both look like ohub_<prefix>_<secret> and go in the Authorization: Bearer header. See API keys and Integration keys.

Categories

Give a key only the categories its integration needs.

CategoryCovers
statsskills, XP history, gains, levels
eventsloot, level-ups, deaths, collection log, diaries, combat tasks, superiors
activityonline status, world, sessions and playtime, HP, prayer, spellbook
location_livecurrent coordinates (for a live map)
location_historythe 30-day trail
equipmentcurrent gear and its change log
inventorycurrent inventory and wealth history

A key can't see what the account's owner doesn't share. With a service key, that means only categories shared with the whole guild. Equipment, inventory and location history are private by default, so players have to share them before a guild service can show them.

Suggested keys

IntegrationEndpointsCategories
Live map/snapshot?since=, /events, /leaderboards/loot, /xp, /locationsactivity, location_live, plus stats, equipment, inventory, events, location_history for profiles and trails
Discord bot/events?cursor=, /leaderboards/gains, /accounts?online=trueevents, stats, activity
Home Assistant/snapshot with If-None-Match, /events?cursor=stats, events, activity, optionally location_live

On this page