Magic The Gathering API
Magic The Gathering Game Information
- Our call
- HTTP 200
- Latency
- 2,569 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://api.magicthegathering.io/v1/cards?pageSize=1Press Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://api.magicthegathering.io/v1/cards?pageSize=1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://api.magicthegathering.io/v1/cards?pageSize=1'import requests
r = requests.get("https://api.magicthegathering.io/v1/cards?pageSize=1", timeout=10)
r.raise_for_status()
print(r.json())Magic The Gathering docsMore Games & Comics APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://api.magicthegathering.io/v1/cards?pageSize=1- Result
- HTTP 200 in 2,569 ms (2,589 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 6,237 bytes, a JSON object
- Fields
cards- Rate-limit headers
- limit 1000, remaining 999
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Games & Comics
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- magicthegathering.io answered 200 in 13457 ms on 2026-11-06 Measured
Magic The Gathering is listed in Games & Comics. Magic The Gathering needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 97 Games & Comics APIs: 63 need no key, 30 need an API key and 4 use OAuth, and 42 of them are marked as allowing browser calls. 21 others have the same setup, such as Atlas Academy, Call of Duty and Chess.com.
Magic The Gathering and other Games & Comics APIs
| Fact | Magic The Gathering (this page) | CheapShark | Chess.com | Deck of Cards | Digimon Information |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Not recorded | Not recorded | Not recorded |
| Our test call Measured by us | 2,569 ms | 400 ms | 2,217 ms | 2,266 ms | 2,191 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does Magic The Gathering need an API key?
Magic The Gathering needs no key: you can call it without signing up.
Can I call Magic The Gathering from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the Magic The Gathering docs?
At https://magicthegathering.io/. When we checked, the link answered 200 in 13457 ms.
What are some alternatives to Magic The Gathering?
Other Games & Comics APIs in the list include Atlas Academy, Call of Duty, Chess.com and Comic Vine.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.