Understat xG Player Stats Scraper avatar

Understat xG Player Stats Scraper

Pricing

from $4.00 / 1,000 results

Go to Apify Store
Understat xG Player Stats Scraper

Understat xG Player Stats Scraper

Pull player expected goals data from Understat for the top European leagues. Each player returns games, minutes, goals, assists, shots, xG, xA, non penalty xG, xGChain, and xGBuildup for a chosen season. Great for football analytics, model building, and player scouting.

Pricing

from $4.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

ParseForge Banner

โšฝ Understat xG Player Stats Scraper

๐Ÿš€ Get the full xG leaderboard for a league in one run. EPL 2024/2025 returns 562 players with goals, expected goals, assists, and expected assists.

๐Ÿ•’ Last updated: 2026-06-02 ยท ๐Ÿ“Š 23 fields per player ยท 6 leagues ยท seasons from 2014

Pull advanced player statistics from Understat, the expected goals data source for top European football. Pick a league and a season, and for every player get games, minutes, goals, assists, shots, xG, xA, non penalty xG, xGChain, and xGBuildup.

Coverage: Premier League, La Liga, Bundesliga, Serie A, Ligue 1, and the Russian Premier League, for every season from 2014 to the current campaign.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
Football analystsBuild xG models and reports
Bettors and tradersFind over and under performers
Scouts and clubsCompare player output
Data scientistsBuild football datasets

๐Ÿ“‹ What the Understat xG Player Stats Scraper does

  • Pulls the complete player list for a league and season.
  • Returns 23 structured fields per player, including xG and xA.
  • Includes non penalty xG, xGChain, and xGBuildup advanced metrics.
  • Numbers come parsed and ready, with xG values rounded for readability.
  • Links each player to their Understat profile.
  • Exports to CSV, Excel, JSON, XML, or via API.

๐ŸŽฌ Full Demo (๐Ÿšง Coming soon)

โš™๏ธ Input

FieldTypeDescription
leaguestringLeague to scrape (Premier League, La Liga, and more).
seasonintegerSeason start year (2024 means 2024/2025).
maxItemsintegerCap on players returned. Free plan is limited to 10.

Example 1: Premier League

{
"league": "EPL",
"season": 2024,
"maxItems": 100
}

Example 2: La Liga, an older season

{
"league": "La_liga",
"season": 2021,
"maxItems": 50
}

โš ๏ธ Good to Know: the season value is the start year of the campaign, so 2024 returns the 2024/2025 season. Players are returned in goals order. Six leagues are supported, with data going back to the 2014/2015 season.

๐Ÿ“Š Output

Each record contains the following fields:

FieldDescription
๐Ÿ†” playerIdUnderstat player ID
โšฝ playerNamePlayer name
๐Ÿ›ก teamTeam name
๐Ÿ“ positionPosition
๐Ÿ† leagueLeague name
๐Ÿ“… seasonSeason label
๐ŸŽฎ gamesGames played
โฑ minutesMinutes played
๐Ÿฅ… goalsGoals
๐Ÿ…ฐ assistsAssists
๐ŸŽฏ shotsShots
๐Ÿ”‘ keyPassesKey passes
๐Ÿ“ˆ xGExpected goals
๐Ÿ“ˆ xAExpected assists
๐Ÿฅ… npGoalsNon penalty goals
๐Ÿ“Š npxGNon penalty expected goals
๐Ÿ”— xGChainxG chain involvement
๐Ÿ— xGBuildupxG buildup involvement
๐ŸŸจ yellowCardsYellow cards
๐ŸŸฅ redCardsRed cards
๐Ÿ”— playerUrlUnderstat profile link
๐Ÿ•’ scrapedAtCollection timestamp
โŒ errorError message, null on success

Real sample records:

