# Download 10 seasons of Premier League results

**Use case:** 

Every Premier League match of the last 10 seasons with full-time and half-time scores, dates and rounds, from Flashscore. About 3,800 rows, ready for football analytics, Elo ratings or model training.

## Input

```json
{
  "leagueUrls": [
    "https://www.flashscore.com/football/england/premier-league/"
  ],
  "seasons": [
    "2024-2025",
    "2023-2024"
  ],
  "lastSeasons": 10,
  "include": [
    "results"
  ],
  "standingsViews": [
    "overall"
  ],
  "overUnderLines": [
    "2.5"
  ],
  "maxItems": 10000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "startTime": {
    "label": "Start",
    "format": "string"
  },
  "league": {
    "label": "League",
    "format": "string"
  },
  "season": {
    "label": "Season",
    "format": "string"
  },
  "stage": {
    "label": "Stage",
    "format": "string"
  },
  "round": {
    "label": "Round",
    "format": "string"
  },
  "homeTeam": {
    "label": "Home",
    "format": "string"
  },
  "homeScore": {
    "label": "H",
    "format": "integer"
  },
  "awayScore": {
    "label": "A",
    "format": "integer"
  },
  "awayTeam": {
    "label": "Away",
    "format": "string"
  },
  "halfTimeScore": {
    "label": "HT",
    "format": "string"
  },
  "statusDetail": {
    "label": "Status",
    "format": "string"
  },
  "url": {
    "label": "Match",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Flashscore League Archive: Results & Tables](https://apify.com/incognito_mode/flashscore-league-archive-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/incognito_mode/flashscore-league-archive-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/incognito_mode/flashscore-league-archive-scraper.md

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`).
