Sofascore Scraper: Matches, Lineups, Stats, Odds avatar

Sofascore Scraper: Matches, Lineups, Stats, Odds

Pricing

from $0.90 / 1,000 matches

Go to Apify Store
Sofascore Scraper: Matches, Lineups, Stats, Odds

Sofascore Scraper: Matches, Lineups, Stats, Odds

Scrape Sofascore by date, live or tournament: scores for football, tennis, basketball and 20 more sports, with statistics, lineups and ratings, incidents, odds, fan votes, head-to-head, team and player profiles and standings. No login.

Pricing

from $0.90 / 1,000 matches

Rating

0.0

(0)

Developer

The Mine Works

The Mine Works

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

30 Sofascore matches by date with scores, tournament and status in seconds

It returns one row per Sofascore match, by date, live or tournament across 24 sports: tournament, teams, score and period scores, with statistics, lineups and player ratings, incidents, odds and head-to-head when you switch them on, plus team, player and standing rows. No login, no cookies, no API key. You pay $1.62 per 1,000 rows on the Free plan and $0.90 per 1,000 on the Gold plan, plus a flat $0.003 start fee per run.

From The Mine Works, makers of Amazon Product Scraper and B2B Leads Finder, with over 335,000 runs across 320+ public actors.

Updated 23 Oct 2026: first release. Matches by date, live or tournament for 24 sports, with statistics, lineups and ratings, incidents, odds, fan votes and head-to-head, plus team and player profiles and standings. Bookmark this Actor on its Store page so it is one click away next time.

Why choose this actor?

  • One row per match, scores in columns. Every row has the tournament, round, status, kick-off time in UTC, both teams with ids, the score, the period scores and the winner. Tennis, basketball, hockey, cricket, esports and 19 more sports use the same columns, so one table holds them all.
  • Depth when you switch it on. Statistics (possession, shots, xG, passes, cards, aces), lineups with a rating, minutes, goals and assists for every player, incidents, odds in decimal with the opening price, the fan prediction poll and head-to-head with previous meetings. Each is its own input, and a match with all of them is still one row at one price.
  • Biggest competitions first. A football day on Sofascore has about 8,500 matches, most of them lower leagues. Matches by date come most followed competitions first, so maxItems: 100 gives the Premier League, Champions League and LaLiga before a regional cup.
  • Pay per row, nothing for errors. Summary, info and error rows, duplicates and lookups that find nothing are never charged. No Sofascore account, cookies or API key.

Run it on Apify

Part of The Mine Works More tools family: G2 Reviews Scraper, Naver Blog Scraper, WeChat Article Scraper 微信公众号文章, Taobao Products Scraper 淘宝 天猫, MLB Stats API Scraper, Flashscore Tennis Scraper.

Guide and FAQs: Sofascore Scraper on themineworks.com.

Try it in one minute

Paste this into the input (JSON view) and press Start. It returns the first 30 football matches of today, biggest competitions first, with no extra details. It took 18 seconds in our test run:

{
"mode": "fixtures",
"sport": "football",
"dates": ["today"],
"maxItems": 30
}

Add "includeStatistics": true, "includeLineups": true, "includeOdds": true and filter with "matchStatus": "finished" for a results table with statistics. Change sport to tennis, basketball, ice-hockey, cricket or any of the 24 sports in the list.

Apify's free plan includes $5 of credit every month, which covers about 3,000 results at this actor's price.

Copy to your AI assistant

