/v1/card
A single card by id or name
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/hearthstone-api/v1/card" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hearthstone-api/v1/card", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hearthstone-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/hearthstone-api/v1/card",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"card": {
"id": "EX1_277",
"set": "Legacy",
"cost": 1,
"name": "Arcane Missiles",
"text": "Deal 3 damage randomly split among all enemies.",
"type": "Spell",
"armor": null,
"elite": false,
"image": "https://art.hearthstonejson.com/v1/render/latest/enUS/256x/EX1_277.png",
"races": [],
"artist": "Warren Mahy",
"attack": null,
"dbf_id": 564,
"flavor": "You'd think you'd be able to control your missiles a little better since you're a powerful mage and all.",
"health": null,
"rarity": "Free",
"mechanics": [
"Immunetospellpower"
],
"card_class": "Mage",
"durability": null,
"collectible": true,
"spell_school": "Arcane"
}
},
"meta": {
"timestamp": "2026-06-08T01:18:33.013Z",
"request_id": "17951487-0021-4433-b63d-a425c32abba3"
},
"status": "ok",
"message": "Card retrieved successfully",
"success": true
}