Overview
Hearthstone API provides detailed card data for the Hearthstone collectible card game, including card stats, artwork, and set information. You access it through RapidAPI using a Mashape key, making authentication straightforward. It is ideal for building deck builders, card browsers, or fan sites.
Beginner Tip
Sign up on RapidAPI to get your X-Mashape-Key, then include it in the request header; you can filter cards by class, set, or type to narrow results.
Available Data
Example Response
{
"make": "Toyota",
"model": "Camry",
"year": 2025,
"engine": "2.5L 4-cylinder",
"fuel_economy": {
"city_mpg": 28,
"highway_mpg": 39
},
"msrp": 28400
} Field Reference
cardId Unique identifier string for the card used across Hearthstone systems. name The display name of the Hearthstone card. type Card type such as Minion, Spell, or Weapon. cost Mana cost required to play the card. attack Attack value for minion cards; absent for spells. health Health value for minion cards; absent for spells. Implementation Example
const url = "http://hearthstoneapi.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Tebex
Tebex is a monetisation platform for game servers, and its API lets you retrieve information about packages, purchases, and player data for your game store.
Age of Empires II
Age of Empires II provides programmatic access to get information about age of empires ii resources via REST API.
AmiiboAPI
AmiiboAPI provides programmatic access to nintendo amiibo information via REST API.
Animal Crossing: New Horizons
⭐ Beginner's PickThe Animal Crossing: New Horizons API gives you free access to in-game data including villagers, critters, fossils, art, music, and furniture.
Autochess VNG
The Autochess VNG API provides game data for the Autochess VNG mobile game including heroes, items, and races.