Battle.net · Schema

CardSearchResponse

A paginated list of Hearthstone cards.

GamesGamingBlizzardWorld Of WarcraftDiabloHearthstoneStarcraft

Properties

Name Type Description
cards array List of matching cards.
cardCount integer Total number of matching cards.
pageCount integer Total number of pages.
page integer Current page number.
View JSON Schema on GitHub

JSON Schema

hearthstone-game-data-card-search-response-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-card-search-response-schema.json",
  "title": "CardSearchResponse",
  "description": "A paginated list of Hearthstone cards.",
  "type": "object",
  "properties": {
    "cards": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The card's unique ID.",
            "example": 52119
          },
          "collectible": {
            "type": "integer",
            "description": "Indicates if the card is collectible (1) or uncollectible (0).",
            "example": 1
          },
          "slug": {
            "type": "string",
            "description": "A human-readable identifier for the card.",
            "example": "52119-ragnaros-the-firelord"
          },
          "classId": {
            "type": "integer",
            "description": "The class ID of the card.",
            "example": 12
          },
          "multiClassIds": {
            "type": "array",
            "items": {},
            "description": "Class IDs if the card belongs to multiple classes."
          },
          "cardTypeId": {
            "type": "integer",
            "description": "The card type ID.",
            "example": 4
          },
          "cardSetId": {
            "type": "integer",
            "description": "The set ID of the card.",
            "example": 3
          },
          "rarityId": {
            "type": "integer",
            "description": "The rarity ID of the card.",
            "example": 5
          },
          "artistName": {
            "type": "string",
            "description": "The name of the card's artist.",
            "example": "Alex Horley Orlandelli"
          },
          "health": {
            "type": "integer",
            "description": "The health of the minion.",
            "example": 8
          },
          "attack": {
            "type": "integer",
            "description": "The attack power of the card.",
            "example": 8
          },
          "manaCost": {
            "type": "integer",
            "description": "The mana cost to play the card.",
            "example": 8
          },
          "name": {
            "type": "string",
            "description": "The name of the card.",
            "example": "Ragnaros the Firelord"
          },
          "text": {
            "type": "string",
            "description": "The card's text.",
            "example": "Can't attack. At the end of your turn, deal 8 damage to a random enemy."
          },
          "image": {
            "type": "string",
            "format": "uri",
            "description": "URL of the card image.",
            "example": "https://d15f34w2p8l1cc.cloudfront.net/hearthstone/bf5f0b3ef6d61b6bec59a7a7a1d95b8f0d9d74d2.png"
          },
          "flavorText": {
            "type": "string",
            "description": "Flavor text for the card.",
            "example": "He was summoned by the Dark Iron dwarves."
          },
          "cropImage": {
            "type": "string",
            "format": "uri",
            "description": "URL of the cropped card image.",
            "example": "https://d15f34w2p8l1cc.cloudfront.net/hearthstone/cropped/52119.jpg"
          },
          "childIds": {
            "type": "array",
            "items": {},
            "description": "IDs of child cards."
          }
        },
        "description": "A Hearthstone card object."
      },
      "description": "List of matching cards."
    },
    "cardCount": {
      "type": "integer",
      "description": "Total number of matching cards.",
      "example": 100
    },
    "pageCount": {
      "type": "integer",
      "description": "Total number of pages.",
      "example": 5
    },
    "page": {
      "type": "integer",
      "description": "Current page number.",
      "example": 1
    }
  }
}

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-card-search-response"
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.