Developer API · JSON

MythicRanked data, as JSON

MythicRanked's data is available as JSON for bots, spreadsheets, stream tools and your own sites. It's free and needs no key; please cache responses and keep to a few requests per second. Credit MythicRanked as described in the branding guidelines.

8
Endpoints
Free
No API key
20
Results per page
Live
Data source

Basics

  • All endpoints are GET and return JSON. Cross-origin requests are allowed.
  • Lists are paged 20 at a time with page starting at 0, and include total and pages.
  • Bad parameters return 400 with { "error": "..." }; unknown characters return 404.
  • Classes, specs and dungeons are identified by slugs such as death-knight, frost and altar-of-fangs. Times are ISO 8601 strings in UTC; durations are milliseconds.
  • ready is false while live data is still being collected for the first time.

Endpoints 8 GET routes

GET/api/v1/playersCharacters ranked by Mythic+ rating.
ParameterValues
regionworld (default), us, eu, kr, tw
classall or a class slug, e.g. death-knight, mage
roleall, tank, healer, dps
page0-based page number, 20 per page
GET/api/v1/runsLeaderboard runs, highest key first.
ParameterValues
regionworld (default), us, eu, kr, tw
dungeonall or a dungeon slug from /api/v1/dungeons
timedtrue to list only keys finished in time
page0-based page number
GET/api/v1/teamsGroups of five ranked by the combined rating of their best runs together.
ParameterValues
regionworld (default), us, eu, kr, tw
page0-based page number
GET/api/v1/affixesThis week's keystone affixes.
GET/api/v1/dungeonsThe season's Mythic+ dungeons with their timers (ms) for +1, +2 and +3.
GET/api/v1/cutoffsRating needed for the top 0.1%, 1%, 10%, 25% and 40%.
ParameterValues
regionworld (default), us, eu, kr, tw
GET/api/v1/characterOne character with rating and best run per dungeon.
ParameterValues
regionus, eu, kr or tw (required)
realmrealm name or slug (required)
namecharacter name (required)
GET/api/statusData source (demo or live), last update per region and sync progress.

Data source

Live mode. Leaderboards are collected from the Blizzard Battle.net API on a schedule; character and guild pages are read from Blizzard on demand.

RegionData updatedLast sync finishedStatus
USDec 6, 03:49 PM (11m ago)Dec 6, 03:49 PMOK
EUDec 6, 03:51 PM (10m ago)Dec 6, 03:51 PMOK
KRDec 6, 03:54 PM (7m ago)Dec 6, 03:54 PMOK
TWDec 6, 03:57 PM (3m ago)Dec 6, 03:57 PMOK

The same information is available as JSON from /api/status.

Switching to live Blizzard data (site owner)

  1. Sign in at the Blizzard developer portal (develop.battle.net) and create an API client. Add http://localhost:3100/api/auth/callback as a redirect URL if you want “Log in with Battle.net”.
  2. Copy .env.example to .env.local in the project folder and fill in the two values:
    BLIZZARD_CLIENT_ID=your-client-id
    BLIZZARD_CLIENT_SECRET=your-client-secret
  3. Restart the server. The first leaderboard collection starts a few seconds after boot and repeats hourly; it can also be run by hand with npm run sync. Progress shows in the table above.

Optional settings

  • SYNC_REGIONS: regions to collect, default us,eu,kr,tw.
  • SYNC_PERIODS: how many weekly periods to collect, default 2 (this week and last).
  • SYNC_INTERVAL_MINUTES: time between collections, default 60.
  • SITE_URL: the public address of the site, used to link Discord alert messages back to run pages.

Keep .env.local private; it is excluded from the repository. Collected data is cached in data/cache/, and Discord alert subscriptions are kept in data/local/.

Developer API – MythicRanked