Search syntax
The oracle understands a small, Scryfall-flavoured query language. Every example below is a live link, and the number shows how many identities it finds. Press / anywhere on the oracle to jump to the search box.
Names
Plain words search card names. Every word has to match, in any order. Accents and Æ are folded, so “aetherist” finds The Ætherist.
puppet- names containing “puppet” 1
"the old"- an exact phrase in the name 1
name:/^the [a-c]/- a regular expression on the name 14
Roles
role: and t: take leader, guardian, assassin or traitor. One letter or the first three are enough.
role:assassin- all Assassins 18
t:g- all Guardians 18
role!=leader- every hidden identity 49
is:traitor- same as t:traitor 13
Rules text
o: (or oracle:) searches the rules text. Use quotes for phrases and ~ for the card’s own name.
o:draw- text mentions “draw” 9
o:"extra turn"- an exact phrase 1
o:"turn ~ face down"- identities that can hide again 2
o:/scry \d/- a regular expression 1
ruling:counter- a ruling mentions “counter” 30
Unveil cost
cost: (or mv:) compares the mana value of the unveil cost. X counts as 0. Leaders and costs without mana, like “Discard a nonland card”, never match.
Rarity
r: (or rarity:) takes u, r or m. Rarity in Treachery means complexity, not power: start new players on uncommons.
Other filters
is:undercover- Guardians that need a reason to unveil 18
has:counters- uses gem, nut or other counters 14
has:rulings- has official rulings 62
cn:27- collector number 27 1
cn<=10- the first ten cards 10
Combining
Terms next to each other must all match. “or” matches either side, “-” excludes, and parentheses group.
role:assassin cost<=4- cheap Assassins 9
t:leader or t:traitor- either role 26
-is:undercover r:m- mythics without Undercover 14
(t:guardian or t:traitor) has:x- grouped with parentheses 9
o:life -o:"gain life"- mentions life but never gaining it 16
Keyword reference
| Keyword | Aliases | Operators |
|---|---|---|
name: | plain words | : |
o: | oracle: text: | : |
role: | t: type: is: | : != |
cost: | mv: cmc: unveil: | : = != < <= > >= |
r: | rarity: | : = != < <= > >= |
is: | undercover, a role, a rarity | : |
has: | x, counters, rulings | : |
cn: | number: | : = != < <= > >= |
ruling: | rulings: | : |