{
"playerId": 3423,
"playerName": "Kylian Mbappe-Lottin",
"team": "Real Madrid",
"position": "F",
"league": "La Liga",
"season": "2024/2025",
"games": 34,
"minutes": 2938,
"goals": 31,
"assists": 3,
"shots": 161,
"keyPasses": 51,
"xG": 30.14,
"xA": 9.39,
"npGoals": 24,
"npxG": 23.45,
"xGChain": 38.31,
"xGBuildup": 11.08,
"playerUrl": "https://understat.com/player/3423",
"error": null
}
{
"playerName": "Robert Lewandowski",
"team": "Barcelona",
"league": "La Liga",
"season": "2024/2025",
"games": 35,
"goals": 27,
"assists": 2,
"shots": 121,
"xG": 29.41,
"xA": 2.48,
"npxG": 23.1,
"error": null
}
{
"playerName": "Mohamed Salah",
"team": "Liverpool",
"league": "Premier League",
"season": "2024/2025",
"games": 38,
"goals": 29,
"assists": 18,
"shots": 130,
"xG": 27.71,
"xA": 15.86,
"npxG": 20.86,
"error": null
}

โœจ Why choose this Actor

  • Full leaderboard. Every player in a league and season, not just the top names.
  • Advanced metrics. xG, xA, npxG, xGChain, and xGBuildup in one row.
  • Ready numbers. Values are parsed and rounded, not raw strings.
  • Six leagues, many seasons. Coverage back to 2014.
  • Ready to export. CSV, Excel, JSON, XML, or API, with a clean table view.

๐Ÿ“ˆ How it compares to alternatives

Understat xG Player Stats ScraperManual copyGeneric web scrapers
Whole-league player listโœ…โŒโš ๏ธ Needs setup
Advanced xG metricsโœ…โš ๏ธโŒ
Parsed numeric outputโœ…โŒโš ๏ธ
Multi-season coverageโœ…โš ๏ธโš ๏ธ
Export to CSV/Excel/JSON/XMLโœ…โŒโš ๏ธ

๐Ÿš€ How to use

  1. Create a free Apify account using this sign-up link.
  2. Open the Understat xG Player Stats Scraper.
  3. Pick a league, set a season year, and set maxItems.
  4. Click Start and watch the dataset fill in real time.
  5. Export your results as CSV, Excel, JSON, or XML, or pull them via API.

๐Ÿ’ผ Business use cases

๐Ÿ“ˆ Performance analysis

GoalHow
Find over performersCompare goals against xG
Spot creatorsRank by xA and key passes

๐ŸŽฒ Betting and trading

GoalHow
Build modelsUse xG and npxG as inputs
Track formPull recent seasons

๐Ÿ”ญ Scouting

GoalHow
Compare targetsLine up xG output per player
Filter by roleRead the position field

๐Ÿ“Š Research

GoalHow
Study leaguesAggregate players by season
Track trendsCompare seasons over time

๐Ÿ”Œ Automating Understat xG Player Stats Scraper

Connect this Actor to your stack with Apify integrations: Make, Zapier, Slack, Airbyte, GitHub, and Google Drive. Schedule runs and push fresh xG data into spreadsheets, databases, or alerts.

๐ŸŒŸ Beyond business use cases

  • Research: study how expected goals predict outcomes.
  • Personal: settle debates about your favorite players.
  • Non-profit: support grassroots football analytics.
  • Experimentation: build prediction projects with real data.

๐Ÿค– Ask an AI assistant

Paste your dataset into ChatGPT, Claude, Perplexity, or Copilot and ask for the biggest over performers, top creators by xA, or finishing efficiency.

โ“ Frequently Asked Questions

1. Which leagues are covered? Premier League, La Liga, Bundesliga, Serie A, Ligue 1, and the Russian Premier League.

2. How far back does the data go? To the 2014/2015 season.

3. What does the season number mean? It is the start year. 2024 returns the 2024/2025 season.

4. What is xG? Expected goals, an estimate of how likely each shot was to score.

5. What advanced metrics are included? xG, xA, non penalty xG, xGChain, and xGBuildup.

6. Are the values numbers or text? Numbers. xG style values are rounded to two decimals.

7. What export formats are supported? CSV, Excel, JSON, XML, and API.

8. Do I need an API key? No. The Actor uses publicly available data.

9. Can I run it on a schedule? Yes, with Apify Schedules and integrations.

10. Is there a free option? Yes. Free runs are limited to 10 items as a preview. Paid plans unlock up to 1,000,000.

๐Ÿ”Œ Integrate with any app

Use the Apify API, webhooks, and 5,000-plus integrations to push Understat data into Make, Zapier, Google Sheets, Airtable, databases, and more.

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection.

๐Ÿ†˜ Need Help? Open our contact form

โš ๏ธ Disclaimer: independent tool, not affiliated with Understat. Only publicly available data is collected.