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 Spectator API

Live game spectator data

Riot Games Spectator 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 Spectator. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 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.

2 operations 2 paths 3 schemas 2 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 Spectator API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Riot-Token (ApiKey).

Paths & Operations 2

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

Spectator 2

Live game spectator data

GET
/lol/spectator/v5/active-games/by-summoner/{encryptedSummonerId}
Get Live Game
getLiveGame 1 param → 200404
GET
/lol/spectator/v5/featured-games
Get Featured Games
getFeaturedGames → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are CurrentGameInfoDTO (9 properties), CurrentGameParticipantDTO (7 properties), FeaturedGamesDTO (2 properties). Each schema is shown below with its type and property counts.

CurrentGameParticipantDTO
object
7 properties
CurrentGameInfoDTO
object
9 properties
FeaturedGamesDTO
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

riot-games-spectator-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 Match API
Riot Games Status API
Riot Games Summoner API