/v1/card
A card by name (exact, then fuzzy)
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/mtg-api/v1/card" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mtg-api/v1/card", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mtg-api/v1/card");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/mtg-api/v1/card",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"card": {
"id": "bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd",
"cmc": 0,
"set": "vma",
"name": "Black Lotus",
"image": "https://cards.scryfall.io/normal/front/b/d/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd.jpg?1614638838",
"power": null,
"artist": "Chris Rahn",
"colors": [],
"prices": {
"eur": null,
"tix": "75.20",
"usd": null,
"eur_foil": null,
"usd_foil": null,
"usd_etched": null
},
"rarity": "bonus",
"loyalty": null,
"keywords": [],
"set_name": "Vintage Masters",
"mana_cost": "{0}",
"toughness": null,
"type_line": "Artifact",
"legalities": {
"tlr": "banned",
"duel": "banned",
"brawl": "not_legal",
"penny": "not_legal",
"predh": "banned",
"future": "not_legal",
"legacy": "banned",
"modern": "not_legal",
"pauper": "not_legal",
"alchemy": "not_legal",
"pioneer": "not_legal",
"vintage": "restricted",
"historic": "not_legal",
"standard": "not_legal",
"timeless": "not_legal",
"commander": "banned",
"gladiator": "not_legal",
"oldschool": "not_legal",
"premodern": "not_legal",
"oathbreaker": "banned",
"standardbrawl": "not_legal",
"paupercommander": "not_legal"
},
"oracle_text": "{T}, Sacrifice this artifact: Add three mana of any one color.",
"released_at": "2014-06-16",
"scryfall_uri": "https://scryfall.com/card/vma/4/black-lotus?utm_source=api",
"color_identity": [],
"collector_number": "4"
}
},
"meta": {
"timestamp": "2026-06-01T00:04:42.440Z",
"request_id": "2b1cda1b-aa99-49d7-9578-284c7bfe2632"
},
"status": "ok",
"message": "Card retrieved",
"success": true
}