/v1/sets
All sets with card counts
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/hearthstone-api/v1/sets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hearthstone-api/v1/sets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hearthstone-api/v1/sets");
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/sets",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"sets": [
{
"name": "Hero Skins",
"cards": 714
},
{
"name": "Placeholder 202204",
"cards": 654
},
{
"name": "Vanilla",
"cards": 382
},
{
"name": "Core",
"cards": 289
},
{
"name": "Expert1",
"cards": 245
},
{
"name": "Legacy",
"cards": 230
},
{
"name": "Space",
"cards": 194
},
{
"name": "Wild West",
"cards": 183
},
{
"name": "The Lost City",
"cards": 183
},
{
"name": "Emerald Dream",
"cards": 183
},
{
"name": "Time Travel",
"cards": 183
},
{
"name": "Battle Of The Bands",
"cards": 183
},
{
"name": "Whizbangs Workshop",
"cards": 183
},
{
"name": "Return Of The Lich King",
"cards": 183
},
{
"name": "Titans",
"cards": 183
},
{
"name": "Island Vacation",
"cards": 183
},
{
"name": "Alterac Valley",
"cards": 170
},
{
"name": "The Barrens",
"cards": 170
},
{
"name": "Stormwind",
"cards": 170
},
{
"name": "Darkmoon Faire",
"cards": 170
},
{
"name": "Revendreth",
"cards": 170
},
{
"name": "The Sunken City",
"cards": 170
},
{
"name": "Cataclysm",
"cards": 164
},
{
"name": "Wonders",
"cards": 147
},
{
"name": "Dragons",
"cards": 140
},
{
"name": "Boomsday",
"cards": 136
},
{
"name": "Dalaran",
"cards": 136
},
{
"name": "Black Temple",
"cards": 135
},
{
"name": "Gilneas",
"cards": 135
},
{
"name": "Icecrown",
"cards": 135
},
{
"name": "Lootapalooza",
…