Ir al contenido
GET /v1/sets

All sets

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/pokemontcg-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/pokemontcg-api/v1/sets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pokemontcg-api/v1/sets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pokemontcg-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/pokemontcg-api/v1/sets",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "sets": [
            {
                "id": "base1",
                "logo": "https://assets.tcgdex.net/en/base/base1/logo.webp",
                "name": "Base Set",
                "symbol": null,
                "card_count": 102
            },
            {
                "id": "base2",
                "logo": "https://assets.tcgdex.net/en/base/base2/logo.webp",
                "name": "Jungle",
                "symbol": "https://assets.tcgdex.net/univ/base/base2/symbol.webp",
                "card_count": 64
            },
            {
                "id": "basep",
                "logo": "https://assets.tcgdex.net/en/base/basep/logo.webp",
                "name": "Wizards Black Star Promos",
                "symbol": "https://assets.tcgdex.net/univ/base/basep/symbol.webp",
                "card_count": 53
            },
            {
                "id": "wp",
                "logo": null,
                "name": "W Promotional",
                "symbol": null,
                "card_count": 7
            },
            {
                "id": "base3",
                "logo": "https://assets.tcgdex.net/en/base/base3/logo.webp",
                "name": "Fossil",
                "symbol": "https://assets.tcgdex.net/univ/base/base3/symbol.webp",
                "card_count": 62
            },
            {
                "id": "jumbo",
                "logo": null,
                "name": "Jumbo cards",
                "symbol": null,
                "card_count": 160
            },
            {
                "id": "base4",
                "logo": "https://assets.tcgdex.net/en/base/base4/logo.webp",
                "name": "Base Set 2",
                "symbol": "https://assets.tcgdex.net/univ/base/base4/symbol.webp",
                "card_count": 130
            },
            {
                "id": "base5",
                "logo": "https://assets.tcgdex.net/en/base/base5/logo.webp",
                "name": "Team Rocket",
                "symbol": "https://assets.tcgdex.net/univ/base/base5/symbol.webp",
                "card_count": 83
            },
            {
                "id": "gym1",
                "logo": "https://assets.tcgdex.net/en/gym/gym1/logo.webp",
                "name": "Gym Heroes",
                "symbol": "https://assets.tcgdex.net/univ/gym/gym1/symbol.webp",
                "card_count": 132
            },
            {
                "id": "gym2",
                "logo": "https://assets.tcgdex.net/en/gym/gym2/logo.webp",
                "name": "Gym Challenge",
                "symbol": "https://assets.tcgdex.net/univ/gym/gym2/symbol.webp",
                "card_count": 132
            },
            {
                "id": "neo1",
                "logo": "https://assets.tcgdex.net/en/neo/neo1/logo.webp",
                "name": "Neo Genesis",
                "symbol": "https://assets.tcgdex.net/univ/neo/neo1/symbol.webp",
                "card_count": 111
            },
           
…