# Premier League odds history: every match with closing odds

**Use case:** 

Download every match of a Premier League season with the opening and closing odds of 40+ bookmakers: 1X2, over/under, both teams to score and Asian handicap, plus the no-vig consensus, line movement, final and half-time scores, xG statistics and goal events. Change the season to go back as far as 2005.

## Input

```json
{
  "mode": "seasons",
  "statuses": [
    "finished"
  ],
  "daysBack": 1,
  "daysAhead": 0,
  "includeWomen": true,
  "includeYouth": true,
  "leagues": [
    "England: Premier League"
  ],
  "seasons": [
    "2024-2025"
  ],
  "lastSeasons": 1,
  "markets": [
    "1x2",
    "overUnder",
    "btts",
    "asianHandicap"
  ],
  "overUnderLines": [
    "1.5",
    "2.5",
    "3.5"
  ],
  "asianHandicapLines": "main",
  "includeOdds": true,
  "onlyWithOdds": true,
  "includeStats": true,
  "includeEvents": true,
  "maxMatches": 30,
  "concurrency": 16
}
```

## Output

```json
{
  "startTime": {
    "label": "Kick-off (UTC)",
    "format": "date"
  },
  "country": {
    "label": "Country"
  },
  "competition": {
    "label": "Competition"
  },
  "season": {
    "label": "Season"
  },
  "homeTeam": {
    "label": "Home"
  },
  "awayTeam": {
    "label": "Away"
  },
  "status": {
    "label": "Status"
  },
  "score": {
    "label": "Score"
  },
  "halfTimeScore": {
    "label": "HT"
  },
  "result": {
    "label": "1X2 result"
  },
  "consensus": {
    "label": "Consensus"
  }
}
```

## About this Actor

This example demonstrates how to use [Football Odds Scraper: Historical & Closing Lines, 40+ Books](https://apify.com/sports-odds-lab/football-odds-results.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sports-odds-lab/football-odds-results.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/sports-odds-lab/football-odds-results.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`).
