RECORDSDATA

[SPORTS · DEVELOPER TOOLS]

Understat Scraper: Football xG & Player Stats

Scrape Understat xG, xA, npxG and shots per player for 6 top leagues back to 2014, with per-90 rates and G-xG. Export CSV, Excel, JSON. No login.

Input: 17 fields, none required. No Actor fee; you pay Apify platform usage only. Results export as JSON, CSV or Excel. Last updated 2026-11-10.

STATUS
PRODUCTION
INPUT FIELDS
17
REQUIRED
0
PRICING
FREE
UPDATED
2026-11-10
OUTPUT
JSON, CSV, Excel

01 / INPUT

What you can configure.

FIELDTYPEDESCRIPTION
What to exportentitystringplayers: one row per player for a league season or a club squad (xG, xA, shots, minutes). teams: league table per season with xG, xGA, xPoints and PPDA (optional situation splits). matches: results and fixtures with match xG. playerCareer: one row per season of a player's career, found by player ID or name. default: "players"
LeaguesleaguesarrayLeagues to export: Premier League (EPL), La Liga, Bundesliga, Serie A, Ligue 1 or the Russian Premier League. Used by the players, teams and matches exports. default: ["EPL"]
Teams (optional)teamsarrayClub names, for example Arsenal, Manchester City or Real Madrid (spaces or underscores both work). Players export: adds a squad table per club. Teams and matches exports: keeps only these clubs inside the selected leagues. Up to 200 names. default: []
SeasonseasonstringSeason start year as 4 digits: 2025 means the 2025/26 season. Data available from 2014 (2014/15) to the current season. Not used by playerCareer or by matches selected by match ID. default: "2025"
Match statusmatchStatusstringMatches export only. played: finished matches with goals and xG. scheduled: upcoming fixtures with Understat win probabilities. all: both. default: "played"
Matches from date (optional)dateFromstringMatches export only. Keep matches on or after this day, format YYYY-MM-DD (for example 2025-12-01). Leave empty for no start limit. default: ""
Matches to date (optional)dateTostringMatches export only. Keep matches on or before this day, format YYYY-MM-DD. Leave empty for no end limit. default: ""
Match IDs (optional)matchIdsarrayMatches export only. Understat match IDs or match URLs (the number in understat.com/match/28778). When filled, only these matches are exported and the league, team, season and date filters are ignored. Up to 200. default: []
Player IDs or names (for player careers)playerIdsarrayPlayer careers export only. Understat player IDs or player URLs (the number in understat.com/player/8260), or a full player name that matches exactly one player. Up to 200. default: []
Include shot-level dataincludeShotsbooleanMatches and player careers only. Adds one extra row per shot with pitch X/Y position, xG, minute, situation, body part and result. Billed per shot row. Off by default. default: false
Include team situation splitsincludeSplitsbooleanTeams export only. Adds rows per club with xG and shots for and against by situation, formation, game state, timing, shot zone, attack speed and result. Billed per split row. Off by default. default: false
Minimum minutesminMinutesintegerPlayers export only. Only export players with at least this many minutes played in the season. 0 means every player. default: 0
Sort bysortBystringPlayers export only. Metric that orders the player rows, highest first: xG, goals, xA, assists, shots, minutes (time) or xGChain. default: "xG"
Only new or changed rowsonlyNewbooleanDeliver only rows that are new or changed since the last run with the same filters (new match results, new shots, updated player and team totals). Rows already delivered are skipped and not charged. default: false
Monitor name (optional)stateKeystringName for the memory of previous results. Leave empty to derive it from your filters. Use the same name to share memory between runs, or a different name to keep separate monitors. default: ""
Forget previous resultsresetSeenbooleanClear the memory for this monitor before the run, so every row counts as new again. default: false
Max ItemsmaxItemsintegerMaximum number of rows to export, which is also the cap on what you are charged. Free users: limited to 10 rows (preview). Paid users: optional, up to 1,000,000.

02 / PRICING

Pay for what you collect.

This Actor is free to run. You only pay Apify platform usage.

03 / FAQ

About the Understat Scraper.

How much does the Understat Scraper cost?

The Actor itself is free to run. You only pay for the Apify platform usage of each run.

What input does the Understat Scraper need?

No field is required. The Actor has 17 input fields and every one has a default.

Which formats can I export the Understat Scraper results in?

Results are saved to an Apify dataset. Download them as JSON, CSV or Excel, or fetch them through the Apify API.

04 / RELATED

More from the same family.

[01]

Sofascore Match Stats Scraper - Live Scores, Odds & Lineups

Scrape Sofascore match stats, lineups, xG shot maps, player ratings and odds for 11 sports by team, match ID or live. Export CSV, JSON, Excel. No login.

PRODUCTIONSPORTS
VIEW ACTOR
[02]

Basketball Scraper: Box Scores, Play-by-Play & Odds

Scrape basketball box scores, play-by-play, odds, rosters and standings for any NBA or EuroLeague team. No login or API key. Export CSV, Excel or JSON.

PRODUCTIONSPORTS
VIEW ACTOR
[03]

Liquipedia Scraper: Esports Teams, Players & Tournaments

Scrape Liquipedia esports wikis: search, categories and team, player or tournament pages with parsed infobox fields. Export CSV, JSON, Excel, XML.

PRODUCTIONGAMES
VIEW ACTOR

NEXT SOURCE

What should we collect next?

Have a source that needs structured data?

Build an Actor