themineworks/sofascore-scraper on Apify. Reads Sofascore's public JSON API and returns flat rows for matches, teams, players and league tables, no login. Call ApifyClient("TOKEN").actor("themineworks/sofascore-scraper").call(run_input={"mode": "fixtures", "sport": "football", "dates": ["today"], "maxItems": 100}), then client.dataset(run["defaultDatasetId"]).list_items().items. mode is one of fixtures (all matches of dates for one sport, most followed competitions first), live (matches in play now), tournament (matches of a season; targets = ids, links or names; season optional; tournamentMatches last|next|both), standings (league tables), teams (profiles; teamMatches none|last|next|both; includeSquad), players (profiles; playerMatches none|last), matches (targets = match ids or links ending #id:123 or /event/123). sport is one of football, basketball, tennis, ice-hockey, baseball, american-football, volleyball, handball, cricket, rugby, mma, esports, table-tennis, futsal, darts, snooker, badminton, water-polo, aussie-rules, floorball, minifootball, beach-volleyball, bandy, padel. dates: YYYY-MM-DD, today, tomorrow, yesterday, +2, -1 (UTC days). Filters: onlyTournamentIds (e.g. 17 Premier League, 7 Champions League), matchStatus (any, notstarted, inprogress, finished). Match details, each a boolean, default false: includeEventDetails (venue, referee, attendance), includeStatistics, includeLineups, includeIncidents, includeOdds, includeVotes, includeHeadToHead. maxItems caps rows in the whole run (default 50, max 10000). Rows carry a type field: match, team, player or standing. Match rows: match_id, custom_id, url, sport, category, tournament, tournament_id, season, round, status, start_time, home_team, home_team_id, away_team, away_team_id, home_score, away_score, home_score_detail, away_score_detail, winner, ground_type, venue, referee, attendance, statistics, lineups, incidents, odds, odds_home, odds_draw, odds_away, fan_votes, head_to_head, home_xg, away_xg, home_possession, away_possession, home_shots, away_shots, source, scraped_at. Each run also writes one summary row (_type "summary"), an info row and error rows (_type "error"); none is charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~sofascore-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme. Token: https://console.apify.com/account/integrations?fpr=ymnoit&utm_source=apify-readme&utm_medium=referral

Key features

  • Seven modes. Matches by date, live matches, a tournament season, standings, team profiles, player profiles, or exact matches by id or link. One input field, targets, takes ids, Sofascore links and plain names, so Premier League, Arsenal, Novak Djokovic and https://www.sofascore.com/football/team/arsenal/42 all work.
  • Filters that save money. onlyTournamentIds keeps one competition (Premier League is 17, Champions League is 7; every row carries its tournament_id), matchStatus keeps only finished, in play or upcoming matches, and maxItems caps the run.
  • Flat headline numbers plus the full detail. With includeStatistics you get home_xg, away_xg, home_possession, home_shots, home_shots_on_target, corners, cards and more in columns, and every statistic of every period in statistics. With includeOdds you get odds_home, odds_draw, odds_away and every market in odds.
  • Individual sports work. Sofascore stores a tennis player, a darts player or a fighter as a team. Match rows put the two players in home_team and away_team with home_team_ranking and away_team_ranking; the team mode returns an athlete block with birth date, height, handedness, turned pro and prize money.
  • Tolerates refusals. Sofascore refuses some datacenter IPs. The actor keeps the IPs that work, tries another when one is refused, and ends the run with a plain message if six requests in a row are refused on every attempt. It stops before its time limit and keeps every row.

How to use it

Basic: today's biggest matches

{ "mode": "fixtures", "sport": "football", "dates": ["today", "tomorrow"], "maxItems": 100 }

Results with statistics, odds and lineups for one competition

{
"mode": "fixtures",
"sport": "football",
"dates": ["yesterday"],
"onlyTournamentIds": [17, 7],
"matchStatus": "finished",
"includeStatistics": true,
"includeLineups": true,
"includeOdds": true,
"maxItems": 40
}

Live tennis

{ "mode": "live", "sport": "tennis", "includeStatistics": true, "maxItems": 50 }

A season of one tournament

{ "mode": "tournament", "targets": ["Premier League"], "season": "25/26", "tournamentMatches": "last", "maxItems": 380 }

Team profile with squad and recent matches

{ "mode": "teams", "targets": ["Arsenal", "Real Madrid"], "includeSquad": true, "teamMatches": "last", "maxItems": 60 }

One or two matches, everything on

{
"mode": "matches",
"targets": ["12436870", "https://www.sofascore.com/football/match/manchester-united-tottenham-hotspur/IsK#id:16363879"],
"includeStatistics": true, "includeLineups": true, "includeIncidents": true,
"includeOdds": true, "includeVotes": true, "includeHeadToHead": true
}

Input parameters

