Public API Documentation

v1.4, revised May 22, 2022

#Introduction

WhatIsMyMMR.com analyzes hundreds of millions of matches each month, resulting in highly correlated MMR values and robust distribution data. The WhatIsMyMMR public API makes it easier than ever to tap into this wealth of knowledge at no cost. This document outlines what’s possible with the API along with the ground rules.

Built something amazing, have a question, or need a higher rate limit? Feel free to reach out to Josh by sending an email.

#License

Creative Commons Attribution 4.0 International (CC BY 4.0). You must provide attribution if you use this API.

#Rules

Although the API is a free public resource, API consumers are expected to obey some basic rules to keep things running smoothly:

#Regions

Endpoints are scoped by region and specified by the request subdomain. If no valid region is specified, na is used instead.

Region
naNorth America
euwEU West
euneEU Nordic & East
krKorea

#Queues

MMR is analyzed and tracked for the following queues:

Queue
rankedRanked 5v5 Draft Pick games
normalNormal 5v5 Draft & Blind Pick games
ARAMARAM games

#GET/api/v1/summoner

Returns the estimated ranked, normal, and ARAM MMRs for a summoner.

Example: https://na.whatismymmr.com/api/v1/summoner?name=Alkraan

Parameter
nameA case insensitive, whitespace sensitive summoner’s name.
Response
<queue>.avgThe estimated MMR for the summoner in this queue. Is null if no estimate is available.
<queue>.errThe margin of error for the estimate using an 95% confidence interval for this queue.
<queue>.warnA boolean flag indicating that the estimate may have reduced accuracy due to insufficient match data.
<queue>.timestampThe UTC timestamp of the last data processed for the summoner in this queue.
<queue>.historicalAn array of previous queue data objects with a minimum timescale of one day.
<queue>.closestRankThe closest equivalent rank to the estimated MMR. For unranked queues this is derived by mapping the percentile to the ranked distribution.
<queue>.percentileA rough percentile for the closest ranked division. For unranked queues this is for the overall distribution instead.
ranked.summaryHTML-formatted analysis of the summoner’s ranked standings based on MMR. This field will be deprecated in v2.
ranked.tierDataAn array of tier objects relative to the summoner’s current MMR, containing average, min, and max MMR.
ranked.historicalTierDataAn array of reduced tier objects relative to the summoner’s current MMR, containing the average MMR.
Error Code
0Unexpected internal server error.
1Unable to connect to the database.
100Summoner is not on record.
101No recent MMR data for summoner.
200Missing 'name' query parameter.
600Missing user agent.
666Contact Josh to use the API.
9001Too many requests.

#GET/api/v1/distribution

Returns a scaled number of players across the entire range of MMR for all queues.

Example: https://na.whatismymmr.com/api/v1/distribution

Response
<queue>.<mmr>A scaled number of players at this MMR.
Error Code
0Unexpected internal server error.
1Unable to connect to the database.
9001Too many requests.