Home
Battle.net
Hearthstone Game Data Deck Structure
Hearthstone Game Data Deck Structure
A Hearthstone deck.
Type: object
Properties: 6
Games Gaming Blizzard World Of Warcraft Diablo Hearthstone Starcraft
Deck is a JSON Structure definition published by Battle.net, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
deckCode
version
format
class
cards
cardCount
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/battle-net/refs/heads/main/json-structure/hearthstone-game-data-deck-structure.json",
"name": "Deck",
"description": "A Hearthstone deck.",
"type": "object",
"properties": {
"deckCode": {
"type": "string",
"description": "The deck code string.",
"example": "AAECAf0EAA8A"
},
"version": {
"type": "int32",
"description": "The deck version.",
"example": 1
},
"format": {
"type": "string",
"description": "The deck format (standard, wild, classic).",
"example": "standard"
},
"class": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The class slug.",
"example": "mage"
},
"id": {
"type": "int32",
"description": "The class ID.",
"example": 3
},
"name": {
"type": "string",
"description": "The class name.",
"example": "Mage"
}
},
"description": "The class associated with a deck."
},
"cards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "int32",
"description": "The card ID.",
"example": 52119
},
"count": {
"type": "int32",
"description": "Number of copies of this card in the deck.",
"example": 2
},
"slug": {
"type": "string",
"description": "The card slug.",
"example": "52119-ragnaros-the-firelord"
},
"name": {
"type": "string",
"description": "The card name.",
"example": "Ragnaros the Firelord"
}
},
"description": "A card included in a deck."
},
"description": "The cards in the deck."
},
"cardCount": {
"type": "int32",
"description": "Total number of cards in the deck.",
"example": 30
}
}
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/hearthstone-game-data-deck-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.