ParameterTypeDefaultWhat it does
modeselectfixturesfixtures, live, tournament, standings, teams, players or matches.
sportselectfootballOne of 24 sports. Used by fixtures and live.
datesarray of strings["today"]YYYY-MM-DD, today, tomorrow, yesterday, or an offset such as +2. UTC days, up to 31 dates.
onlyTournamentIdsarrayemptyKeep only these Sofascore tournament ids.
matchStatusselectanyany, notstarted, inprogress or finished.
targetsarray of stringsemptyIds, Sofascore links or names for the tournament, standings, teams, players and matches modes.
searchResultsinteger1Search hits to follow per name in targets, 1 to 10.
seasonstringlatestSeason label such as 25/26, or a season id. Tournament and standings modes.
tournamentMatchesselectbothlast, next or both.
teamMatchesselectnonenone, last, next or both after each team profile.
playerMatchesselectnonenone or last after each player profile.
includeSquadbooleanfalseSquad on each team row.
includeEventDetailsbooleanfalseVenue, referee and attendance on match rows.
includeStatisticsbooleanfalseMatch statistics and flat headline columns.
includeLineupsbooleanfalseLineups with player ratings and statistics. Makes rows large.
includeIncidentsbooleanfalseGoals, cards, substitutions, VAR.
includeOddsbooleanfalseOdds by market with the opening price.
includeVotesbooleanfalseFan prediction poll.
includeHeadToHeadbooleanfalseHead-to-head record and previous meetings.
maxItemsinteger50Most rows in the whole run (matches, profiles and standings together), 1 to 10,000.
proxyConfigurationobjectApify ProxyNo change needed.

What data do you get?

Every row has a type field: match, team, player or standing. The summary, info and error rows have _type instead, so a filter on type returns only data rows.

Match rows

FieldWhat it is
match_id, custom_id, urlSofascore match id (the key to store), short code and link
sport, category, tournament, tournament_id, stage, season, season_id, round, round_nameWhere the match sits. category is the country or tour (England, ATP)
status, status_detail, status_codenotstarted, inprogress, finished and so on, and the text shown (Ended, 2nd set)
start_time, start_timestampKick-off, ISO 8601 UTC and Unix seconds
home_team, home_team_id, home_team_country, home_team_rankingHome side, or first player in tennis, with ranking for individual sports
away_team, away_team_id, away_team_country, away_team_rankingAway side
home_score, away_score, home_score_detail, away_score_detail, winnerScore, period scores (period1, period2, overtime, penalties) and home, away or draw
ground_type, has_xg, last_changeTennis surface, xG availability, last change time
venue, venue_city, venue_capacity, referee, attendanceWith includeEventDetails or the matches mode
statisticsList of period, group, key, name, home, away (includeStatistics)
home_xg, away_xg, home_possession, away_possession, home_shots, home_shots_on_target, corners, fouls, cards, offsides, saves, aces, double faultsHeadline statistics in columns (includeStatistics; the ones the sport has)
lineupsconfirmed, and per side formation, players (id, name, position, shirt number, substitute, captain, rating, minutes, goals, assists, full statistics) and missing_players
incidentsOrdered list: type, class, time, added time, player, assist, substitution in and out, score at the time
odds, odds_home, odds_draw, odds_away, odds_marketMarkets with fractional, decimal, opening and winning flag, and three flat columns
fan_voteshome, draw, away, both_teams_to_score_yes, both_teams_to_score_no
head_to_headteam_duel, manager_duel, previous_meetings (up to 20)
details_scraped, details_error, source, scraped_atWhether every requested detail came back, which search found the row, when it was read

Team rows: team_id, name, full_name, short_name, name_code, sport, country, category, gender, is_athlete, is_national_team, ranking, tournament, manager, venue, venue_city, venue_capacity, founded, followers, colours, url, squad (with includeSquad) and, for tennis players and other individual athletes, athlete.

Player rows: player_id, name, team, team_id, position, positions_detailed, shirt_number, height_cm, date_of_birth, preferred_foot, country, market_value, market_value_currency, contract_until, followers, url.

Standing rows: tournament, season, table, position, team, team_id, played, wins, draws, losses, goals_for, goals_against, goal_difference, points, promotion, average_rating.

Summary row (_type: "summary", never charged): matches_delivered, profiles_delivered, charged_for, calls_ok, calls_failed, duplicates_skipped, filtered_out, details_requested, details_ok, details_failed, http_requests, http_retries, http_refused, http_megabytes, stopped_by_max_cost, stopped_by_block_guard, shortfall_reason when fewer rows came back than asked, and per_source. The same summary is saved as the OUTPUT record.

Error rows (_type: "error", never charged): one per input that could not be read, with error_type (invalid_date, no_search_hit, unsupported_target, not_found, season_not_found, blocked, fetch_error), identifier and reason.

Stable fields for automations

These were present in every match row of our test runs (23 Oct 2026, football, tennis, basketball, hockey, cricket and esports), and their names will not change: type, match_id, url, sport, tournament, tournament_id, status, start_time, home_team, home_team_id, away_team, away_team_id. home_score and away_score are absent until a match has started. venue, referee and attendance appear only with includeEventDetails and only when Sofascore has them. odds appeared for 40 of 40 finished football matches in the detail test and is often absent for lower leagues.

