Discover/League of Graphs API
live

League of Graphs APIleagueofgraphs.com

Access League of Legends and TFT player stats, champion win rates, live game status, and ranked leaderboards via the League of Graphs API.

Endpoint health
verified 4d ago
get_lol_rankings
get_lol_live_game
get_tft_champion_stats
get_tft_rankings
get_lol_summoner_details
6/6 passing latest checkself-healing
Endpoints
6
Updated
26d ago

What is the League of Graphs API?

The League of Graphs API covers 6 endpoints for League of Legends and Teamfight Tactics data, including summoner profiles with match history, champion statistics, and ranked leaderboards. get_lol_summoner_details returns a player's current rank tier, LP, and up to recent matches with per-game champion, KDA, result, game type, and duration. All major regions are supported, including KR, NA, EUW, BR, JP, and VN.

Try it
Summoner Riot ID (format: Name-Tag or Name#Tag, e.g. Faker-KR1)
Region code for the summoner's server
api.parse.bot/scraper/a37a789e-d312-4d4e-b7cc-9407bfc6963f/<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/a37a789e-d312-4d4e-b7cc-9407bfc6963f/get_lol_summoner_details?name=Faker-KR1&region=kr' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace leagueofgraphs-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.league_of_graphs_api import LeagueOfGraphs, Region, RankingRegion

client = LeagueOfGraphs()

# Fetch a summoner's profile in Korea
summoner = client.summoners.get(name="Faker-KR1", region=Region.KR)
print(summoner.name, summoner.region, summoner.rank.tier, summoner.rank.lp)

for match in summoner.match_history:
    print(match.champion, match.result, match.kda, match.type, match.duration)

# Check if the summoner is in a live game
live_status = summoner.live_game()
print(live_status.in_game, live_status.status)

# Browse top LoL players in Korea
for player in client.lolrankings.list(region=RankingRegion.KR, limit=10):
    print(player.rank, player.summoner, player.tier, player.lp)

# Get champion meta stats
for champ in client.champions.list(limit=5):
    print(champ.name, champ.win_rate, champ.pick_rate, champ.ban_rate, champ.role, champ.tier)

# Browse TFT rankings globally
for tft_player in client.tftrankings.list(region=RankingRegion.ALL, limit=5):
    print(tft_player.rank, tft_player.summoner, tft_player.tier, tft_player.lp, tft_player.wins)

# List TFT champions in the current set
for tft_champ in client.tftchampions.list(limit=10):
    print(tft_champ.champion_name, tft_champ.champion_slug)
All endpoints · 6 totalmissing one? ·

Retrieve a summoner's profile including rank tier and recent match history. Each match includes the champion played, result, KDA, game type, and duration. The summoner is identified by Riot ID (Name#Tag or Name-Tag format) and region. Returns empty match_history if the profile exists but has no recent games.

Input
ParamTypeDescription
namerequiredstringSummoner Riot ID (format: Name-Tag or Name#Tag, e.g. Faker-KR1)
regionstringRegion code for the summoner's server
Response
{
  "type": "object",
  "fields": {
    "name": "string, the summoner Riot ID as provided",
    "rank": "object with tier (string) and lp (string)",
    "region": "string, the region queried",
    "match_history": "array of match objects with champion, result, kda, type, duration"
  },
  "sample": {
    "data": {
      "name": "Faker-KR1",
      "rank": {
        "lp": "",
        "tier": "Silver III"
      },
      "region": "kr",
      "match_history": [
        {
          "kda": "5/10/13",
          "type": "Normal (Draft Pick)",
          "result": "Defeat",
          "champion": "Bard",
          "duration": "34min 5s"
        }
      ]
    },
    "status": "success"
  }
}

About the League of Graphs API

Summoner and Live Game Endpoints

The get_lol_summoner_details endpoint accepts a Riot ID in Name-Tag or Name#Tag format alongside an optional region code, and returns a rank object containing tier and lp fields plus a match_history array. Each match entry includes champion, result, kda, type (game mode), and duration. The get_lol_live_game endpoint takes the same inputs and returns an in_game boolean and a human-readable status string — useful for real-time presence checks without polling a full match record.

Champion Statistics

get_lol_champion_stats returns a champions array covering every champion in the current patch. Each object includes win_rate, pick_rate, ban_rate, kda, role, and tier. No inputs are required. The TFT counterpart, get_tft_champion_stats, returns a simpler list of objects with championName and championSlug for the current TFT set — useful for building navigation or lookup tables against other TFT data sources.

Rankings and Pagination

Both get_lol_rankings and get_tft_rankings accept an optional page integer and a region filter. The LoL endpoint returns rank, summoner, region, lp, and tier per entry. The TFT endpoint adds wins and played fields, giving a fuller picture of activity at the top of the ladder. Setting region to all returns the global leaderboard across all supported regions.

Reliability & maintenanceVerified

The League of Graphs API is a managed, monitored endpoint for leagueofgraphs.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when leagueofgraphs.com 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 leagueofgraphs.com 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
4d ago
Latest check
6/6 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
  • Display a player's current rank tier and LP alongside their last N match results in a stats dashboard
  • Build a champion tier list using win_rate, pick_rate, ban_rate, and role fields from get_lol_champion_stats
  • Trigger alerts when a tracked summoner enters a live game using the in_game boolean from get_lol_live_game
  • Populate a regional or global LoL leaderboard with paginated ranked player data
  • Compare TFT top players by wins and games played using get_tft_rankings with region filtering
  • Seed a champion selector or team builder with current TFT set champion names and slugs
  • Track rank progression for a roster of competitive players across KR, NA, and EUW regions
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does League of Graphs have an official developer API?+
League of Graphs does not publish an official developer API. Riot Games provides an official API at https://developer.riotgames.com for raw match and summoner data, but League of Graphs' aggregated statistics, rankings, and champion performance tables are only accessible through their website. This API surfaces that data programmatically.
What does get_lol_summoner_details return beyond basic rank info?+
It returns a rank object with tier and lp, plus a match_history array. Each match entry includes the champion played, the game result, KDA, game type (such as ranked solo or normal), and duration. The Riot ID must be passed in Name-Tag format, and an optional region code narrows the lookup to a specific server.
Does the TFT champion stats endpoint include win rates or placement data for the current set?+
Not currently. get_tft_champion_stats returns championName and championSlug only — no win rate, pick rate, or average placement data is exposed. The LoL champion stats endpoint does cover those fields. You can fork this API on Parse and revise it to add a TFT champion performance endpoint that includes placement and frequency statistics.
How does pagination work for the ranking endpoints?+
Both get_lol_rankings and get_tft_rankings accept a page integer parameter. The response echoes back the current page number and the region filter used. Page 1 is the default if the parameter is omitted. There is no total_pages field in the response, so you advance pages until the rankings array returns fewer entries than expected.
Is individual match detail — items, damage, gold — available for matches in the match history?+
Not currently. The match_history array from get_lol_summoner_details includes champion, result, kda, type, and duration per game, but not per-player item builds, damage dealt, gold earned, or vision scores. You can fork this API on Parse and revise it to add a dedicated match detail endpoint that returns those deeper per-game fields.
Page content last updated . Spec covers 6 endpoints from leagueofgraphs.com.
Related APIs in SportsSee all →
op.gg API
Look up detailed League of Legends and TFT player statistics, match history, and champion performance data to analyze gameplay and track competitive standings. Search summoner profiles, review leaderboards, and monitor how specific champions perform across different skill levels.
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.
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.
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.
valoranttracker.com API
Track Valorant player statistics, search for specific players, and view detailed competitive profiles to analyze individual performance. Discover current agent and map meta trends along with global rank distribution data to stay competitive and informed about the game's evolving strategies.
api-public-docs.cs-prod.leetify.com API
Access CS2 player statistics, match history, and individual game performance data from Leetify's competitive database. Look up player profiles by Steam64 ID or Leetify user ID and retrieve comprehensive match details including per-round metrics and performance breakdowns.
footystats.org API
Get live football scores, team performance metrics, league standings, and head-to-head match statistics all in one place. Search teams and leagues to access detailed player stats, comprehensive analytics, and in-depth performance data across football competitions worldwide.
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.