Platforms, regions and how to route your API requests
The Riot Games API has several subdomains (host) to route to the region you expect a summoner to be on. The API uses these routing values to ensure that your request is hitting the correct and (in the best case) the nearest server. There are 17 platform routing values, the 17 different game servers. The regional routing values are several "grouped" servers. The Match-v5 API is using the region routing instead of a server one.
Platforms and regions
If you want, for example, the match history (which requires a region) from a summoner in the platform North America (NA1), you have to query the AMERICAS to get their match history The best way to know whether an endpoint uses a platform or a region as a host is to check the dev portal or read the endpoint documentation on this blog.
Region (host) | Platform (host) |
---|---|
AMERICAS (americas.api.riotgames.com) | - NA1 (na1.api.riotgames.com) - BR1 (br1.api.riotgames.com) - LA1 (la1.api.riotgames.com) - LA2 (la2.api.riotgames.com) |
ASIA (asia.api.riotgames.com) | - JP1 (jp1.api.riotgames.com) - KR (kr.api.riotgames.com) |
EUROPE (europe.api.riotgames.com) | - ME1 (me1.api.riotgames.com) - EUN1 (eun1.api.riotgames.com) - EUW1 (euw1.api.riotgames.com) - TR1 (tr1.api.riotgames.com) - RU (ru.api.riotgames.com) |
SEA (sea.api.riotgames.com) | - OC1 (oc1.api.riotgames.com) - PH2 (ph2.api.riotgames.com) - SG2 (sg2.api.riotgames.com) - TH2 (th2.api.riotgames.com) - TW2 (tw2.api.riotgames.com) - VN2 (vn2.api.riotgames.com) |