/v1/meta
Service description & endpoints
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/hearthstone-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hearthstone-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hearthstone-api/v1/meta");
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/meta",
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": {
"service": "hearthstone-api",
"endpoints": {
"GET /v1/card": "A single card by id or name (id=, e.g. EX1_277 or Arcane Missiles).",
"GET /v1/meta": "This document.",
"GET /v1/sets": "All sets with card counts.",
"GET /v1/random": "A random card (accepts the same filters as search).",
"GET /v1/search": "Search/filter cards (name=, class=, type=, rarity=, cost=, set=, race=, mechanic=, limit=).",
"GET /v1/classes": "All classes with card counts."
},
"description": "Hearthstone card data via the open HearthstoneJSON dataset: search and filter every collectible card by name, class, type, rarity, cost, set, minion race or mechanic; fetch a single card with its stats, text and rendered art; list the classes and sets; and pull a random card. Real data, no key."
},
"meta": {
"timestamp": "2026-06-08T01:18:33.441Z",
"request_id": "4ddc91e8-272f-4048-ac4c-7cf78470dc6f"
},
"status": "ok",
"message": "Meta",
"success": true
}