Naar de inhoud
GET /v1/champion

One champion in full

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/lol-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "version": "16.11.1",
        "champion": {
            "id": "Ahri",
            "key": "103",
            "info": {
                "magic": 8,
                "attack": 3,
                "defense": 4,
                "difficulty": 5
            },
            "lore": "Innately connected to the magic of the spirit realm, Ahri is a fox-like vastaya who can manipulate her prey's emotions and consume their essence—receiving flashes of their memory and insight from each soul she consumes. Once a powerful yet wayward predator, Ahri is now traveling the world in search of remnants of her ancestors while also trying to replace her stolen memories with ones of her own making.",
            "name": "Ahri",
            "tags": [
                "Mage",
                "Assassin"
            ],
            "blurb": "Innately connected to the magic of the spirit realm, Ahri is a fox-like vastaya who can manipulate her prey's emotions and consume their essence—receiving flashes of their memory and insight from each soul she consumes. Once a powerful yet wayward...",
            "skins": [
                "Dynasty Ahri",
                "Midnight Ahri",
                "Foxfire Ahri",
                "Popstar Ahri",
                "Challenger Ahri",
                "Academy Ahri",
                "Arcade Ahri",
                "Popstar Ahri (Amethyst)",
                "Popstar Ahri (Rose Quartz)",
                "Popstar Ahri (Citrine)",
                "Popstar Ahri (Ruby)",
                "Popstar Ahri (Pearl)",
                "Popstar Ahri (Catseye)",
                "Star Guardian Ahri",
                "K/DA Ahri",
                "Prestige K/DA Ahri",
                "Elderwood Ahri",
                "Challenger Ahri (Golden)",
                "Elderwood Ahri (Ruby)",
                "Elderwood Ahri (Peridot)",
                "Elderwood Ahri (Aquamarine)",
                "Elderwood Ahri (Citrine)",
                "Elderwood Ahri (Catseye)",
                "Elderwood Ahri (Rose Quartz)",
                "Elderwood Ahri (Amethyst)",
                "Elderwood Ahri (Obsidian)",
                "Spirit Blossom Ahri",
                "K/DA ALL OUT Ahri",
                "Spirit Blossom Ahri (Aquamarine)",
                "Spirit Blossom Ahri (Pearl)",
                "Spirit Blossom Ahri (Rose Quartz)",
                "Spirit Blossom Ahri (Obsidian)",
                "Spirit Blossom Ahri (Night Blossom)",
                "K/DA ALL OUT Ahri (Ruby)",
                "K/DA ALL OUT Ahri (Rose Quartz)",
                "K/DA ALL OUT Ahri (Tanzanite)",
                "K/DA ALL OUT Ahri (Emerald)",
                "K/DA ALL OUT Ahri (Aquamarine)",
                "K/DA ALL OUT Ahri (Pearl)",
                "K/DA ALL OUT Ahri (Sapphire)",
                "K/DA ALL OUT Ahri (BADDEST)",
                "Coven Ahri",
                "Coven Ahri (Ruby)",
                "Coven Ahri (Emerald)",
                "Coven Ahri (Rose Quart
…