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
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded 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
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://omgvamp-hearthstone-v1.p.rapidapi.com/cards";
// 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
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
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.
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.
Barter.VG
Barter.VG aggregates data about PC games, DLC, bundles, giveaways, and trading from Steam and other platforms.
Digimon Information
⭐ Beginner's PickThe Digimon Information API provides easy access to data about Digimon creatures, including their names, levels, types, and images.