# GET /lol/summoner/v4/summoners/by-name/{} is deprecated

Riot Games API deprecated GET /lol/summoner/v4/summoners/by-name/{} without giving a shutdown date yet.

The provider deprecated the GET /lol/summoner/v4/summoners/by-name/{} endpoint on October 16, 2023, without a shutdown date. The provider discourages using these calls since they will be removed in the future, after which they fail.

## What to use instead

Resolve the Riot ID with GET /riot/account/v1/accounts/by-riot-id/{gameName}/{tagLine} on a regional host, then call GET /lol/summoner/v4/summoners/by-puuid/{encryptedPUUID}.

- API: Riot Games API (*.api.riotgames.com)
- Kind: Endpoint removal
- Announced: October 16, 2023
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /lol/summoner/v4/summoners/by-name/{}`
- Source: [Announcement](https://www.riotgames.com/en/DevRel/summoner-names-to-riot-id)
- Verified: October 27, 2026, against Riot Games API's own pages
- Page: https://www.okapi.bot/providers/riot-games-api/breaking-changes/get-lol-summoner-v4-summoners-by-name-is-deprecated/

## Riot Games API's words

> Although deprecated, they can still be used to convert Summoner Names to PUUID or summonerID. However, we discourage using them as part of your application since they will be removed in the future.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
