
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.

[SPORTS · DEVELOPER TOOLS]
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.
01 / INPUT
entitystringplayers: 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"leaguesarrayLeagues 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"]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: []seasonstringSeason 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"matchStatusstringMatches export only. played: finished matches with goals and xG. scheduled: upcoming fixtures with Understat win probabilities. all: both. default: "played"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: ""dateTostringMatches export only. Keep matches on or before this day, format YYYY-MM-DD. Leave empty for no end limit. default: ""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: []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: []includeShotsbooleanMatches 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: falseincludeSplitsbooleanTeams 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: falseminMinutesintegerPlayers export only. Only export players with at least this many minutes played in the season. 0 means every player. default: 0sortBystringPlayers export only. Metric that orders the player rows, highest first: xG, goals, xA, assists, shots, minutes (time) or xGChain. default: "xG"onlyNewbooleanDeliver 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: falsestateKeystringName 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: ""resetSeenbooleanClear the memory for this monitor before the run, so every row counts as new again. default: falsemaxItemsintegerMaximum 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
This Actor is free to run. You only pay Apify platform usage.
03 / FAQ
The Actor itself is free to run. You only pay for the Apify platform usage of each run.
No field is required. The Actor has 17 input fields and every one has a default.
Results are saved to an Apify dataset. Download them as JSON, CSV or Excel, or fetch them through the Apify API.
04 / RELATED

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.

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.

Scrape Liquipedia esports wikis: search, categories and team, player or tournament pages with parsed infobox fields. Export CSV, JSON, Excel, XML.
NEXT SOURCE
Have a source that needs structured data?