-
Notifications
You must be signed in to change notification settings - Fork 28
Developer resources
Sébastien Tromp edited this page May 26, 2023
·
6 revisions
You can use these APIs directly to build interesting stats, infographics, or just for fun. If you publish anything, be sure to credit Firestone as the source of the data.
If you want to use data for a public app, please reach out to me on Discord
A few placeholders used at various places in the APIs:
- %timeSuffix% can be replaced by 'all-time', 'past-three', 'past-seven' or 'last-patch' to get data for different time periods
- %tribeSuffix% is either 'all-tribes' (recommended), or a combination of five tribes, separated by a hyphen (-), and using the tribe id as defined in https://github.com/Zero-to-Heroes/hs-reference-data/blob/master/src/enums/race.ts (but the sample size is usually too small)
- All cards: https://static.firestoneapp.com/data/cards/cards_enUS.gz.json
- Other languages are also accessible by replacing enUS with a language code supported by HS
- Hero stats: https://static.zerotoheroes.com/api/bgs/heroes/bgs-global-stats-%tribeSuffix%-%timeSuffix%.gz.json
- Perfect games: https://static.zerotoheroes.com/api/bgs-perfect-games.json
- Quest stats: https://static.zerotoheroes.com/api/bgs/quests/bgs-global-stats-%timeSuffix%.gz.json
- Hero / hero power / signature treasure: https://static.zerotoheroes.com/api/duels/duels-global-stats-hero-class-%mmr%-%date%.gz.json
- High-wins decks: https://static.zerotoheroes.com/api/duels/duels-global-stats-hero-class-decks.gz.json
- Buckets: https://static.zerotoheroes.com/api/duels/duels-buckets.gz.json