How do I get Premier League standings in Python?
The Premier League table for 2026-27: record, goals, points and recent form for all 20 clubs. Manchester City and Arsenal led on 15 points.
Code verified October 12, 2026. One call to get_standings, 2 credits.
The call
season is the year it starts and defaults to the latest. Pass league for another table: mls, laliga, seriea, bundesliga, ligue1, championship and others. MLS takes the calendar year and returns an Eastern and a Western table, so group on group_name.
import requests
import pandas as pd
API_KEY = "YOUR_API_KEY"
resp = requests.post(
"https://mcp.strikerapi.com/v1/get_standings",
headers={"x-api-key": API_KEY},
json={},
timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]
table = pd.DataFrame(data["standings"])
table["ppg"] = table["points"] / table["played"]
cols = ["rank", "display_name", "played", "wins", "draws", "losses", "goals_for", "goals_against", "goal_diff", "points", "ppg", "form"]
print(table[cols].round(2).to_string(index=False))
Replace YOUR_API_KEY with a key from your dashboard. Python needs requests and pandas (pip install requests pandas). JavaScript runs on Node 18 or newer, or in the browser.
What comes back
The data object of the response, trimmed to the first rows. Every field is real output from the run above.
{
"season": 2026,
"source": "espn_table",
"standings": [
{
"group_name": "2026-27 English Premier League",
"rank": 1,
"team_id": "382",
"abbrev": "MNC",
"display_name": "Manchester City",
"played": 5,
"wins": 5,
"draws": 0,
"losses": 0,
"goals_for": 13,
"goals_against": 5,
"goal_diff": 8,
"points": 15,
"deductions": 0,
"note": "Champions League",
"home": "3-0-0",
"away": "2-0-0",
"form": "WWWWW"
},
{
"group_name": "2026-27 English Premier League",
"rank": 2,
"team_id": "359",
"abbrev": "ARS",
"display_name": "Arsenal",
"played": 6,
"wins": 5,
"draws": 0,
"losses": 1,
"goals_for": 10,
"goals_against": 5,
"goal_diff": 5,
"points": 15,
"deductions": 0,
"note": "Champions League",
"home": "3-0-0",
"away": "2-0-1",
"form": "WLWWW"
},
"...18 more"
],
"count": 20,
"note": "ESPN's published table: official points including deductions. home, away (W-D-L) and form (latest first) come from the results we hold."
}What to do next
- get_team_stats (5 credits). Shots, xG and possession behind each position.
- get_ratings (2 credits). Our Elo ratings for the same clubs.
More guides
Start with 500 free credits every month
No card. REST or MCP.