A list of Champion IDs in League of Legends
Champion IDs (or sometimes called keys) are a key part of the League of Legends API. They come in different formats and you can either use DataDragon or CommunityDragon to parse them into your application.
However, as it sometimes comes very handy to check the IDs manually, here is a list with all champion IDs, keys, their icons and their real names. Below the table there is a YouTube tutorial to parse that data yourself
Champion IDs (Patch 14.18.1)
ID | Icon | Key | Name |
---|---|---|---|
266 | Aatrox |
Aatrox | |
103 | Ahri |
Ahri | |
84 | Akali |
Akali | |
166 | Akshan |
Akshan | |
12 | Alistar |
Alistar | |
32 | Amumu |
Amumu | |
34 | Anivia |
Anivia | |
1 | Annie |
Annie | |
523 | Aphelios |
Aphelios | |
22 | Ashe |
Ashe | |
136 | AurelionSol |
Aurelion Sol | |
893 | Aurora |
Aurora | |
268 | Azir |
Azir | |
432 | Bard |
Bard | |
200 | Belveth |
Bel'Veth | |
53 | Blitzcrank |
Blitzcrank | |
63 | Brand |
Brand | |
201 | Braum |
Braum | |
233 | Briar |
Briar | |
51 | Caitlyn |
Caitlyn | |
164 | Camille |
Camille | |
69 | Cassiopeia |
Cassiopeia | |
31 | Chogath |
Cho'Gath | |
42 | Corki |
Corki | |
122 | Darius |
Darius | |
131 | Diana |
Diana | |
119 | Draven |
Draven | |
36 | DrMundo |
Dr. Mundo | |
245 | Ekko |
Ekko | |
60 | Elise |
Elise | |
28 | Evelynn |
Evelynn | |
81 | Ezreal |
Ezreal | |
9 | Fiddlesticks |
Fiddlesticks | |
114 | Fiora |
Fiora | |
105 | Fizz |
Fizz | |
3 | Galio |
Galio | |
41 | Gangplank |
Gangplank | |
86 | Garen |
Garen | |
150 | Gnar |
Gnar | |
79 | Gragas |
Gragas | |
104 | Graves |
Graves | |
887 | Gwen |
Gwen | |
120 | Hecarim |
Hecarim | |
74 | Heimerdinger |
Heimerdinger | |
910 | Hwei |
Hwei | |
420 | Illaoi |
Illaoi | |
39 | Irelia |
Irelia | |
427 | Ivern |
Ivern | |
40 | Janna |
Janna | |
59 | JarvanIV |
Jarvan IV | |
24 | Jax |
Jax | |
126 | Jayce |
Jayce | |
202 | Jhin |
Jhin | |
222 | Jinx |
Jinx | |
145 | Kaisa |
Kai'Sa | |
429 | Kalista |
Kalista | |
43 | Karma |
Karma | |
30 | Karthus |
Karthus | |
38 | Kassadin |
Kassadin | |
55 | Katarina |
Katarina | |
10 | Kayle |
Kayle | |
141 | Kayn |
Kayn | |
85 | Kennen |
Kennen | |
121 | Khazix |
Kha'Zix | |
203 | Kindred |
Kindred | |
240 | Kled |
Kled | |
96 | KogMaw |
Kog'Maw | |
897 | KSante |
K'Sante | |
7 | Leblanc |
LeBlanc | |
64 | LeeSin |
Lee Sin | |
89 | Leona |
Leona | |
876 | Lillia |
Lillia | |
127 | Lissandra |
Lissandra | |
236 | Lucian |
Lucian | |
117 | Lulu |
Lulu | |
99 | Lux |
Lux | |
54 | Malphite |
Malphite | |
90 | Malzahar |
Malzahar | |
57 | Maokai |
Maokai | |
11 | MasterYi |
Master Yi | |
902 | Milio |
Milio | |
21 | MissFortune |
Miss Fortune | |
62 | MonkeyKing |
Wukong | |
82 | Mordekaiser |
Mordekaiser | |
25 | Morgana |
Morgana | |
950 | Naafiri |
Naafiri | |
267 | Nami |
Nami | |
75 | Nasus |
Nasus | |
111 | Nautilus |
Nautilus | |
518 | Neeko |
Neeko | |
76 | Nidalee |
Nidalee | |
895 | Nilah |
Nilah | |
56 | Nocturne |
Nocturne | |
20 | Nunu |
Nunu & Willump | |
2 | Olaf |
Olaf | |
61 | Orianna |
Orianna | |
516 | Ornn |
Ornn | |
80 | Pantheon |
Pantheon | |
78 | Poppy |
Poppy | |
555 | Pyke |
Pyke | |
246 | Qiyana |
Qiyana | |
133 | Quinn |
Quinn | |
497 | Rakan |
Rakan | |
33 | Rammus |
Rammus | |
421 | RekSai |
Rek'Sai | |
526 | Rell |
Rell | |
888 | Renata |
Renata Glasc | |
58 | Renekton |
Renekton | |
107 | Rengar |
Rengar | |
92 | Riven |
Riven | |
68 | Rumble |
Rumble | |
13 | Ryze |
Ryze | |
360 | Samira |
Samira | |
113 | Sejuani |
Sejuani | |
235 | Senna |
Senna | |
147 | Seraphine |
Seraphine | |
875 | Sett |
Sett | |
35 | Shaco |
Shaco | |
98 | Shen |
Shen | |
102 | Shyvana |
Shyvana | |
27 | Singed |
Singed | |
14 | Sion |
Sion | |
15 | Sivir |
Sivir | |
72 | Skarner |
Skarner | |
901 | Smolder |
Smolder | |
37 | Sona |
Sona | |
16 | Soraka |
Soraka | |
50 | Swain |
Swain | |
517 | Sylas |
Sylas | |
134 | Syndra |
Syndra | |
223 | TahmKench |
Tahm Kench | |
163 | Taliyah |
Taliyah | |
91 | Talon |
Talon | |
44 | Taric |
Taric | |
17 | Teemo |
Teemo | |
412 | Thresh |
Thresh | |
18 | Tristana |
Tristana | |
48 | Trundle |
Trundle | |
23 | Tryndamere |
Tryndamere | |
4 | TwistedFate |
Twisted Fate | |
29 | Twitch |
Twitch | |
77 | Udyr |
Udyr | |
6 | Urgot |
Urgot | |
110 | Varus |
Varus | |
67 | Vayne |
Vayne | |
45 | Veigar |
Veigar | |
161 | Velkoz |
Vel'Koz | |
711 | Vex |
Vex | |
254 | Vi |
Vi | |
234 | Viego |
Viego | |
112 | Viktor |
Viktor | |
8 | Vladimir |
Vladimir | |
106 | Volibear |
Volibear | |
19 | Warwick |
Warwick | |
498 | Xayah |
Xayah | |
101 | Xerath |
Xerath | |
5 | XinZhao |
Xin Zhao | |
157 | Yasuo |
Yasuo | |
777 | Yone |
Yone | |
83 | Yorick |
Yorick | |
350 | Yuumi |
Yuumi | |
154 | Zac |
Zac | |
238 | Zed |
Zed | |
221 | Zeri |
Zeri | |
115 | Ziggs |
Ziggs | |
26 | Zilean |
Zilean | |
142 | Zoe |
Zoe | |
143 | Zyra |
Zyra |
Tutorial
You need this script as the Riot Games or better the League of Legends API only outputs the ID of a champion rather than the name. Even tho this changed in match-v5, there are still several APIs not supporting this new feature and it is quite easy for you to get the full champion data using this method.
PHP
A tutorial for PHP is also on YouTube.
<?php
// fetch all patches
$versions = file_get_contents('https://ddragon.leagueoflegends.com/api/versions.json');
$versions = json_decode($versions, true);
$latest = $versions[0]; // get the latest patch
// get a list of champions for en_US for the latest patch
$json = file_get_contents('https://ddragon.leagueoflegends.com/cdn/'.$latest.'/data/en_US/champion.json');
$json = json_decode($json, true);
$list = $json['data'];
function getChampionInfo($id = 1) {
global $list;
foreach ($list as $key => $value) {
if($list[$key]['key'] == $id) {
return $list[$key];
}
}
return false;
}
// Example
echo getChampionInfo(45)["name"] // outputs "Veigar"
?>
JavaScript
There is a nice GitHub Gist which even allows you to change the language: gist.github.com. Otherwise, here is a "simplified" Javascript solution:
let championJson = {};
async function getLatestDDragon() {
if(Object.keys(championJson).length > 0) {return champinoJson;}
const versions = await fetch("https://ddragon.leagueoflegends.com/api/versions.json");
const latest = await versions.json()[0];
const ddragon = await fetch(`https://ddragon.leagueoflegends.com/cdn/${latest}/data/en_US/champion.json`);
const champions = await ddragon.json()["data"];
championJson = champions;
return champions;
}
async function getChampionByKey(key) {
const champions = await getLatestDDragon();
for (var championName in champions) {
if (!champions.hasOwnProperty(championName)) {continue;}
if(champions[championName]["key"] === key) {
return champions[championName]
}
}
return false;
}
console.log(await getChampionByKey(45)); // outputs Array<Veigar>