Magic The Gathering
Magic The Gathering Game Information
- Authentication
- No auth
- HTTPS
- No
- CORS
- Unknown
- Category
- Games & Comics
- Documentation / URL
- http://magicthegathering.io/
Overview
The MTG API (magicthegathering.io) serves card data for Magic: The Gathering — cards, sets, types, and rulings — as JSON. Keyless and free, it’s a classic data source for card-search apps, deck builders, and collection trackers.
Note: the project is community-maintained and data may lag official releases. For the newest sets, check the alternative listings on this site (Scryfall, PokéAPI-style community mirrors).
Quick Start
Search cards (verified live — Black Lotus):
curl "https://api.magicthegathering.io/v1/cards?name=Black+Lotus"
Card by multiverse ID:
curl "https://api.magicthegathering.io/v1/cards/3"
All sets:
curl "https://api.magicthegathering.io/v1/sets"
Filter by type/colors:
curl "https://api.magicthegathering.io/v1/cards?type=creature&colors=red&pageSize=5"
What’s in a card
name, manaCost, type, rarity, text (rules text), power/toughness (creatures), imageUrl, set, number, artist, and more.
Authentication
None — keyless.
Rate Limits & Notes
- Free; no hard documented limit — be polite.
- Pagination via
page/pageSize; responses includetotalCount. - The dataset covers most sets up to the mid-2010s reliably; very recent sets may be missing — verify coverage for new cards.
- HTTPS is supported — use it (the docs still show http).
FAQ
Is the MTG API free? Yes — free and keyless.
Can I search by name?
Yes — ?name=Black+Lotus (fuzzy) or name=Black Lotus (exact-ish).
Is the data up to date? Community-maintained — reliable for older sets; newer sets may lag. Consider Scryfall (also listed) for the freshest data.
More in Games & Comics
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AmiiboAPI Nintendo Amiibo Information | No auth | Yes | Yes | ↗ |
| Animal Crossing: New Horizons API for critters, fossils, art, music, furniture and villagers | No auth | Yes | Unknown | ↗ |
| Astroworld Free Minecraft data: mobs, biomes, items, enchantments, structures, commands, versions, achievements, trades | No auth | Yes | Yes | ↗ |
| Autochess VNG Rest Api for Autochess VNG | No auth | Yes | Yes | ↗ |
| Barter.VG Provides information about Game, DLC, Bundles, Giveaways, Trading | No auth | Yes | Yes | ↗ |