LoL API in Python

Load today's pro schedule with requests. Free 500 calls a month.

python requests
import os
import requests

API = "https://api.citoapi.com/api/v1/lol"
headers = {"x-api-key": os.environ["CITO_API_KEY"]}

res = requests.get(f"{API}/schedule/today", headers=headers, timeout=20)
res.raise_for_status()
matches = res.json()["data"]

for match in matches[:5]:
    a = match["team1"]["name"]
    b = match["team2"]["name"]
    print(match["leagueName"], a, "vs", b, match["startTime"])
response data[0]
{
  "matchId": "lol-match-117030752644841571",
  "leagueName": "LCK",
  "leagueSlug": "lck",
  "strategy": "Bo5",
  "startTime": "2026-08-26T08:00:00.000Z",
  "state": "unstarted",
  "team1": { "slug": "kt", "name": "kt Rolster", "code": "KT" },
  "team2": { "slug": "bro", "name": "HANJIN BRION", "code": "BRO" }
}

What data is returned

x-api-key
Send your Cito key on every request, not Authorization Bearer
GET /schedule/today
Pro matches scheduled for the current UTC day
data[].team1 / team2
Names, slugs, and codes for each side
leagueName / startTime / state
League label, start, unstarted or inProgress or completed
Free tier
500 requests/month. Upgrade when you automate

When to use this

  • Scripts that print today's LCK, LEC, or LPL card
  • Notebooks that should not scrape lolesports.com HTML
  • A Discord or site bot you later wrap around the same call

Full reference docs citoapi.com/docs/api/league-of-legends

Get your free LoL API key