Aller au contenu
GET /v1/meta

Usage notes

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lol-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lol-api/v1/meta");
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/meta",
    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": {
        "note": "League of Legends game data. /v1/champions (all champions; ?tag=Mage|Fighter|Assassin|Tank|Support|Marksman to filter); /v1/champion?name=Ahri (one champion in full — abilities Q/W/E/R, passive, base stats, lore, tips, skins); /v1/items?q=sword (search items by name; ?id= for one — gold cost, stats, build path); /v1/spells (summoner spells like Flash & Ignite); /v1/runes (the rune trees). Always reflects the current live patch. Game data © Riot Games; not endorsed by Riot.",
        "source": "Riot Data Dragon (ddragon.leagueoflegends.com)",
        "endpoints": [
            "/v1/champions",
            "/v1/champion",
            "/v1/items",
            "/v1/spells",
            "/v1/runes",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:03.075Z",
        "request_id": "25ee769d-4a8b-485f-8dd9-16f604075e80"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}