VOOZH about

URL: https://apify.com/crawlerbros/understat-scraper

โ‡ฑ Understat xG Football Data Scraper ยท Apify


๐Ÿ‘ Understat xG Football Data Scraper avatar

Understat xG Football Data Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store

Understat xG Football Data Scraper

Scrape Understat (understat.com) for xG (expected goals) football analytics. Get player stats, team stats, and match data for Premier League, La Liga, Bundesliga, Serie A, Ligue 1, and RFPL.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

23 days ago

Last modified

Share

Scrape Understat (understat.com) for advanced expected goals (xG) football analytics across 6 major leagues. Get player xG, xA, xGChain, xGBuildup, and team performance data.

What This Actor Does

Fetches xG football analytics from Understat including:

  • League Stats: All player xG stats for a season (xG, xA, xGChain, xGBuildup, goals, assists, shots)
  • Team Stats: Aggregated team performance with xG and xGA over a season
  • Player Stats: Full match-by-match xG history for a specific player

Supported Leagues

CodeLeague
EPLPremier League (England)
La_ligaLa Liga (Spain)
BundesligaBundesliga (Germany)
Serie_ASerie A (Italy)
Ligue_1Ligue 1 (France)
RFPLRussian Premier League

Input

FieldTypeDescription
modestringleagueStats, teamStats, or playerStats
leaguestringLeague code (e.g. EPL, La_liga)
seasonstringSeason start year, e.g. 2024 for 2024/25
teamNamestringFilter by team name (teamStats mode)
playerIdstringUnderstat player ID (playerStats mode)
playerNamestringPlayer name filter or lookup
maxItemsintegerMax records to return (default: 10)

Example Input

{
"mode":"leagueStats",
"league":"EPL",
"season":"2024",
"maxItems":10
}

Output

Player Record (leagueStats / playerStats)

FieldDescription
playerIdUnderstat player ID
playerNamePlayer's name
teamClub name
positionPlaying position
gamesMatches played
goalsGoals scored
assistsAssists
xGExpected goals
xAExpected assists
xGChainxG from all actions in a chain
xGBuildupxG contribution without shot/key pass
yellowCardsYellow cards
redCardsRed cards
shotsTotal shots
minutesPlayedMinutes on pitch
seasonSeason year
leagueLeague name
playerUrlLink to Understat player page

Example Output

{
"playerId":"1250",
"playerName":"Mohamed Salah",
"team":"Liverpool",
"position":"AML",
"games":32,
"goals":20,
"assists":12,
"xG":18.5,
"xA":9.2,
"xGChain":22.1,
"season":"2024",
"league":"Premier League",
"playerUrl":"https://understat.com/player/1250"
}

FAQs

Is this free to use? Yes. Understat is publicly accessible and embeds all data as JSON in the page HTML โ€” no API key required.

What is xG? Expected Goals (xG) measures the quality of goal-scoring chances. Each shot is assigned a probability of being scored based on historical data.

What is xGChain? xGChain is the total xG from every action (pass, dribble, shot) in the sequence of play that led to a shot, credited to every player involved.

How do I get a player ID? Run leagueStats mode first to get the playerId field, then use it in playerStats mode. You can also use playerName to auto-find the ID.

Why does the 2024 season use year 2024 not 2024-2025? Understat uses the start year of the season as the identifier (e.g. 2024 = 2024/25 season).

You might also like

Football Fixtures Api

martin_sabo/football-fixtures-api

Get upcoming football fixtures for any team via Football-Data.org API. Fetch match schedules for Premier League, Champions League & major European competitions. Perfect for sports analytics, betting research, and fantasy football. Clean JSON data, free tier available, no scraping needed.

Football Stats Scraper

crawlerbros/football-stats-scraper

Scrape football statistics from ESPN's public API, standings, match results, team stats, and player profiles for all major leagues worldwide including Premier League, La Liga, Bundesliga, Serie A, Ligue 1, MLS, and more. No API key required.

Football-Data.org Competitions Scraper

parseforge/football-data-org-competitions-scraper

Collect football competitions, teams, fixtures, results, standings, scorers, and seasons from football-data.org. Covers Premier League, La Liga, Bundesliga, Serie A, Champions League, World Cup. Export to JSON, CSV, or Excel for sports analytics, betting models, and fan dashboards.

FOOTBALL API DATA

macheta/football-super-fast-data

ALL FOOTBALL DATA SUPER FAST AND REALTIME

FBref Scraper | Advanced Soccer Statistics

parseforge/fbref-scraper

Extract advanced soccer stats from FBref including xG, xA, progressive passes, player and team metrics, match logs, shot maps, and league tables. Cover top leagues worldwide for football analytics, tactical analysis, scouting workflows, and sports betting research projects.

Sofascore Scraper โ€” Live Scores, Events & Results | $1.9/1K

bovi/sofascore-live-events

Scrape Sofascore live scores, scheduled events and results by sport and date. Returns teams, score, status (live/finished/scheduled), start time, tournament, country, event ID and URL. Football, basketball, tennis, baseball and 15+ sports supported.

๐Ÿ‘ User avatar

Vitalii Bondarev

11

SofaScore Scraper โšฝ Live Scores | Teams | Players | Fixtures

abotapi/sofascore-scraper

From $1/1K. Pull structured sports data from SofaScore across football, basketball, tennis, and 20+ sports. Search by keyword, paste URLs, fetch live matches, or download fixtures by date. Returns scores, stats, lineups, incidents, odds, teams, players, tournaments, and more.

Opta Analyst Ranking Scraper

alaricus/opta-ranking-scraper

Extract official Opta Analyst Global Power Rankings. Get team ratings, 7-day performance changes, and rankings for 13,000+ football clubs. Fast & Reliable.

Football Data Co Uk

tomko5peter/football-data-co-uk

Comprehensive football match data scraper extracting historical statistics, betting odds from 15+ bookmakers across 20+ leagues. Transforms raw CSV data into structured datasets for analytics, ML models, and predictive research. Handles missing values and processes 1000+ matches/minute.