Battle.net · Schema

Deck

A Hearthstone deck.

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Properties

Name Type Description
deckCode string The deck code string.
version integer The deck version.
format string The deck format (standard, wild, classic).
class object The class associated with a deck.
cards array The cards in the deck.
cardCount integer Total number of cards in the deck.
View JSON Schema on GitHub

JSON Schema

hearthstone-game-data-deck-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/battle-net/refs/heads/main/json-schema/hearthstone-game-data-deck-schema.json",
  "title": "Deck",
  "description": "A Hearthstone deck.",
  "type": "object",
  "properties": {
    "deckCode": {
      "type": "string",
      "description": "The deck code string.",
      "example": "AAECAf0EAA8A"
    },
    "version": {
      "type": "integer",
      "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": "integer",
          "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": "integer",
            "description": "The card ID.",
            "example": 52119
          },
          "count": {
            "type": "integer",
            "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": "integer",
      "description": "Total number of cards in the deck.",
      "example": 30
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/hearthstone-game-data-deck"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.