Aller au contenu
GET /v1/champion

One champion in full

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/lol-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
…