Magic: The Gathering

Magic: The Gathering cards, sets and types

🎮 GamesHEALTHYchecked 8h ago
AUTH NONECORS ✓AGENT ✓HTTPS ✓COMMERCIAL ?

The magicthegathering.io API exposes every MTG card with mana cost, rulings, set and multiverse IDs. Paginated JSON, no authentication, and generous rate limits for hobby projects. Useful for deck builders and card-price companions.

96HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 96 · healthy
Uptime history
98.9%90 days
100%30 days
235P50 · ms
3556P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 85 ms, slowest 1058 ms, most recent 234 ms.
Live response samplecaptured by our last successful check
GET https://api.magicthegathering.io/v1/cards?name=Opt&pageSize=1

{
  "cards": [
    {
      "name": "Ornithopter",
      "manaCost": "{0}",
      "cmc": 0,
      "type": "Artifact Creature — Thopter",
      "types": [
        "Artifact",
        "Creature"
      ],
      "subtypes": [
        "Thopter"
      ],
      "rarity": "Uncommon",
      "set": "10E"
    }
  ]
}
Call itcurl · fetch · python
curl "https://api.magicthegathering.io/v1/cards?name=Opt&pageSize=1"
const res = await fetch("https://api.magicthegathering.io/v1/cards?name=Opt&pageSize=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.magicthegathering.io/v1/cards?name=Opt&pageSize=1")
print(res.json())
Endpoints · 3HealthyFULL DOCS ↗
Monitored path responding — GET /cards?name=Opt&pageSize=1235 mschecked 8h ago
GET/cards?name=Opt&pageSize=1PROBED

Magic: The Gathering cards, sets and types

GET/cards?limit=5

Cards — documented GET route.

GET/cards?page=1

Cards — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Magic: The Gathering: common questions

Is Magic: The Gathering free to use?

Yes — Magic: The Gathering is a free games API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Magic: The Gathering need an API key?

No — Magic: The Gathering needs no API key or signup. You can call it straight away; rate limits still apply (1000 req/window · 999 remaining).

Can I call Magic: The Gathering from the browser?

Yes — Magic: The Gathering returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Magic: The Gathering up right now?

As of our last scheduled check, Magic: The Gathering is healthy with 98.9% uptime over 90 days and a 235 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.