Discover/OP API
live

OP APIop.gg ↗

Access OP.GG summoner profiles, match history, champion stats, mastery, leaderboards, and champion builds via a structured REST API.

Endpoint health
verified 1d ago
get_summoner_mastery
get_summoner_profile
search_summoner
get_summoner_season_history
get_summoner_ranked_stats
9/9 passing latest checkself-healing
Endpoints
9
Updated
27d ago

What is the OP API?

The OP.GG API exposes 9 endpoints covering League of Legends summoner data, champion performance, and ranked leaderboards. Use get_summoner_match_history to retrieve up to 20 recent matches per call with per-game champion, KDA, items, runes, and team composition fields, or get_champion_build to pull current-patch rune pages, item sets, skill orders, and counter-pick data for any champion by position and rank tier.

This call costs1 credit / call— charged only on success
Try it
Search keyword (summoner name or partial name)
Region code
→ api.parse.bot/scraper/a11058bd-d7ba-443d-b6b0-d28a13c48742/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a11058bd-d7ba-443d-b6b0-d28a13c48742/search_summoner?query=Faker&region=na' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalmissing one? ·

Full-text search for summoners by name and region. Returns matching summoner profiles with game name, tagline, rank, and thumbnail. Results are not paginated; server returns all matches.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (summoner name or partial name)
regionstringRegion code
Response
{
  "type": "object",
  "fields": {
    "summoners": "array of summoner summary objects with gameName, tagline, href, ranked, thumbnail, teamInfo"
  },
  "sample": {
    "data": {
      "summoners": [
        {
          "href": "/summoners/kr/Faker-1God",
          "ranked": "Level 152",
          "tagline": "1God",
          "gameName": "Faker",
          "teamInfo": null,
          "highlight": "<b>Faker</b>",
          "thumbnail": "https://opgg-static.akamaized.net/meta/images/profile_icons/profileIcon6637.jpg"
        }
      ]
    },
    "status": "success"
  }
}

About the OP API

Summoner Data

The search_summoner endpoint accepts a partial or full summoner name plus an optional region code and returns an array of matching profiles, each with gameName, tagline, ranked status, and a thumbnail URL. Once you have an exact name and tag, get_summoner_profile and get_summoner_ranked_stats return the summoner's level, PUUID, current rank and LP (rank_summary), win/loss record, and a champions_summary string listing top champions with win rates. Both endpoints return null for optional fields when no data is available for that summoner.

Match History and Champion Stats

get_summoner_match_history returns up to 20 matches per call. Each match object includes game_type, game_length, game_result, champion played, position, per-game stats, items, runes, spells, and full team compositions. Pass the ended_at ISO timestamp from the oldest match in a response as the pagination cursor to fetch earlier games. You can also filter by champion name or game_type. get_summoner_champion_stats aggregates the current ranked season into per-champion rows with play count, win_rate, kda, cs, and cs_per_min. get_summoner_season_history returns the list of season IDs a summoner has data for, ordered newest to oldest.

Champion Builds and Leaderboards

get_champion_build requires a lowercase, space-free champion slug (e.g., leesin, drmundo) and accepts optional position, tier, and region filters. The response includes runes (primary style, sub style, individual rune selections, shards, pick/win rates), boots, ban_rate, win_rate, pick_rate, and counters — split into weak_against and strong_against arrays with champion keys and rates — all tagged to the current patch. The position field in the response will be null if the site has no data for the requested lane.

Mastery and Leaderboards

get_summoner_mastery returns every champion a summoner has mastery on, with level, points, tokens_earned, grades, and last_played_at timestamps. get_leaderboard returns up to 100 summoners for a given region and tier, with each entry containing name and tag fields alongside a total count.

Reliability & maintenanceVerified

