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 Champion Mastery API

Champion mastery data

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

This API exposes 2 operations across 2 paths, and defines 1 schema. 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 1 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 Champion Mastery 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.

Champion Mastery 2

Champion mastery data

GET
/lol/champion-mastery/v4/champion-masteries/by-puuid/{encryptedPUUID}
Get Champion Mastery By PUUID
getChampionMasteryByPUUID 2 params → 200
GET
/lol/champion-mastery/v4/champion-masteries/by-puuid/{encryptedPUUID}/by-champion/{championId}
Get Champion Mastery By PUUID And Champion
getChampionMasteryByPUUIDAndChampion 2 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is ChampionMasteryDTO (9 properties). Each schema is shown below with its type and property counts.

ChampionMasteryDTO
object
9 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

riot-games-champion-mastery-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 Clash API
Riot Games League API
Riot Games Match API
Riot Games Spectator API
Riot Games Status API
Riot Games Summoner API