Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Riot Games Match API

Match history and details

Riot Games Match API is one of 13 APIs that Riot Games publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Match. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version v4/v5.

Requests are made against 4 base URLs: https://na1.api.riotgames.com, https://euw1.api.riotgames.com, https://kr.api.riotgames.com, https://americas.api.riotgames.com.

3 operations 3 paths 3 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v4/v5
Base URL
https://na1.api.riotgames.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Riot Games Match API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Riot-Token (ApiKey).

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Match 3

Match history and details

GET
/lol/match/v5/matches/by-puuid/{puuid}/ids
Get Match IDs By PUUID
getMatchIdsByPUUID 5 params → 200
GET
/lol/match/v5/matches/{matchId}
Get Match
getMatch 1 param → 200
GET
/lol/match/v5/matches/{matchId}/timeline
Get Match Timeline
getMatchTimeline 1 param → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ParticipantDTO (12 properties), MatchDTO (2 properties), MatchTimelineDTO (2 properties). Each schema is shown below with its type and property counts.

MatchTimelineDTO
object
2 properties
MatchDTO
object
2 properties
ParticipantDTO
object
12 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

riot-games-match-api-openapi.yml Raw ↑

Other APIs Riot Games publishes across the network.

VALORANT API
Teamfight Tactics API
Legends of Runeterra API
Riot Account API
Riot Data Dragon
Riot Games Champion API
Riot Games Champion Mastery API
Riot Games Clash API
Riot Games League API
Riot Games Spectator API
Riot Games Status API
Riot Games Summoner API