Scryfall
APIFree RESTful API for Magic: The Gathering card and set data
Overview
Scryfall API is a RESTful interface for accessing comprehensive Magic: The Gathering (MTG) data, including cards, sets, rulings, prices, and artwork. It supports JSON responses with advanced search filters (e.g., by name, color, rarity) and pagination. Key endpoints include /cards/search (query cards), /sets (set details), and /cards/{id} (individual card data). Use cases: building deck builders, price trackers, collection managers, or integrating MTG content into apps/blogs. Most endpoints require no authentication, simplifying integration.
Example Integration (JavaScript)
fetch('https://scryfall.com/docs/api')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful
- JSON support
- No Auth required (most endpoints)
- Comprehensive MTG data
- Advanced search filters
- Card image hosting
- Pagination support
Frequently Asked Questions
? Is Scryfall free to use?
Yes, Scryfall API is free for both non-commercial and commercial use, subject to rate limits and attribution guidelines.
? Does it require an API Key?
Most endpoints do not require an API key. Authenticated requests offer higher rate limits but are optional.
? What is the response format?
All responses are in JSON format with consistent structure across endpoints.
Top Alternatives
People Also Ask about Scryfall
Tool Info
Pros
- ⊕ Easy to integrate
- ⊕ Up-to-date MTG data
- ⊕ Rich metadata (prices, art, rulings)
- ⊕ Free for commercial/non-commercial use
- ⊕ Well-documented
Cons
- ⊖ Rate limited (10 requests/second default)
- ⊖ No official SLA
- ⊖ Attribution required for commercial use
- ⊖ No XML support