This example shows how to fetch a player’s match history and retrieve detailed information about their recent games.
To get match history you need to:
- Look up the account by Riot ID to get the PUUID
- Fetch the matchlist using the PUUID
- Optionally retrieve detailed match data for specific games
Filtering by queue type
The queueId field on each MatchlistEntryDto lets you filter by game mode:
Common queue IDs: competitive, unrated, spikerush, deathmatch
Error handling
The matchlist returns matches in reverse chronological order — most recent first.