Skip to content

Guides

How do I get Premier League scores and fixtures in Python?

Every Premier League match on a date with score, result and attendance. October 10 had six matches and 3.33 goals per match.

Code verified November 18, 2026. One call to list_games, 2 credits.

The call

date is a UTC day. Use from and to for a range, team for one club, status final or scheduled, and league for another competition such as mls or laliga. get_schedule lists the next days.

import requests
import pandas as pd

API_KEY = "YOUR_API_KEY"

resp = requests.post(
    "https://mcp.strikerapi.com/v1/list_games",
    headers={"x-api-key": API_KEY},
    json={
        "date": "2026-10-10",
    },
    timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]

games = pd.json_normalize(data["games"])
games["goals"] = games["home.score"] + games["away.score"]
print(len(games), "matches on", games["date"].iloc[0])
print(games[["status_detail", "home.abbrev", "home.score", "away.score", "away.abbrev", "result", "attendance"]].to_string(index=False))
print("goals per match:", round(games["goals"].mean(), 2))

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.

Or use the official client: pip install strikerapi

What comes back

The data object of the response, trimmed to the first rows. Every field is real output from the run above.

{
  "games": [
    {
      "game_id": "401878773",
      "season": 2026,
      "stage": "Regular Season",
      "date": "2026-10-10",
      "starts_at": "2026-10-10T16:30:00.000Z",
      "status": "final",
      "status_detail": "FT",
      "home": {
        "team_id": "360",
        "abbrev": "MAN",
        "name": "Manchester United",
        "score": 1
      },
      "away": {
        "team_id": "367",
        "abbrev": "TOT",
        "name": "Tottenham Hotspur",
        "score": 1
      },
      "result": "D",
      "neutral_site": false,
      "venue": "Old Trafford",
      "city": "Manchester",
      "attendance": 74129
    },
    {
      "game_id": "401878772",
      "season": 2026,
      "stage": "Regular Season",
      "date": "2026-10-10",
      "starts_at": "2026-10-10T14:00:00.000Z",
      "status": "final",
      "status_detail": "FT",
      "home": {
        "team_id": "366",
        "abbrev": "SUN",
        "name": "Sunderland",
        "score": 0
      },
      "away": {
        "team_id": "331",
        "abbrev": "BHA",
        "name": "Brighton & Hove Albion",
        "score": 2
      },
      "result": "A",
      "neutral_site": false,
      "venue": "Stadium of Light",
      "city": "Sunderland",
      "attendance": 47196
    },
    "...4 more"
  ],
  "count": 6,
  "next_offset": null
}

What to do next

  • get_events (10 credits). Goals, cards and substitutions in order for one match.
  • get_lineups (5 credits). The starting XI and bench for one match.

The data this uses

Every row above comes from Anytime goalscorer prices by sportsbook. Anytime goalscorer prices by sportsbook for seven competitions, including MLS and the Champions League, since 2024, with the result. REST or MCP.

More guides

The same guide for other sports

Rather ask Claude? 19 free Claude skills call these endpoints for you.

Start with 500 free credits every month

No card. REST or MCP.