Close menu
Explore Plans
Mobile menu Close menu
Hearthstone

Search cards

Pro plus icon This query returns the top Hearthstone card matching the supplied filters.

Developer info

API endpoint slug
hearthstone.search_cards
Runtime method
performQuery("hearthstone.search_cards"}

Query fields

Text filter Text input > Other

Label
Search keywords
Helper text
Match card names, text, or minion-type containing these words.
Slug
text_filter
Required
false
Can have default value
true

Class Dropdown list

Label
Class
Helper text
Filter to a specific class.
Slug
class
Required
false
Can have default value
false

Set Dropdown list

Label
Set
Helper text
Filter to a specific set.
Slug
set
Required
false
Can have default value
false

Mana cost Text input > Other

Label
Mana cost
Helper text
A single mana cost (e.g., 7) or comma-separated list (e.g., 1,2,3).
Slug
mana_cost
Required
false
Can have default value
true

Rarity Dropdown list

Label
Rarity
Helper text
Filter to a specific rarity.
Slug
rarity
Required
false
Can have default value
true

Locale Dropdown list

Label
Language
Helper text
Language for the card text.
Slug
locale
Required
false
Can have default value
true

Ingredients

Card Unique identifier of the card

Slug
card_id
Filter code
Hearthstone.searchCards.CardId
Type
String
Example
102983

Card slug Slug of the card

Slug
card_slug
Filter code
Hearthstone.searchCards.CardSlug
Type
String
Example
102983-pip-the-potent

Card name Display name of the card

Slug
card_name
Filter code
Hearthstone.searchCards.CardName
Type
String
Example
Pip the Potent

Card class Class the card belongs to

Slug
card_class
Filter code
Hearthstone.searchCards.CardClass
Type
String
Example
Mage

Mana cost Mana cost of the card

Slug
mana_cost
Filter code
Hearthstone.searchCards.ManaCost
Type
String
Example
4

Attack Attack value (blank for spells)

Slug
attack
Filter code
Hearthstone.searchCards.Attack
Type
String
Example
3

Health Health value (blank for spells)

Slug
health
Filter code
Hearthstone.searchCards.Health
Type
String
Example
3

Card type Type of card

Slug
card_type
Filter code
Hearthstone.searchCards.CardType
Type
String
Example
Minion

Rarity Rarity of the card

Slug
rarity
Filter code
Hearthstone.searchCards.Rarity
Type
String
Example
Legendary

Set name Name of the set the card belongs to

Slug
set_name
Filter code
Hearthstone.searchCards.SetName
Type
String
Example
Whizbang's Workshop

Flavor text Flavor text of the card

Slug
flavor_text
Filter code
Hearthstone.searchCards.FlavorText
Type
String
Example
Pip's potent potions provoke prodigious power.

Card text Card body text

Slug
card_text
Filter code
Hearthstone.searchCards.CardText
Type
String
Example
Battlecry: Cast a random spell that costs (4) or less.

Card image url URL of the card's image

Slug
card_image_url
Filter code
Hearthstone.searchCards.CardImageUrl
Type
Image URL
Example
https://d15f34w2p8l1cc.cloudfront.net/hearthstone/abc.png

Card url Link to the card on the Hearthstone library

Slug
card_url
Filter code
Hearthstone.searchCards.CardUrl
Type
Web URL
Example
https://hearthstone.blizzard.com/cards/102983-pip-the-potent