elestralsdb

Search is built out of 1 or more search terms joined together by separators.

Each search term takes ones of two forms:

  • Simple: <term>:<value>. Such as name:chronodile. This will use the terms default operator for the search.
  • Advanced: <term>:<operator>:<value>. Above the string default operator is ~. If you want a strict match you can use name:=:chronodile

Terms can be seperated by a "," which specifies a logical AND (as in both statements much match) or "|", which is a logical OR (as in any statement can match)

  • "fire:2,cost:2" search for a card with two fire spirits in its cost and only costs two spirits total (As in all pure fire two drops).
  • "fire:2|cost:2" search for a card with two fire spirits in its cost or only costs two spirits total (As in all two drops).

Parenthesis can be used to order operations, without any terms are evaluated left to right. EG: "(frost:2|earth:2),cost:3" searches for all 3 drops that need either 2 earth or 2 frost in their costs.

Terms

Search Term Type Description
set string The name of the card set, EG: Moonrise
code string The abbreviated code for the set, EG: BS1
number string The collector number of the card within the set
rarity string The rarity of the card printing
canvas string The canvas style of the card printing
artist string The artist who illustrated the card
variant string Printing variant, EG: holo
collect_id string Collect ID, EG: cd-####
stellar boolean Whether this is a stellar variant printing (stellar:1 to find stellar cards, stellar:0 to filter to regular)

Operators

Name Operator Description
contains ~ Queries for if the string contains the value
equal = Queries for an exact match
less < Queries for values less than specified
greater > Queries for values greater than specified