Query Syntax Help

Note: All queries are case-insensitive. Field names, values, and text searches all ignore case. e:fire, E:FIRE, and element:FiRe all work identically.

Query Syntax Overview

Boolean Logic

Combine multiple search criteria with boolean operators:

AND Operator

Use AND (or &&) to find cards matching all criteria:

  • silvie AND warrior - Cards with "silvie" in name AND warrior class
  • fx:draw AND c<=2 - Cards with "draw" in effect text AND cost 2 or less
  • fire AND action - Fire element cards that are actions

OR Operator

Use OR (or ||) to find cards matching any criteria:

  • silvie OR lorraine - Cards with either name
  • e:fire OR e:water - Fire or Water element cards
  • r:sr OR r:ur - Super Rare or Ultra Rare cards

NOT Operator

Use NOT (or !) to exclude cards matching a criterion:

  • warrior NOT silvie - Warrior class cards except Silvie
  • e:fire NOT t:regalia - Fire cards that aren't regalia
  • action NOT c:0 - Actions that don't cost 0

Parentheses

Use parentheses to control evaluation order:

  • (silvie OR lorraine) AND warrior - Either Silvie or Lorraine, both warriors
  • e:fire AND (t:action OR t:attack) - Fire actions or attacks
  • NOT (r:c OR r:u) - Exclude commons and uncommons

Note: AND has higher precedence than OR. a OR b AND c means a OR (b AND c).

Quoted Strings

Use double quotes to search for multi-word phrases or values with special characters:

  • "spirit of fire" - Search for the exact phrase
  • fx:"draw a card" - Effect text with "draw a card"
  • "Spellshield: Astra" - Card names containing colons need quotes

Without quotes, spaces separate different search terms:

  • spirit fire means name contains "spirit" AND name contains "fire"
  • fx:floating memory means effect contains "floating" AND name contains "memory"

Comparison Operators

Numeric and ordinal fields support comparison operators:

  • : or = - Equal to
  • > - Greater than
  • >= - Greater than or equal to
  • < - Less than
  • <= - Less than or equal to

Examples:

  • c:3 or c=3 - Cost exactly 3
  • r>c - Rarity higher than Common
  • power>=5 - Power 5 or greater
  • cn<=100 - Collector number 100 or less

Example Queries

Here are some complex examples combining multiple features:

  • e:fire AND cl:warrior AND power>=5 - Find powerful fire warriors
  • fx:"draw" AND (e:water OR e:crux) - Search for card draw effects
  • t:action AND sp:fast AND c<=2 - Find cheap fast actions
  • e:wind AND NOT (t:champion OR t:regalia) - Exclude specific card types
  • (s:alcsd OR s:demo23) AND r>=sr - Search across multiple sets

Known Limitations

Card names with colons: Because the colon (:) is used for field searches, card names containing colons (like "Spellshield: Astra") must be quoted to search correctly: "Spellshield: Astra". Without quotes, the parser will try to interpret the part before the colon as a field name. This is a known limitation that may be improved in future versions.

← Back to Home