The OP API is a managed, monitored endpoint for op.gg — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when op.gg changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official op.gg API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
9/9 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track a summoner's ranked climb by polling get_summoner_profile for rank and LP changes over time.
  • Build a post-game analyzer using get_summoner_match_history items, runes, and KDA fields to surface performance trends.
  • Generate champion tier lists by aggregating win_rate and pick_rate fields from get_champion_build across multiple champions and positions.
  • Display server-wide top-player rankings for a region by calling get_leaderboard with a specific tier.
  • Show a player's champion mastery depth on a profile page using level, points, and last_played_at from get_summoner_mastery.
  • Suggest counter-picks in a draft tool using the counters.strong_against array from get_champion_build.
  • Audit a summoner's seasonal champion pool using get_summoner_champion_stats filtered by win_rate and play count.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OP.GG have an official developer API?+
OP.GG does not publish a public developer API. Riot Games provides official League of Legends data through the Riot Games Developer Portal at developer.riotgames.com, but it does not include the aggregated champion build statistics, tier lists, or summoner performance summaries that OP.GG computes and that this API exposes.
How does pagination work in get_summoner_match_history?+
Each call returns up to 20 matches. To fetch older games, take the created_at timestamp from the last match in the current response and pass it as the ended_at parameter in the next call. Continue until the returned matches array is empty, which indicates no further history is available for the specified filters.
Does the API cover TFT (Teamfight Tactics) or other OP.GG game modes?+
The current endpoints cover League of Legends summoner profiles, match history, champion stats, mastery, and builds. TFT-specific data such as TFT comp stats, augment data, or TFT leaderboards are not currently included. You can fork this API on Parse and revise it to add endpoints targeting OP.GG's TFT sections.
What does get_champion_build return when I request a position the site has no data for?+
The position field in the response will be null and the build data served will reflect the champion's most common or default position. The patch, runes, boots, and counters fields are still populated based on available data.
Does the API return live in-game data or spectator information for active matches?+
No endpoint currently returns live match state, active game participants, or spectator data. The API covers post-game history via get_summoner_match_history and aggregate statistics. You can fork this API on Parse and revise it to add a live-game endpoint if that data is available on OP.GG for a given summoner.
Page content last updated . Spec covers 9 endpoints from op.gg.
Related APIs in SportsSee all →
leagueofgraphs.com API
Access League of Legends and Teamfight Tactics player statistics, rankings, and match histories. Look up summoner profiles, champion performance data, live game status, and competitive standings across both game modes and all supported regions.
dpm.lol API
Look up League of Legends champion builds, tier lists, and leaderboard rankings from dpm.lol to optimize your gameplay. Search through champion data and discover the best builds for any champion you want to master.
lolalytics.com API
Access data from lolalytics.com.
lolpros.gg API
Search and discover professional League of Legends players while exploring detailed profiles, ladder rankings, and competitive statistics from the pro scene. Track player performance metrics, find competitors by name, and monitor where top players stand in the rankings.
tracker.gg API
Track Valorant player profiles, match histories, competitive rankings, and agent performance statistics from tracker.gg. Search leaderboards, analyze player segments, view daily game data, and access comprehensive reference information covering all Valorant-related data available on the platform.
opendota.com API
Access detailed Dota 2 match statistics, player performance metrics, hero win rates, and professional tournament data to analyze gameplay trends and competitive performance. Search for specific players, explore custom data queries through SQL, and retrieve comprehensive match histories to improve your understanding of the game.
rib.gg API
Access comprehensive Valorant competitive data including match results, player statistics, team information, and tournament details with powerful search and filtering capabilities. Track player performance history, view rankings, discover free agents, and analyze in-depth match rounds and analytics all in one place.
mlbb.gg API
Retrieve comprehensive statistics and tier ratings for Mobile Legends: Bang Bang heroes, including their win rates, ban rates, pick rates, roles, lanes, and specialties to inform your hero selection and strategy. Access detailed attributes for individual heroes or browse the complete hero roster to compare performance metrics across all champions.