# Football Scores: Premier League, LaLiga, Serie A & More (`tacps126/football-scores-stats`) Actor

Football (soccer) results and fixtures for the Premier League, LaLiga, Bundesliga, Serie A, Ligue 1, Champions League, MLS and more: goals and cards, player stats, 1X2 and over/under odds (open and close), tables, squads.

- **URL**: https://apify.com/tacps126/football-scores-stats.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Sports, Automation, Developer tools
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 game, standing, team or players

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Football Scores: Premier League, LaLiga, Serie A & More

Football (soccer) **results and fixtures**, **goals and cards with the minute and players**, **player match stats**, **league tables**, clubs and **squads** for the **Premier League, LaLiga, Bundesliga, Serie A, Ligue 1**, Champions League, Europa League, EFL Championship, Eredivisie, Primeira Liga, MLS and Liga MX. Export to JSON, CSV or Excel, or schedule it to get each result once.

**Built for** football analysts and bettors, fantasy managers, media and newsletters, apps and Discord or Telegram bots, and AI agents.

### What you get

| Data type | One row per | Fields |
|---|---|---|
| Matches | match | date, status, home and away club and score, winner, half scores, club records, top scorers, goals, cards and penalties with minute and players, venue, city, attendance, TV, link |
| Player stats | player per match | club, opponent, result, starter, subbed in or out, position, goals, assists, shots, shots on target, fouls, cards, saves and goals conceded for keepers |
| Odds | match per sportsbook | home, draw and away prices, handicap and goal line (over/under) with prices, opening and current or closing lines, favourite, line movement, fair win and draw probability; for finished matches which side covered and over/under result |
| League tables | club | position, played, won, drawn, lost, goals for and against, goal difference, points, qualification note (Champions League, relegation) |
| Clubs / squads | club / player | ids, colours, crests; position, number, age, nationality, height, weight |

### How to use it

This weekend's results in the top five leagues:

```json
{ "leagues": ["premier-league", "la-liga", "bundesliga", "serie-a", "ligue-1"], "daysBack": 3, "gameStatus": "final" }
```

Champions League fixtures this week:

```json
{ "leagues": ["champions-league"], "daysBack": 0, "daysAhead": 7, "gameStatus": "scheduled" }
```

Premier League table:

```json
{ "leagues": ["premier-league"], "dataType": "standings" }
```

Opening and current betting lines for the weekend:

```json
{ "leagues": ["premier-league", "la-liga"], "dataType": "odds", "daysBack": 0, "daysAhead": 3 }
```

### Options

| Option | What it does |
|---|---|
| **Competitions** (`leagues`) | e.g. `premier-league`, `la-liga`, `bundesliga`, `serie-a`, `ligue-1`, `champions-league`, `mls` |
| **Data** (`dataType`) | `games`, `boxScores`, `odds`, `standings`, `teams` or `rosters` |
| **Days back** / **Days ahead** (`daysBack`, `daysAhead`) | Rolling window: `daysBack: 1` = yesterday and today; `daysAhead: 7` = next week's fixtures |
| **From date** / **To date** (`dateFrom`, `dateTo`) | Exact range (`YYYY-MM-DD`), up to about one season per run |
| **Game status** (`gameStatus`) | `any`, `final`, `live` or `scheduled` |
| **Teams** (`teams`) | Club names or abbreviations, e.g. `Arsenal`, `Real Madrid`, `BAY`. Empty = all |
| **Season** (`season`) | Standings for a past season, e.g. `2025 (the 2025-26 season)`; empty = current |
| **Max results** (`maxItems`) | Most rows per run |
| **Only new** (`onlyNew`, `monitorName`) | With a schedule, each run returns only rows earlier runs did not deliver; a game comes again when its status changes |

### Pricing

**$3 per 1,000 matches, odds rows, table rows, clubs or players**, and **$1 per 1,000 player match lines**, plus a small start fee per run. On the Apify free plan a run returns up to 100 rows.

### Good to know

- *Only new* + a daily schedule returns each match again only when its status changes, so results arrive once.
- Need US sports, F1, tennis or golf? **Sports Data** (tacps126/sports-data) covers 24 leagues with the same fields.
- Questions: **tacps126@gmail.com**.

# Actor input Schema

## `leagues` (type: `array`):

One or more competitions.

## `dataType` (type: `string`):

Matches give the score, status, venue, TV, goals and cards with minute and players, and odds where shown. Odds give opening and current (closing after the game) moneyline, spread and total per sportsbook, fair win probability, line movement and, for finished games, which side covered and whether the total went over.

## `daysBack` (type: `integer`):

1 = yesterday and today.

## `daysAhead` (type: `integer`):

Upcoming fixtures, e.g. 7 for the next week's schedule.

## `dateFrom` (type: `string`):

YYYY-MM-DD; replaces Days back.

## `dateTo` (type: `string`):

YYYY-MM-DD; replaces Days ahead. Up to about one season per run.

## `gameStatus` (type: `string`):

Box scores always use finished games.

## `teams` (type: `array`):

Club names or abbreviations, e.g. Arsenal, Real Madrid, BAY. Empty = all.

## `season` (type: `integer`):

The season's year as ESPN numbers it (the year it starts, e.g. 2026 for 2026-27). Empty = current.

## `maxItems` (type: `integer`):

Most rows returned per run.

## `onlyNew` (type: `boolean`):

Schedule the Actor and each run returns only what earlier runs did not deliver. A game comes again when its status changes (scheduled, live, final), so a daily run with Game status = Final gives each result once.

## `monitorName` (type: `string`):

Optional name for the "only new" history, so several monitors can run side by side.

## `tenantId` (type: `string`):

Optional label used to keep separate histories for different clients or teams.

## `debug` (type: `boolean`):

Save extra diagnostics with the run (for support requests).

## Actor input object example

```json
{
  "leagues": [
    "premier-league",
    "la-liga",
    "bundesliga",
    "serie-a",
    "ligue-1"
  ],
  "dataType": "games",
  "daysBack": 1,
  "daysAhead": 0,
  "gameStatus": "any",
  "maxItems": 1000,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

## `results` (type: `string`):

The produced items (default dataset items).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "leagues": [
        "premier-league",
        "la-liga",
        "bundesliga",
        "serie-a",
        "ligue-1"
    ],
    "daysBack": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/football-scores-stats").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "leagues": [
        "premier-league",
        "la-liga",
        "bundesliga",
        "serie-a",
        "ligue-1",
    ],
    "daysBack": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/football-scores-stats").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "leagues": [
    "premier-league",
    "la-liga",
    "bundesliga",
    "serie-a",
    "ligue-1"
  ],
  "daysBack": 1
}' |
apify call tacps126/football-scores-stats --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/football-scores-stats"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4YLgnnJdOjPVqhDp5/builds/zc3FeiTRaucktrVRy/openapi.json
