Explore Plans
Mobile menu Close menu
Hearthstone

Look up deck by code

Pro plus icon This query returns the cards and class for a Hearthstone deck given its deck code.

Developer info

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

Query fields

Deck code Text input > Other

Label
Deck code
Helper text
Paste the deck code copied from the in-game deck or a Hearthstone site.
Slug
deck_code
Required
true
Can have default value
true

Locale Dropdown list

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

Ingredients

Deck class Class of the deck

Slug
deck_class
Filter code
Hearthstone.lookupDeckByCode.DeckClass
Type
String
Example
Mage

Deck hero name Hero name for the deck

Slug
deck_hero_name
Filter code
Hearthstone.lookupDeckByCode.DeckHeroName
Type
String
Example
Jaina Proudmoore

Deck format Format of the deck (standard, wild, classic)

Slug
deck_format
Filter code
Hearthstone.lookupDeckByCode.DeckFormat
Type
String
Example
standard

Deck card count Total number of cards in the deck

Slug
deck_card_count
Filter code
Hearthstone.lookupDeckByCode.DeckCardCount
Type
String
Example
30

Card names csv Comma-separated list of card names

Slug
card_names_csv
Filter code
Hearthstone.lookupDeckByCode.CardNamesCsv
Type
String
Example
Arcane Intellect, Fireball, Frostbolt

Legendary count Number of Legendary cards in the deck

Slug
legendary_count
Filter code
Hearthstone.lookupDeckByCode.LegendaryCount
Type
String
Example
5

Epic count Number of Epic cards in the deck

Slug
epic_count
Filter code
Hearthstone.lookupDeckByCode.EpicCount
Type
String
Example
6

Rare count Number of Rare cards in the deck

Slug
rare_count
Filter code
Hearthstone.lookupDeckByCode.RareCount
Type
String
Example
9

Common count Number of Common cards in the deck

Slug
common_count
Filter code
Hearthstone.lookupDeckByCode.CommonCount
Type
String
Example
10

Average mana cost Average mana cost of cards in the deck

Slug
average_mana_cost
Filter code
Hearthstone.lookupDeckByCode.AverageManaCost
Type
String
Example
3.2