# Football Match Predictions, Backtested: 7 European Leagues (`o19750120/football-prematch-report-backtested`) Actor

Next 7 days in seven European leagues: home, draw and away probabilities, likely scores, recent form, plus a walk-forward backtest over 4,800 matches returned as data. Public-domain results only, weeks late: no injuries or line-ups. Pay per row.

- **URL**: https://apify.com/o19750120/football-prematch-report-backtested.md
- **Developed by:** [Oliver Liu](https://apify.com/o19750120) (community)
- **Categories:** Sports
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 rows delivered

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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 Match Predictions, Backtested: 7 European Leagues

**Next seven days of fixtures in seven European leagues, each with home, draw and away probabilities, the five likeliest scores and how old the data behind the forecast is.** The model's own record comes back as data too, so you can judge it before you use it. Built only on match facts: fixtures and older results from openfootball (CC0), and results since 20 September 2026 from football-data.co.uk, dates, teams and full-time scores only.

**Who it's for:** writers of match previews, people who want a public baseline to test their own model against, and data teams that must show where every input came from. **Price:** US$0.01 per row. The prefilled input (Premier League, next seven days) returns about 10 rows for about US$0.10 and finishes in a few seconds.

Looking for a **football predictions API**, **soccer match predictions**, **Premier League predictions**, **win-draw-loss probabilities** or a **football data API** without building your own scraper? This Actor returns pre-match forecasts for the **Premier League, La Liga, Serie A, Bundesliga, Ligue 1, Eredivisie and Primeira Liga** as JSON, CSV or Excel, together with the model's own backtest record, so you can see how far to trust each number.

![Real rows from a run: Bundesliga fixtures with home, draw and away probabilities](https://matches.ayskilllab.com/shots/listing-p01-matches.png)

*Real rows from a run on 4 November 2026, drawn as a table. `kind: match`, `leagues: ["Bundesliga (Germany)"]`.*

### Sample output

The first five rows of a run with the prefilled input on 23 November 2026. Probabilities are shares of 1, rounded here; each row has 17 more fields, listed further down.

| Date | Home | Away | Home win | Draw | Away win | Likeliest score |
|---|---|---|---:|---:|---:|---|
| 2026-11-28 | Arsenal FC | Manchester City FC | 0.47 | 0.24 | 0.29 | 1-0 (0.12) |
| 2026-11-28 | Brighton & Hove Albion FC | Newcastle United FC | 0.46 | 0.27 | 0.27 | 1-1 (0.13) |
| 2026-11-28 | Crystal Palace FC | Hull City AFC | 0.51 | 0.27 | 0.23 | 1-0 (0.13) |
| 2026-11-28 | Everton FC | Liverpool FC | 0.29 | 0.25 | 0.46 | 1-1 (0.12) |
| 2026-11-28 | Fulham FC | AFC Bournemouth | 0.35 | 0.26 | 0.39 | 1-1 (0.12) |

These five rows were made before the switch described below and say `results_through: 2026-09-20`. From 23 November 2026 the results run to the last weekend football-data.co.uk has posted (`results_through: 2026-11-08` on 23 November, the weekend before the international break). Read `data_lag_days` before you use a number.

### What one run returns

You choose one of two row types.

| `kind` | One row is | Rows in a full run | What you read it for |
|---|---|---:|---|
| `match` | One upcoming fixture | 66 on 4 Nov 2026 | Probabilities, likely scores, model goals, recent form, previous meetings, data age |
| `record` | One test result, per league and overall | 17 | Log loss with a 95% range, how often the likeliest result happened, forward ledger |

**This is the open-data edition. It has no injuries, suspensions, line-ups, weather, shot data or measured xG,** and its results arrive a day or a few after each match. Every row says how far behind in `results_through` and `data_lag_days`.

### How to use it

1. Click **Try for free** and open the **Input** tab.
2. Leave **What to get** on *Upcoming matches*, or switch to *Model record*.
3. Optional: list leagues by their exact names, or give one team.
4. Set **Maximum results**. You pay per row, so this caps your cost.
5. Click **Start**, then download JSON, CSV or Excel, or read the dataset through the Apify API.

To refresh weekly, add the Actor to a Schedule. New fixtures appear as the seven-day window moves.

```json
{ "kind": "match", "leagues": ["Bundesliga (Germany)"], "maxResults": 5 }
```

### Coverage and the model's record

Fixtures counted on 4 November 2026. The backtest trains on the older 80% of each league's matches, then scores the newest 20% day by day using only earlier results.

| League | Fixtures in the next 7 days | Backtest matches | Log loss | Likeliest result happened |
|---|---:|---:|---:|---:|
| Premier League (England) | 10 | 847 | 1.0086 | 50.5% |
| La Liga (Spain) | 10 | 775 | 0.9691 | 52.4% |
| Serie A (Italy) | 10 | 770 | 0.9896 | 52.7% |
| Bundesliga (Germany) | 9 | 683 | 0.9881 | 51.5% |
| Ligue 1 (France) | 9 | 781 | 0.9958 | 51.7% |
| Eredivisie (Netherlands) | 9 | 442 | 0.9906 | 52.5% |
| Primeira Liga (Portugal) | 9 | 502 | 0.9291 | 54.2% |
| **All seven** | **66** | **4,800** | **0.9842** | **52.1%** |

Lower log loss is better, and a uniform guess scores 1.0986. The same test with results withheld for as long as the files lagged scored 0.986 overall with 47 days withheld (4 November) and 0.9872 with 64 days (23 November, before the switch); with the newer results the lag on 23 November is 15 days and that test scores 0.9839 on 4,872 matches. **The forward ledger of forecasts locked before kick-off has 53 settled matches (log loss 0.8916, 95% range 0.767 to 1.017):** too few to judge, so read the backtest above as the main record.

![Real rows from a run with kind record: backtest per league](https://matches.ayskilllab.com/shots/listing-p01-record.png)

### Output example: `kind: match`

A real row, unedited. Probabilities are shares of 1.

```json
{
  "kind": "match",
  "source_id": "openfootball",
  "league": "Bundesliga (Germany)",
  "round": "Matchday 9",
  "match_date": "2026-11-06",
  "local_time": "20:30",
  "home": "Hamburger SV",
  "away": "Borussia Mönchengladbach",
  "p_home": 0.3564,
  "p_draw": 0.3182,
  "p_away": 0.3253,
  "expected_goals_home": 1.35,
  "expected_goals_away": 1.36,
  "top_scores": [
    {
      "score": "1-1",
      "probability": 0.1509
    },
    {
      "score": "1-0",
      "probability": 0.0867
    },
    {
      "score": "0-0",
      "probability": 0.082
    },
    {
      "score": "2-1",
      "probability": 0.0798
    },
    {
      "score": "0-1",
      "probability": 0.0786
    }
  ],
  "home_form": "2026-09-19 H 1. FC Köln 2-1; 2026-09-13 A RB Leipzig 0-5; 2026-09-06 H 1. FSV Mainz 05 0-5; 2026-08-29 A Borussia Dortmund 0-2; 2026-05-16 A Bayer 04 Leverkusen 1-1",
  "away_form": "2026-09-19 H 1. FSV Mainz 05 3-4; 2026-09-12 A SC Freiburg 0-5; 2026-09-05 H SV 07 Elversberg 3-4; 2026-08-29 A RB Leipzig 0-3; 2026-05-16 H TSG 1899 Hoffenheim 4-0",
  "head_to_head": "2026-01-17 Hamburger SV 0-0 Borussia Mönchengladbach; 2025-08-24 Borussia Mönchengladbach 0-0 Hamburger SV; 2018-05-12 Hamburger SV 2-1 Borussia Mönchengladbach; 2017-12-15 Borussia Mönchengladbach 3-1 Hamburger SV; 2017-03-12 Hamburger SV 2-1 Borussia Mönchengladbach",
  "results_through": "2026-09-20",
  "data_lag_days": 47,
  "thin_data_teams": [],
  "attribution": "openfootball, CC0 1.0 public domain",
  "license_url": "https://github.com/openfootball",
  "data_date": "2026-11-04",
  "data_is_stale": false
}
```

This row is from 4 November, before the switch. Rows built from 23 November 2026 carry a longer `attribution`: `openfootball, CC0 1.0 public domain. Results since 20 September 2026: football-data.co.uk (dates, teams and full-time scores only; https://www.football-data.co.uk/disclaimer.php).`

### Fields: `kind: match`

| Field | What it is | Example |
|---|---|---|
| `kind` | match or record. | `match` |
| `league` | League, or 'All leagues' on a record row. | `Bundesliga (Germany)` |
| `round` | Round. | `Matchday 9` |
| `match_date` | Date in the fixture file. Check the league's official schedule. | `2026-11-06` |
| `local_time` | Local kick-off as listed. | `20:30` |
| `home` | Home team. | `Hamburger SV` |
| `away` | Away team. | `Borussia Mönchengladbach` |
| `p_home` | Home win probability. | `0.3564` |
| `p_draw` | Draw probability. | `0.3182` |
| `p_away` | Away win probability. | `0.3253` |
| `expected_goals_home` | This model's expected goals, not measured xG. | `1.35` |
| `expected_goals_away` | This model's expected goals, not measured xG. | `1.36` |
| `top_scores` | The five likeliest scores with probabilities. | `[{"score": "1-1", "probability": 0.1509}, {"score": "1-...` |
| `home_form` | Last five league matches we know of. | `2026-09-19 H 1. FC Köln 2-1; 2026-09-13 A RB Leipzig 0-...` |
| `away_form` | Last five league matches we know of. | `2026-09-19 H 1. FSV Mainz 05 3-4; 2026-09-12 A SC Freib...` |
| `head_to_head` | Previous meetings we know of. | `2026-01-17 Hamburger SV 0-0 Borussia Mönchengladbach; 2...` |
| `results_through` | Last result in this league's file. Nothing after it is in the numbers. | `2026-09-20` |
| `data_lag_days` | Days between that result and this match. | `47` |
| `thin_data_teams` | Teams with few recent matches in our files, whose rating is weak. | `[]` |
| `attribution` | Credit line the source's licence asks for. Keep it when you republish. | `openfootball, CC0 1.0 public domain` |
| `license_url` | The source's licence or terms. | `https://github.com/openfootball` |
| `data_date` | Date of the dataset this row came from. | `2026-11-04` |
| `data_is_stale` | True when the dataset is older than it should be. | `false` |

### Output example: `kind: record`

```json
{
  "kind": "record",
  "source_id": "openfootball",
  "league": "All leagues",
  "test": "walk_forward_next_day",
  "matches": 4800,
  "log_loss": 0.9842,
  "log_loss_low": 0.97,
  "log_loss_high": 0.999,
  "most_likely_outcome_correct": 0.5208,
  "attribution": "openfootball, CC0 1.0 public domain",
  "license_url": "https://github.com/openfootball",
  "data_date": "2026-11-04",
  "data_is_stale": false
}
```

### Fields: `kind: record`

| Field | What it is | Example |
|---|---|---|
| `league` | League, or 'All leagues' on a record row. | `All leagues` |
| `test` | Record rows: which test. | `walk_forward_next_day` |
| `matches` | Record rows: matches scored. | `4800` |
| `log_loss` | Record rows: lower is better; a uniform guess scores 1.0986. | `0.9842` |
| `log_loss_low` | Record rows: lower end of the 95% range. | `0.97` |
| `log_loss_high` | Record rows: upper end of the 95% range. | `0.999` |
| `most_likely_outcome_correct` | Record rows: share of matches where the likeliest result happened. | `0.5208` |

### Use cases

- **Editorial previews:** a transparent baseline number for a preview piece, with a stated record behind it.
- **Model comparison:** a public-domain baseline to measure your own model against, league by league.
- **Clear data lineage:** teams that must show where every input came from. Every row names its sources: openfootball (CC0) and, for results since 20 September 2026, football-data.co.uk.
- **AI agents:** give an agent the forecast and its record in the same dataset, so it can say how far to trust it.

### Pricing

**US$0.01 per row**, plus Apify's standard start fee of US$0.00005 per run.

| What you ask for | Rows | Cost |
|---|---:|---:|
| One league's fixtures | about 10 | about US$0.10 |
| All fixtures for the week | 66 | US$0.66 |
| Whole record table | 17 | US$0.17 |

Set **Maximum cost per run** to cap your spend; the run stops there. A run that delivers no rows charges for no rows.

### Limits to know

- **Results arrive a day or a few after each match.** openfootball's volunteer files stopped updating after 20 September 2026 (69 days behind on 23 November). Since 23 November the results it lacks come from football-data.co.uk, which posts each round within a few days; only dates, teams and full-time scores are taken from it. A new coach or a run of injuries is still invisible to this model.
- **No injuries, suspensions, line-ups, weather, shot or xG data.** We publish only what we can license. Check team news yourself. `expected_goals_*` are this model's figures, not measured xG.
- **Seven leagues only.** No cups, European competitions or national teams.
- **No live record yet.** We make no claim of accuracy under 300 settled matches, and no claim of beating anyone. About half of the likeliest results happen.
- **Teams in `thin_data_teams`** have few recent matches in the files, usually because they were just promoted, so their ratings are weak.
- **Kick-off times** come from the same volunteer files and can change. Trust the league's official schedule.
- **At most 1,000 rows per run.** A full run is far below that.

### FAQ

**Are injuries or expected line-ups in here?**
No. The source has results only, so the model cannot see them. If team news matters to your use, add it yourself.

**How fresh is it?**
Fixtures look seven days ahead and the dataset is rebuilt nightly; the results behind them are usually a few days old, longer over an international break. Read `data_lag_days` on each row; `data_is_stale` flags a dataset that was not rebuilt on time.

**Why show a model with a 52% hit rate?**
Football has three outcomes and many even matches. The number to compare is log loss against 1.0986, shown per league, and you can decide for yourself whether that is good enough.

**What do the two walk-forward tests mean?**
`walk_forward_next_day` assumes results are known the next day. `walk_forward_results_withheld_<N>_days` hides them for as long as today's files lag (15 days on 23 November 2026, after the switch to newer results; 64 days before it). Comparing the two shows what the delay costs on past matches.

**Is this the same model as the AY Match Data website?**
No. This Actor is the open-data edition: results only (openfootball, plus football-data.co.uk since 20 September 2026), and no team news. The website runs a different model on other data and is a separate product. We sell on Apify only what we may resell.

**Can I get one team or one league?**
Yes. Put the league's exact name in **Leagues**, or a team's exact name in **Team**, for example `Arsenal FC`. Names follow the openfootball files, so `Arsenal FC`, not `Arsenal`.

**Can I call it from code or an AI agent?**
Yes. It works through the Apify API, clients and integrations like any Actor, and the input needs no credentials.

**Is it advice?**
No. It is sports data analysis for research and interest. A 60% outcome fails four times in ten.

### Related Actors and free pages

More datasets from the same publisher, all pay per row with no credentials needed:

- [MLB Season Stats 2025](https://apify.com/o19750120/mlb-season-pitching-bullpen-data): the finished 2025 MLB season per club and per starting pitcher, from Retrosheet open data.
- [Taiwan & Global Macro Indicators](https://apify.com/o19750120/taiwan-global-macro-indicators): Taiwan's official GDP, CPI, PMI, money and rates in English, next to the US, the euro area and Japan.
- [Taiwan Stocks Post-Market](https://apify.com/o19750120/taiwan-stock-post-market-flows): every TWSE and TPEx common stock after the close, with margin balances, TPEx institutional flows and top-20 rankings.
- [Stock Opinion Extractor](https://apify.com/o19750120/stock-opinion-extractor-own-posts): bring your own posts or X archive and get each ticker, a rule-based bullish, bearish or unclear stance and the evidence sentence.
- **Our own site:** [AY Match Data](https://matches.ayskilllab.com/) has free match pages, a [league strength table](https://matches.ayskilllab.com/leagues/strength) and a [forecast record](https://matches.ayskilllab.com/record). The site covers more leagues and runs a different model on different data, so its probabilities will not match the rows of this Actor.

### Data sources and licences

- openfootball, CC0 1.0 public domain (https://github.com/openfootball): fixtures and results to 20 September 2026
- football-data.co.uk (https://www.football-data.co.uk/disclaimer.php): results since 20 September 2026, facts only (dates, teams, full-time scores). It states no licence; we take nothing else from its files.

Forecasts are calculated by us from these results. Neither openfootball nor football-data.co.uk endorses this Actor.

# Actor input Schema

## `kind` (type: `string`):

Matches are the upcoming forecasts. Record is how this model did: backtest by league and the forward ledger.

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

Exact names such as 'Premier League (England)', 'La Liga (Spain)', 'Serie A (Italy)', 'Bundesliga (Germany)', 'Ligue 1 (France)', 'Eredivisie (Netherlands)', 'Primeira Liga (Portugal)'. Leave empty for all.

## `team` (type: `string`):

Only this team's matches, by the exact name the data uses, for example Hamburger SV.

## `maxResults` (type: `integer`):

Stop after this many rows. You pay per row. At most 1000 per run.

## Actor input object example

```json
{
  "kind": "match",
  "leagues": [
    "Premier League (England)"
  ],
  "maxResults": 25
}
```

# Actor output Schema

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

No description

# 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 (England)"
    ],
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("o19750120/football-prematch-report-backtested").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 (England)"],
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("o19750120/football-prematch-report-backtested").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 (England)"
  ],
  "maxResults": 25
}' |
apify call o19750120/football-prematch-report-backtested --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,o19750120/football-prematch-report-backtested"
        }
    }
}
```

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/rxjXVN02QLnAS5HC0/builds/nQ9cH7aCAnSM2VR6h/openapi.json
