/v1/set
Set detail with cards
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/pokemontcg-api/v1/set" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pokemontcg-api/v1/set", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pokemontcg-api/v1/set");
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/pokemontcg-api/v1/set",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"set": {
"id": "base1",
"logo": "https://assets.tcgdex.net/en/base/base1/logo.webp",
"name": "Base Set",
"cards": [
{
"id": "base1-1",
"name": "Alakazam",
"image": "https://assets.tcgdex.net/en/base/base1/1/high.webp",
"local_id": "1"
},
{
"id": "base1-2",
"name": "Blastoise",
"image": "https://assets.tcgdex.net/en/base/base1/2/high.webp",
"local_id": "2"
},
{
"id": "base1-3",
"name": "Chansey",
"image": "https://assets.tcgdex.net/en/base/base1/3/high.webp",
"local_id": "3"
},
{
"id": "base1-4",
"name": "Charizard",
"image": "https://assets.tcgdex.net/en/base/base1/4/high.webp",
"local_id": "4"
},
{
"id": "base1-5",
"name": "Clefairy",
"image": "https://assets.tcgdex.net/en/base/base1/5/high.webp",
"local_id": "5"
},
{
"id": "base1-6",
"name": "Gyarados",
"image": "https://assets.tcgdex.net/en/base/base1/6/high.webp",
"local_id": "6"
},
{
"id": "base1-7",
"name": "Hitmonchan",
"image": "https://assets.tcgdex.net/en/base/base1/7/high.webp",
"local_id": "7"
},
{
"id": "base1-8",
"name": "Machamp",
"image": "https://assets.tcgdex.net/en/base/base1/8/high.webp",
"local_id": "8"
},
{
"id": "base1-9",
"name": "Magneton",
"image": "https://assets.tcgdex.net/en/base/base1/9/high.webp",
"local_id": "9"
},
{
"id": "base1-10",
"name": "Mewtwo",
"image": "https://assets.tcgdex.net/en/base/base1/10/high.webp",
"local_id": "10"
},
{
"id": "base1-11",
"name": "Nidoking",
"image": "https://assets.tcgdex.net/en/base/base1/11/high.webp",
"local_id": "11"
},
{
"id": "base1-12",
"name": "Ninetales",
"image": "https://assets.tcgdex.net/en/base/base1/12/high.webp",
"local_id": "12"
…