Output examples

One finished Premier League match with details on (test run, 23 Oct 2026, trimmed):

{
"type": "match",
"match_id": 12436870,
"url": "https://www.sofascore.com/football/match/fulham-manchester-united/KsT#id:12436870",
"sport": "football",
"tournament": "Premier League",
"tournament_id": 17,
"season": "Premier League 24/25",
"round": 1,
"status": "finished",
"start_time": "2024-08-16T19:00:00.000Z",
"home_team": "Manchester United",
"away_team": "Fulham",
"home_score": 1,
"away_score": 0,
"winner": "home",
"venue": "Old Trafford",
"referee": "Robert Jones",
"attendance": 73297,
"home_xg": 2.43,
"away_xg": 0.44,
"home_possession": 55,
"odds_home": 1.65,
"odds_draw": 4.2,
"odds_away": 5,
"fan_votes": { "home": 124336, "draw": 18006, "away": 14001, "both_teams_to_score_yes": 25420, "both_teams_to_score_no": 7851 },
"head_to_head": { "team_duel": { "home_wins": 6, "away_wins": 2, "draws": 2 } },
"lineups": { "confirmed": true, "home": { "formation": "4-2-3-1", "players": [ { "id": 787498, "name": "André Onana", "position": "G", "shirt_number": 24, "rating": 7.3, "minutes_played": 90 } ] } },
"details_scraped": true
}

One tennis match from a live run (test run, 23 Oct 2026, trimmed):

{
"type": "match",
"sport": "tennis",
"category": "ATP",
"tournament": "Lyon",
"round_name": "Quarterfinals",
"status": "inprogress",
"status_detail": "2nd set",
"home_team": "Flavio Cobolli",
"away_team": "Brandon Nakashima",
"ground_type": "Hardcourt indoor"
}

One standing row and one player row:

{ "type": "standing", "tournament": "Premier League", "season": "Premier League 26/27", "position": 1, "team": "Manchester City", "played": 7, "wins": 7, "draws": 0, "losses": 0, "goals_for": 19, "goals_against": 7, "points": 21 }
{ "type": "player", "player_id": 839956, "name": "Erling Haaland", "team": "Manchester City", "position": "F", "shirt_number": 9, "height_cm": 195, "date_of_birth": "2000-07-21", "preferred_foot": "Left", "country": "Norway", "market_value": 240000000, "market_value_currency": "EUR" }

How it compares

ActorFree plan, per 1,000Start feeLogin or cookies neededSportsLineups with player ratingsOdds
Sofascore Scraper (this actor)$1.62 per 1,000 rows$0.003 per runNo24Yes, no extra chargeYes, no extra charge
SofaScore scraper PRONo actor fee, you pay Apify platform usageNonenot statedSeveral, by Sofascore linknot statednot stated
SofaScore Scraper$1.80 per 1,000 records, plus $0.80 per 1,000 detail pages$0.05 per GB of memorynot statedFootball, basketball, tennis and 20+ othersYesYes
Sofascore Live Events Scraper$33.50 per 1,000 resultsNoneNo14$0.01 per match for lineups, $0.006 for ratings$0.008 per match

Checked 11 Nov 2026 from the public Store listings.

Pricing

Pay per event: you pay for the rows you receive, plus a flat $0.003 per run, whatever memory you choose. Statistics, lineups, incidents, odds, votes and head-to-head cost nothing extra.

EventWhen it is chargedFree planBronze (Starter)Silver (Scale)Gold (Business)
match-scrapedOnce per match row stored in your dataset$1.62 per 1,000$1.44 per 1,000$1.17 per 1,000$0.90 per 1,000
profile-scrapedOnce per team, player or standing row stored in your dataset$1.62 per 1,000$1.44 per 1,000$1.17 per 1,000$0.90 per 1,000
run-startOnce per run, after the first call returned rows$0.003$0.003$0.003$0.003

The price of one row is the price per 1,000 divided by 1,000.

Never charged:

  • the summary, info and error rows;
  • a match that two dates or two lists of the same run both return;
  • rows past your maxItems;
  • a run with no valid input, or one where Sofascore refuses every request: the start fee is charged only once a call has returned rows;
  • anything past your "Max cost per run". The actor checks the budget before each batch of rows and stops while the total is still below your limit, so the run ends SUCCEEDED with a partial result and a status message saying so.

