Battle.net
APIOfficial game data APIs for Diablo III, Hearthstone, StarCraft II & World of Warcraft
Overview
The Battle.net API provides RESTful endpoints for accessing game data across Diablo III, Hearthstone, StarCraft II, and World of Warcraft. Endpoints include player profiles, item details, game statistics, ladder rankings, and match history. Responses are in JSON format. Use cases include building fan websites with real-time player stats, integrating game progress trackers into third-party apps, creating streaming overlays with ladder data, or developing tools to analyze competitive play performance for supported Blizzard games.
Example Integration (JavaScript)
fetch('https://develop.battle.net/documentation/guides/getting-started')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful architecture
- JSON response format
- Supports multiple Blizzard games
- Player profile & stat data
- Ladder ranking information
- Item and gear details
Frequently Asked Questions
? Is Battle.net API free to use?
Yes, the Battle.net API is free to use, but you need to register for an API key by creating an application on the Battle.net developer portal.
? Does it require an API Key?
Yes, all requests to the Battle.net API require a valid API key included in the request headers or query parameters.
? What is the response format?
The Battle.net API returns data in JSON format for all supported endpoints.
Top Alternatives
People Also Ask about Battle.net
Tool Info
Pros
- ⊕ Official and reliable data source
- ⊕ Comprehensive coverage of supported games
- ⊕ Well-documented with clear guides
- ⊕ Covers diverse game data types (profiles, stats, items)
Cons
- ⊖ Requires API key registration
- ⊖ Rate limits apply to requests
- ⊖ Limited to Blizzard's supported game titles only