Usage: scrytcg [OPTIONS] [FREE-TEXT TERMS OR LOGIC]
This script constructs a Scryfall query using various filters, retrieves
matching cards, and outputs them in a TCGplayer mass entry-friendly format:
"QTY Card Name [SET]"
By default, only the first page of results is fetched. Use '-all' to
retrieve all pages.
[FILTER] Card Properties
-c, -color Filter by card color
-r, -rarity Filter by rarity (common, uncommon, rare, mythic)
-t, -type Filter by type, subtype, or supertype
-s, -set Filter by set code
-mv, -manavalue Filter by mana value (CMC)
-pow, -power Filter by creature power
-tou, -toughness Filter by creature toughness
[SEARCH] Text & Oracle
-o, -oracle Search Oracle text
-fo, -fulloracle Exact Oracle phrase
-ft, -flavor Search flavor text
-kw, -keyword Search keyword abilities
-a, -artist Filter by artist name
-wm, -watermark Filter by watermark
[PRICE] Market Data
-usd Filter by USD price
-eur Filter by EUR price
-tix Filter by MTGO tix price
-cheapest Show cheapest print (eur, tix, usd)
[FORMAT] Legality
-f, -format Filter by format legality
-game Set game type (paper, mtgo, arena)
-is Boolean filters (is:promo, is:funny)
-has Feature checks (has:watermark)
[OUTPUT] Display Options
--scryfall Display only Scryfall URL
--tcgplayer Display only TCGplayer mass entry link
--fzf Interactive search UI using fzf
-q, -quantity Set quantity of each card
-all Fetch all results across pages
[ADVANCED] Logic Operations
( ... ) Group conditions with OR/AND
--filter Negate filter (exclude results)
=, lt, lte, gt, gte Comparison operators
or, and Logical operators
[+] EXPLOITATION EXAMPLES
# Basic recon - Find all red cards in Streets of New Capenna
scrytcg -id =red -set snc
# Advanced payload - Complex Final Fantasy search
scrytcg \( -s "Final Fantasy Commander" or -s "Final Fantasy" \) \
\( -r mythic or -r rare \) \
--is reprint -usd lte3 --fzf --tcgplayer
# Price manipulation - Find cheap mythic rares under $5
scrytcg -r mythic -usd lt5 -cheapest usd
# Logic injection - Blue Goblins OR White Merfolk
scrytcg \( -t goblin -c blue \) or \( -t merfolk -c white \)
# Text mining - Cards with exact Oracle text
scrytcg -o "counter target spell"
# Mass extraction - All blue cards (all pages)
scrytcg -all -color blue
# Negation attack - Exclude red cards and SNC set
scrytcg --id =red --set snc