# Track Premier League odds movement

**Use case:** 

Schedule this every 15-30 minutes to follow Premier League lines for the coming week. Each run returns only the prices that moved since the last run, with previous, current and opening odds, and writes each match's closing line at kick-off.

## Input

```json
{
  "trackerName": "premier-league",
  "sports": [
    "football"
  ],
  "leagues": [
    "ENGLAND: Premier League"
  ],
  "matchIds": [
    "https://www.flashscore.com/match/MNThRu6l/"
  ],
  "horizonHours": 168,
  "bookmakerCountries": [
    "GB"
  ],
  "bookmakers": [
    "bet365",
    "Betfair",
    "William Hill"
  ],
  "markets": [
    "HOME_DRAW_AWAY",
    "HOME_AWAY",
    "OVER_UNDER",
    "ASIAN_HANDICAP"
  ],
  "periods": [
    "FULL_TIME"
  ],
  "lines": "main",
  "minChangePercent": 0,
  "emitFirstSeen": true,
  "emitClosingLines": true,
  "historyDatasetName": "odds-history-epl",
  "maxMatches": 50,
  "maxItems": 5000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "observedAt": {
    "label": "Seen",
    "format": "string"
  },
  "changeType": {
    "label": "Change",
    "format": "string"
  },
  "homeName": {
    "label": "Home",
    "format": "string"
  },
  "awayName": {
    "label": "Away",
    "format": "string"
  },
  "bookmakerName": {
    "label": "Bookmaker",
    "format": "string"
  },
  "market": {
    "label": "Market",
    "format": "string"
  },
  "previousLine": {
    "label": "Line was",
    "format": "number"
  },
  "line": {
    "label": "Line",
    "format": "number"
  },
  "homePreviousOdds": {
    "label": "Home was",
    "format": "number"
  },
  "homeOdds": {
    "label": "Home",
    "format": "number"
  },
  "drawPreviousOdds": {
    "label": "Draw was",
    "format": "number"
  },
  "drawOdds": {
    "label": "Draw",
    "format": "number"
  },
  "awayPreviousOdds": {
    "label": "Away was",
    "format": "number"
  },
  "awayOdds": {
    "label": "Away",
    "format": "number"
  },
  "overPreviousOdds": {
    "label": "Over was",
    "format": "number"
  },
  "overOdds": {
    "label": "Over",
    "format": "number"
  },
  "underPreviousOdds": {
    "label": "Under was",
    "format": "number"
  },
  "underOdds": {
    "label": "Under",
    "format": "number"
  },
  "maxChangePercent": {
    "label": "Max move %",
    "format": "number"
  },
  "minutesToStart": {
    "label": "Min to KO",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Flashscore Odds Movement & Closing Line Tracker](https://apify.com/incognito_mode/flashscore-odds-tracker.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/incognito_mode/flashscore-odds-tracker.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-odds-tracker.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`).