Run it on a schedule

  1. Open the actor in Apify Console, set your input and click Save as a new task.
  2. In the task, open Schedules, click Add schedule and pick how often (every day, every 15 minutes for live scores).
  3. Key your table on match_id; status, home_score and away_score change as the match goes on.
  4. Optional: add an integration (Google Sheets, Slack, a webhook) so each run lands where your team works.

FAQ

What does this actor read?

Sofascore's public JSON API at api.sofascore.com, the same data the Sofascore website and app show a visitor who is not signed in. It does not log in, solve any verification or read anything private.

How does it get past Sofascore's bot protection?

It does not get past it. The Sofascore website asks browsers to pass a Cloudflare Turnstile check; this actor is a plain API client that says what it is (its user agent names The Mine Works and gives a contact address) and never runs a browser or solves the check. Sofascore answers such a client with data on most IPs and refuses it on some datacenter IPs. The actor keeps the IPs that returned data, retries a refused request from another IP, and stops with a plain message if six requests in a row are refused on every attempt. In our test on 23 Oct 2026, 4 of 291 requests were refused in a detail run (1.4 percent) and every row was delivered. A cold start can take several attempts: in one test the first call was refused on all 8 attempts of an early build (the limit is now 15) and in another it passed on the eighth. If Sofascore changes its rules, the run says so in the summary row instead of returning an empty dataset silently.

How many matches can I get?

Up to 10,000 rows per run. A football day has about 8,500 matches; with maxItems you get the most followed competitions first. A full league season is about 380 matches for 20 teams.

How long does a run take?

In our tests on 23 Oct 2026: 18 seconds for the "Try it" input (30 matches, no details), 70 seconds for 40 finished football matches with statistics, lineups, incidents, odds, votes and head-to-head on (291 requests, about 39 KB of traffic per match), and about 10 seconds for a team profile with 29 recent matches. The default time limit is 3,600 seconds; the actor stops before it and keeps every row.

Why do some matches have no odds, lineups or statistics?

Sofascore carries them for the matches that have them: lower leagues often have no lineups or odds, and statistics exist only once a match is in play. A missing section is simply absent from the row, and details_scraped stays true. It turns false only when a request failed.

Are dates in my time zone?

No. Days are UTC days. A match in the evening in the Americas can fall on the next UTC day; read start_time for the exact kick-off.

Do I need an account, cookies or an API key?

No. No Sofascore account, cookies or API key. The actor reads public data over Apify Proxy, which is included. Nothing to set up.

Which formats can I download?

JSON, CSV, Excel, XML, RSS and HTML from the run's Storage tab or through the API. The dataset has five ready views: Matches, Odds and headline stats, Teams, Players and Standings. In CSV and Excel, nested fields such as statistics and odds are flattened into columns like odds/0/choices/0/decimal.

Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/sofascore-scraper

  • Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
  • ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
  • Cursor or VS Code: add it as an HTTP MCP server with that URL.
  • Claude Code: claude mcp add -t http sofascore-scraper "https://mcp.apify.com/?tools=themineworks/sofascore-scraper"

The actor reads only public sports data that anyone can see without logging in. Results and statistics are facts, but logos, photos and odds can carry third-party rights. You are responsible for how you use the data, including Sofascore's terms and data protection law such as GDPR and CCPA. This is general information, not legal advice.

Integrations

  • Google Sheets: send each run's matches to a sheet with Apify's Google Sheets integration; one row per match fits a sheet as is.
  • Make, Zapier and n8n: start a run and read its dataset with the Apify apps and nodes, for example "yesterday's Premier League results to Slack every morning".
  • Webhooks: have Apify call your URL when a run succeeds, then fetch the dataset.
  • API and SDKs: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).
  • MCP clients: Claude, ChatGPT, Cursor and VS Code can run it as a tool through the connector URL in the FAQ.

If this actor saved you time, a short rating on the Store helps other buyers find it.

More from The Mine Works

More tools

Social media and video

Leads and business directories

Marketing, SEO and reviews

LinkedIn

Real estate

Science, health and government data

Jobs and hiring

Company and business data

E-commerce and marketplaces

Food and local services

Developer and AI tools

Support

Found a competition that returns fewer matches than the site, or a field that comes back empty? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or a new source, email dmineworks@gmail.com.

Export Sofascore matches by date, live or tournament, with statistics, lineups, odds, head-to-head, team and player profiles and standings for 24 sports, with no login.