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:

  1. Read the general policies
  2. Register your product

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

PlatformHost
BR1br1.api.riotgames.com
EUN1eun1.api.riotgames.com
EUW1euw1.api.riotgames.com
JP1jp1.api.riotgames.com
KRkr.api.riotgames.com
LA1la1.api.riotgames.com
LA2la2.api.riotgames.com
NA1na1.api.riotgames.com
OC1oc1.api.riotgames.com
TR1tr1.api.riotgames.com
RUru.api.riotgames.com

Regional Routing Values

RegionHost
AMERICASamericas.api.riotgames.com
ASIAasia.api.riotgames.com
EUROPEeurope.api.riotgames.com