RECORDSDATA

[SPORTS · DEVELOPER TOOLS]

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.

Input: 33 fields, none required. Billed per event on the free Apify plan: Match summary $0.01, Match statistics $0.01, Lineup record $0.011 and 5 more events. Results export as JSON, CSV or Excel. Last updated 2026-11-04.

STATUS
PRODUCTION
INPUT FIELDS
33
REQUIRED
0
PRICING
PAY PER EVENT
UPDATED
2026-11-04
OUTPUT
JSON, CSV, Excel

01 / INPUT

What you can configure.

FIELDTYPEDESCRIPTION
Team namesteamNamesarrayTeam names to look up (e.g. "Real Madrid"). Each name is resolved to its Sofascore team id by search, then the team's recent and upcoming matches are collected, one row per match. Ignored when Live matches only is on. If you only fill Event IDs, leave this default alone and it is skipped. default: ["Real Madrid"]
Event IDseventIdsarraySpecific Sofascore match IDs to fetch directly, bypassing team search. Find an ID in a Sofascore match URL, e.g. sofascore.com/.../id:12345678.
SportsportstringSport of the team names, competitions, players, day schedule and live matches. Names are searched in this sport first (Real Madrid exists in football and basketball, and two players named Nikola Jokic play in different sports). An id or a page URL is exact and ignores this. default: "football"
Live matches onlyliveOnlybooleanIgnore Team names / Event IDs and instead fetch every match currently live in the sport selected above. default: false
Matches of a team or competitiongameWindowstringWhich matches of a team or competition to list: played, upcoming or both. Without dates, a team returns its latest 30 played and next 30 upcoming matches. default: "both"
Matches from (YYYY-MM-DD)dateFromstringOnly matches that start on or after this date (UTC). Setting a date makes the actor page back through the history of the team or competition, 30 matches per page. default: ""
Matches until (YYYY-MM-DD)dateTostringOnly matches that start on or before this date (UTC). default: ""
CompetitionstournamentsarrayList every match of whole competition seasons. Use a Sofascore competition id (8 is LaLiga, 17 the Premier League), a name (LaLiga, Champions League) or id:seasonId (8:77559). Searched in the sport chosen above. Combines with the matches and dates above. default: []
Competition seasontournamentSeasonstringSeason to list for the competitions above: latest (default) or a season such as 25/26 or 2025. default: ""
Day schedule (YYYY-MM-DD)datestringEvery match of the chosen sport on this UTC day, biggest competitions first, so Max Items keeps the most important fixtures. Add competitions above to restrict the day to them. When set, the default team is not added. default: ""
Extra days after the day scheduledaysAheadintegerAlso list the following days (0 to 13) of the day schedule above. default: 0
Max ItemsmaxItemsintegerMaximum number of rows to return: matches, or profiles and search results. Free users are limited to 10 rows (preview). Paid users can raise it up to 1,000,000. Extras you turn on are billed per row on top of this. default: 10
Team profilesteamProfilesarrayTeams to return a profile for: a name (Real Madrid), a Sofascore team id (2829) or a team page URL. One row per team with country, league, manager, stadium, colours, founding date and current form. A name that exists in several sports resolves in the chosen Sport. default: []
Player profilesplayerProfilesarrayPlayers to return a profile for: a name (Lionel Messi), a Sofascore player id (12994) or a player page URL. One row per player with position, height, birth date, foot, club, market value and contract end. Tennis, darts and other individual-sport athletes return ranking, prize money, hand and birthplace. A name shared by players of different sports resolves in the chosen Sport. default: []
Competition profilescompetitionProfilesarrayCompetitions (leagues, cups, tours) to return a profile for: a name (LaLiga), a Sofascore competition id (8) or a competition page URL. One row per competition with tier, title holder, most titles, divisions, current season and the list of seasons. A name that exists in several sports resolves in the chosen Sport. default: []
Search by namesearchQueriesarrayNames to search on Sofascore (at least 2 characters). One row per result with its id, name, sport, country, link and relevance score. Searches every sport; each row says which one. Up to 10 pages of 20 results per name, as far as Max Items allows. default: []
Search results of typesearchTypestringWhich kind of result to keep when searching by name. default: "all"
Return full profiles for search resultssearchFullProfilesbooleanInstead of one short row per search result, fetch the full profile of each result (one extra request and one profile record per result). default: false
Team squadsincludeSquadbooleanAdd the full squad to each team profile: id, name, position, shirt number, height, birth date, foot, nationality, market value and contract end per player. One extra event per team with a squad. default: false
Player transfer historyincludeTransfersbooleanAdd the transfer history to each player profile: date, clubs and fee. One extra event per player with transfers. Not available for tennis and other individual-sport athletes. default: false
Match statisticsincludeStatisticsbooleanPossession, shots, cards and other aggregated team stats. default: true
LineupsincludeLineupsbooleanStarting XI, formation, substitutes for both teams. default: false
Shot mapincludeShotmapbooleanEvery shot in the match: player, position, outcome. Football/basketball/handball only, other sports return an empty array. default: false
Player ratingsincludePlayerRatingsbooleanPer-player performance rating for the match. default: false
Head-to-head recordincludeH2hbooleanHistorical wins/draws/losses between the two teams. default: false
Betting oddsincludeOddsbooleanLive bookmaker odds for the match result market. Informational data only, not betting advice. default: false
Pre-match formincludePregameFormbooleanRecent results and average rating for both teams heading into the match. default: false
Incidents timelineincludeIncidentsbooleanGoals, cards, substitutions and period markers with minute, team, players and score. One extra event per match that returns incidents. default: false
Fan votesincludeVotesbooleanSofascore fan votes: home win, draw, away win and, for football, both teams to score and first team to score. One extra event per match with votes. default: false
League tableincludeStandingsbooleanThe standings table of the competition season the match belongs to (position, played, wins, draws, losses, goals, points). Also adds the current table to competition profiles. One extra event per match or competition with a table. default: false
Only new matches (monitor mode)onlyNewbooleanOnly new matches: skip every match this same search already returned in an earlier run in the same state (upcoming, finished, or a new live score), so scheduled runs return just what changed and you are not charged for skipped matches. Max Items then means N new matches. Off by default. default: false
Monitor name (optional)stateKeystringOptional label for the monitor state. Use a different label to run several independent monitors with identical filters. Leave empty to share state between runs of the same search. default: ""
Reset seen matches before this runresetSeenbooleanClear the stored list of already-seen matches for this search (and Monitor name) before the run starts, so everything counts as new again. default: false

02 / PRICING

Pay for what you collect.

EVENTDETAILPRICE
Match summary · BASEBase row: teams, score, tournament, status, kickoff time.$0.01
Match statisticsFull team statistics for the match (possession, shots, cards and more).$0.01
Lineup recordStarting XI, formation, substitutes and missing players for both teams.$0.01125
Shot mapEvery shot in the match with player, body part, situation and expected goals (xG).$0.015
Player ratingsBest-rated player for each team with their performance rating.$0.01
Head-to-head recordHistorical wins, draws and losses between the two teams.$0.01
Betting oddsLive bookmaker odds for the match result market.$0.01
Pre-match formRecent results and average rating for both teams before the match.$0.01

Prices in USD, shown for the Apify free plan. Paid Apify plans get tiered discounts. Platform usage is included.

03 / FAQ

About the Sofascore Match Stats Scraper.

How much does the Sofascore Match Stats Scraper cost?

It charges per event: Match summary $0.01, Match statistics $0.01, Lineup record $0.011 and 5 more events. Prices are for the free Apify plan, and paid Apify plans get tiered discounts. Apify platform usage is included in the event price.

What input does the Sofascore Match Stats Scraper need?

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

Which formats can I export the Sofascore Match Stats 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]

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.

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