Method signature
NA/LATAM/BR share a match history deployment. Recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list.
Parameters
The queue to retrieve recent matches for. Valid queues are:
competitive- Competitive/ranked matchesunrated- Unrated matchesspikerush- Spike Rush matchestournamentmode- Tournament matchesdeathmatch- Deathmatch matchesonefa- Replication modeggteam- Escalation modehurm- Team Deathmatch
The region to execute against. Must be one of:
ap, br, esports, eu, kr, latam, na.Returns
List of recently completed match IDs.
When
raw_data=True is set on the client, this method returns a Dict instead of a RecentMatchesDto object.Exceptions
InvalidRegion: If the provided region is invalid.InvalidQueue: If the provided queue is invalid.RiotAPIResponseError: If the API response indicates an error.
Example
Notes
- Matches are returned for the last 10 minutes in live regions
- For esports region, matches from the last 12 hours are returned
- NA, LATAM, and BR regions share match history, so results will include matches from all three
- Results may be inconsistent due to load balancing as matches are added/removed

