Public APIs / Games & Comics / Battle.net
Battle.net API
Diablo III, Hearthstone, StarCraft II and World of Warcraft game data APIs.
Open the Battle.net documentation Build something with it
Key facts
- Category
- Games & Comics
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Yes
- Listed in
- public-apis
Uses OAuth, so each user logs in and gives your app permission.
What you could build with Battle.net
Games and comics APIs return game data, player stats, characters and comic collections.
- A player stats tracker
- A community site for a game
- A deal finder for games
How we would integrate Battle.net
- Register an OAuth app with the provider and add a 'Connect' button so each user grants access.
- Call it from the browser or from your backend, whichever keeps keys safe.
- Cache results in your own database, so pages stay fast and you stay inside rate limits.
- Add monitoring: if the API goes down or changes, you get an alert before your customers notice.
Questions about Battle.net
Does the Battle.net API need an API key?
Uses OAuth, so each user logs in and gives your app permission.
Can I call Battle.net from the browser?
Yes. It allows CORS, so a web page can call it directly from the browser.
Does Battle.net support HTTPS?
Yes, it is served over HTTPS.
Can you build an app with Battle.net for me?
Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.