Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/riot-games-champion-mastery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Riot Games League of Legends Champion Champion Mastery API
description: The Riot Games Developer API provides access to League of Legends game data including summoner profiles, champion mastery, ranked standings, match history, live spectator data, and tournament management. API keys are obtained through the Riot Developer Portal.
version: v4/v5
contact:
name: Riot Developer Portal
url: https://developer.riotgames.com/
termsOfService: https://developer.riotgames.com/policies/general
servers:
- url: https://na1.api.riotgames.com
description: North America
- url: https://euw1.api.riotgames.com
description: Europe West
- url: https://kr.api.riotgames.com
description: Korea
- url: https://americas.api.riotgames.com
description: Americas (for account/match endpoints)
tags:
- name: Champion Mastery
description: Champion mastery data
paths:
/lol/champion-mastery/v4/champion-masteries/by-puuid/{encryptedPUUID}:
get:
operationId: getChampionMasteryByPUUID
summary: Get Champion Mastery By PUUID
description: Get all champion mastery entries sorted by number of champion points descending.
tags:
- Champion Mastery
parameters:
- name: encryptedPUUID
in: path
required: true
schema:
type: string
- name: count
in: query
description: Number of champion mastery entries to return
schema:
type: integer
security:
- ApiKey: []
responses:
'200':
description: Champion mastery list
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ChampionMasteryDTO'
/lol/champion-mastery/v4/champion-masteries/by-puuid/{encryptedPUUID}/by-champion/{championId}:
get:
operationId: getChampionMasteryByPUUIDAndChampion
summary: Get Champion Mastery By PUUID And Champion
description: Get a champion mastery by PUUID and champion ID.
tags:
- Champion Mastery
parameters:
- name: encryptedPUUID
in: path
required: true
schema:
type: string
- name: championId
in: path
required: true
schema:
type: integer
format: int64
security:
- ApiKey: []
responses:
'200':
description: Champion mastery
content:
application/json:
schema:
$ref: '#/components/schemas/ChampionMasteryDTO'
components:
schemas:
ChampionMasteryDTO:
type: object
properties:
puuid:
type: string
championId:
type: integer
format: int64
championLevel:
type: integer
championPoints:
type: integer
format: int64
lastPlayTime:
type: integer
format: int64
championPointsSinceLastLevel:
type: integer
format: int64
championPointsUntilNextLevel:
type: integer
format: int64
chestGranted:
type: boolean
tokensEarned:
type: integer
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-Riot-Token