Magic: the Gathering ultimate API
Magic: The Gathering card lookup powered by Scryfall data
8 endpoints
The in-depth APIMemo review for this API hasn't been published yet —
the data below comes straight from the public marketplace listing.
Magic: the Gathering ultimate API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Get card by name /getCardByName |
Returns metadata and pricing info for a Magic: The Gathering card using a fuzzy name search (partial name allowed). |
| GET |
Fetch MTG card by exact name /getCardByExactName |
Returns card data only if an exact name match is found. |
| GET |
Fetch MTG set by code /getSetByCode |
Returns metadata for a specific set using its official three-letter set code. |
| GET |
Fetch all cards from a set /getCardsBySet |
Returns a list of all cards available in the given set code. |
| GET |
Fetch a random card /getRandomCard |
Returns metadata for a randomly selected Magic: The Gathering card. |
| GET |
Autocomplete card name /autocomplete |
Returns card name suggestions based on partial user input. |
| GET |
Fetch card image by name /getCardImageByName |
Returns image URLs for a card using a fuzzy search on the name. |
| GET |
Fetch all MTG sets /getAllSets |
Returns a list of all Magic: The Gathering sets. |