Optimancer

Where the numbers come from

Riot's API has no win rates. Like every statistics site, Optimancer collects ranked games itself and counts them. Nothing is copied from other sites.

The rank of a game

A game has no rank of its own. Optimancer gives it the median rank of the players whose rank it knows, from the ladder pages it reads once a day. If it knows none of them, the game gets the rank of the player it was found through. The champion page shows what share of its players had a known rank. The rank filter applies to this game rank.

How to read a win rate

Every win rate comes with its number of games and its 95% interval (Wilson score). With 100 games a 50% win rate could just as well be 40% or 60%. With 10,000 games it lies within about ±1 point. In the lists, the dot is the win rate and the line is its interval, on a 30–70% scale. The grey hairline is 50%, the red tick the champion's average. Rows with fewer than 30 games are greyed. Hover a row or focus it with the keyboard for the exact numbers. The small ▲/▼ number is the difference from the champion's average in points.

A high win rate does not prove that an option is better. Players who choose it may differ: they may be one-tricks, or the option may suit games that are already going well. Compare options that have many games and intervals that don't overlap.

The arrows on the icons

Every champion, ability, item, rune and summoner spell shows how its last change went: a green ▲ for a buff, a red ▼ for a nerf, a grey ↔ for an adjustment. A gold ring around the arrow means the change is in the current patch. Hover the arrow to see the change line by line and the patches before it, or click it for the whole history.

Riot labels buffs, nerfs and adjustments only in each patch's infographic, which is an image, and only for champions. Items are listed there under "Systems" without a direction. So Optimancer judges every line of the wiki's patch notes by its wording:

A patch is a buff when all its counted lines are buffs, a nerf when all are nerfs, otherwise an adjustment. Compared with Riot's infographics for patches 26.21 and 26.22, this gives Riot's verdict for 35 of 40 champions. The other five were mixed patches that Riot counted as a net nerf (or buff), and Optimancer shows those as adjusted.

How much data

With a development or personal API key Riot allows 100 requests per 2 minutes per host. EUW games come from the europe host, so that is about 30,000 games per day (a game takes two requests: game and timeline), but only while the site is running. Every game counts ten players. More regions (KR, …) can be switched on, each with its own budget; for now the budget goes to EUW's highest ranks.

Getting a Riot API key

  1. Sign in at developer.riotgames.com.
  2. A development key is there right away. It expires after 24 hours, which is good for a first try.
  3. For a key that doesn't expire, register a personal product there. That is what a tool for yourself, not open to the public, is meant to use.
  4. Put the key in riot_key.txt in the Optimancer folder (it is not committed to git), or set the environment variable RIOT_API_KEY. The site notices it within a minute.

Game data, icons and patch notes