Zum Inhalt springen
GET /v1/type

Type matchups

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/pokemon-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "id": 13,
        "name": "electric",
        "pokemon": [
            "pikachu",
            "raichu",
            "magnemite",
            "magneton",
            "voltorb",
            "electrode",
            "electabuzz",
            "jolteon",
            "zapdos",
            "chinchou",
            "lanturn",
            "pichu",
            "mareep",
            "flaaffy",
            "ampharos",
            "elekid",
            "raikou",
            "electrike",
            "manectric",
            "plusle",
            "minun",
            "shinx",
            "luxio",
            "luxray",
            "pachirisu",
            "magnezone",
            "electivire",
            "rotom",
            "blitzle",
            "zebstrika"
        ],
        "pokemon_count": 114,
        "damage_relations": {
            "no_damage_to": [
                "ground"
            ],
            "half_damage_to": [
                "grass",
                "electric",
                "dragon"
            ],
            "no_damage_from": [],
            "double_damage_to": [
                "flying",
                "water"
            ],
            "half_damage_from": [
                "flying",
                "steel",
                "electric"
            ],
            "double_damage_from": [
                "ground"
            ]
        }
    },
    "meta": {
        "timestamp": "2026-05-30T06:19:17.441Z",
        "request_id": "e1b1b7ce-8cca-49f3-92dd-daca8cb0d1f3"
    },
    "status": "ok",
    "message": "Type retrieved",
    "success": true
}