Scryfall API guide
scryfall.com
Use Scryfall to search Magic: The Gathering cards, identify exact printings, look up sets, and retrieve multiple cards at once.
Actions and inputs
cards searchFind Magic cards using Scryfall search syntax.
Inputs Search query
cards get-by-code-by-numberFind a specific printing by set and collector number.
Inputs Set code, collector number
cards post-collectionLook up multiple cards in one request without saving a collection.
Inputs Up to 75 card identifiers
sets get-by-codeLook up a set by its Scryfall or Magic Online code.
Inputs Set code or Magic Online set code
Saved Scryfall card search in Smith
- Create
Save a named Scryfall card query in Smith for later use.
Inputs Search name, card query
- Read
Open the saved query and view matching Scryfall cards.
Inputs Saved search ID
- Update
Rename the saved search or revise its card filters.
Inputs Saved search ID, new name or card query
- Delete
Delete the saved search from Smith without changing any Scryfall records.
Inputs Saved search ID