Welcome to Hextechdocs
League of Legends
This document will provide you with a basic understanding of the League of Legends developer resources. It is designed to help you begin exploring and developing your own tools and products for League of Legends.
Getting Started
Before starting on a product for League of Legends, there are two requirements every developer must complete:
Only after developers have read the policies and registered their product on the Developer Portal, are they granted a limited license to use Riot Games’ intellectual property (IP) outlined in the Legal Jibber Jabber.
Routing Values
The first step to executing a request to the League of Legends API is to select the correct host to execute your request to. The League of Legends API uses what we call routing values in the domain to ensure your request is properly routed. We use both platform ids and regions as routing values (e.g., na1 and americas). These routing values are determined by the topology of the underlying services. Services are frequently clustered by platform resulting in platform ids being used as routing values. Occasionally services are clustered by region, which is when regional routing values are used. The best way to tell if an endpoint uses a platform or a region as a routing value is to execute a sample request through the reference page.
Platform Routing Values
Platform | Host |
---|---|
BR1 | br1.api.riotgames.com |
EUN1 | eun1.api.riotgames.com |
EUW1 | euw1.api.riotgames.com |
JP1 | jp1.api.riotgames.com |
KR | kr.api.riotgames.com |
LA1 | la1.api.riotgames.com |
LA2 | la2.api.riotgames.com |
NA1 | na1.api.riotgames.com |
OC1 | oc1.api.riotgames.com |
TR1 | tr1.api.riotgames.com |
RU | ru.api.riotgames.com |
Regional Routing Values
Region | Host |
---|---|
AMERICAS | americas.api.riotgames.com |
ASIA | asia.api.riotgames.com |
EUROPE | europe.api.riotgames.com |