# Full EPL Season Shot-Level xG Data Scraper

**Use case:** 

Scrape every shot of a Premier League season with coordinates and xG from Understat — feed shot maps, xG models and heatmaps, capped by your cost limit.

## Input

```json
{
  "mode": "match_shots",
  "leagues": [
    "EPL"
  ],
  "seasons": [
    "2024"
  ],
  "teams": [],
  "matchIds": [],
  "playerIds": [],
  "positions": [],
  "nLastMatches": 0,
  "dateStart": "",
  "dateEnd": "",
  "minAppearances": 0,
  "maxResults": 500,
  "maxCostUsd": 10,
  "includeRawJson": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "matchId": {
    "label": "Match",
    "format": "number"
  },
  "matchDate": {
    "label": "Date",
    "format": "text"
  },
  "minute": {
    "label": "Min",
    "format": "number"
  },
  "teamTitle": {
    "label": "Team",
    "format": "text"
  },
  "player": {
    "label": "Player",
    "format": "text"
  },
  "result": {
    "label": "Result",
    "format": "text"
  },
  "situation": {
    "label": "Situation",
    "format": "text"
  },
  "shotType": {
    "label": "Body",
    "format": "text"
  },
  "xG": {
    "label": "xG",
    "format": "number"
  },
  "x": {
    "label": "X",
    "format": "number"
  },
  "y": {
    "label": "Y",
    "format": "number"
  },
  "distanceMeters": {
    "label": "Dist (m)",
    "format": "number"
  },
  "angleDegrees": {
    "label": "Angle°",
    "format": "number"
  },
  "assistPlayer": {
    "label": "Assist",
    "format": "text"
  },
  "homeScore": {
    "label": "H",
    "format": "number"
  },
  "awayScore": {
    "label": "A",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [Understat xG & Shot Data - Football Analytics](https://apify.com/constructive_calm/understat-football-analytics) with a specific input configuration. Visit the [Actor detail page](https://apify.com/constructive_calm/understat-football-analytics) to learn more, explore other use cases, and run it yourself.