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-spectator-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 Spectator 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: Spectator
description: Live game spectator data
paths:
/lol/spectator/v5/active-games/by-summoner/{encryptedSummonerId}:
get:
operationId: getLiveGame
summary: Get Live Game
description: Get current game information for the given summoner ID.
tags:
- Spectator
parameters:
- name: encryptedSummonerId
in: path
required: true
schema:
type: string
security:
- ApiKey: []
responses:
'200':
description: Current game info
content:
application/json:
schema:
$ref: '#/components/schemas/CurrentGameInfoDTO'
'404':
description: No live game found
/lol/spectator/v5/featured-games:
get:
operationId: getFeaturedGames
summary: Get Featured Games
description: Get list of featured games.
tags:
- Spectator
security:
- ApiKey: []
responses:
'200':
description: Featured games list
content:
application/json:
schema:
$ref: '#/components/schemas/FeaturedGamesDTO'
components:
schemas:
CurrentGameInfoDTO:
type: object
properties:
gameId:
type: integer
format: int64
gameType:
type: string
gameStartTime:
type: integer
format: int64
mapId:
type: integer
format: int64
gameLength:
type: integer
format: int64
platformId:
type: string
gameMode:
type: string
gameQueueConfigId:
type: integer
format: int64
participants:
type: array
items:
$ref: '#/components/schemas/CurrentGameParticipantDTO'
CurrentGameParticipantDTO:
type: object
properties:
teamId:
type: integer
format: int64
spell1Id:
type: integer
format: int64
spell2Id:
type: integer
format: int64
championId:
type: integer
format: int64
profileIconId:
type: integer
format: int64
summonerName:
type: string
puuid:
type: string
FeaturedGamesDTO:
type: object
properties:
gameList:
type: array
items:
$ref: '#/components/schemas/CurrentGameInfoDTO'
clientRefreshInterval:
type: integer
format: int64
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-Riot-Token