# Sofascore Scraper: Matches, Lineups, Stats, Odds (`themineworks/sofascore-scraper`) Actor

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.

- **URL**: https://apify.com/themineworks/sofascore-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Sports, News, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 matches

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Sofascore Scraper: Matches, Lineups, Stats, Odds

[![30 Sofascore matches by date with scores, tournament and status in seconds](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/sofascore-scraper-hero.png)](https://console.apify.com/actors/AljC5rSsoOgyCQcJa/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

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](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) and [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), 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](https://api.apify.com/v2/key-value-stores/cUXz95yxflDho41nn/records/button-run.png)](https://console.apify.com/actors/AljC5rSsoOgyCQcJa/input?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Part of The Mine Works More tools family:** [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [MLB Stats API Scraper](https://apify.com/themineworks/mlb-stats-api-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral), [Flashscore Tennis Scraper](https://apify.com/themineworks/flashscore-tennis-results-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral).

Guide and FAQs: [Sofascore Scraper on themineworks.com](https://themineworks.com/actors/sofascore-scraper/).

### 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:

```json
{
  "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

```text
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

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

#### Results with statistics, odds and lineups for one competition

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

#### Live tennis

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

#### A season of one tournament

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

#### Team profile with squad and recent matches

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

#### One or two matches, everything on

```json
{
  "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

| Parameter | Type | Default | What it does |
|---|---|---|---|
| `mode` | select | `fixtures` | `fixtures`, `live`, `tournament`, `standings`, `teams`, `players` or `matches`. |
| `sport` | select | `football` | One of 24 sports. Used by `fixtures` and `live`. |
| `dates` | array of strings | `["today"]` | YYYY-MM-DD, `today`, `tomorrow`, `yesterday`, or an offset such as `+2`. UTC days, up to 31 dates. |
| `onlyTournamentIds` | array | empty | Keep only these Sofascore tournament ids. |
| `matchStatus` | select | `any` | `any`, `notstarted`, `inprogress` or `finished`. |
| `targets` | array of strings | empty | Ids, Sofascore links or names for the tournament, standings, teams, players and matches modes. |
| `searchResults` | integer | `1` | Search hits to follow per name in `targets`, 1 to 10. |
| `season` | string | latest | Season label such as `25/26`, or a season id. Tournament and standings modes. |
| `tournamentMatches` | select | `both` | `last`, `next` or `both`. |
| `teamMatches` | select | `none` | `none`, `last`, `next` or `both` after each team profile. |
| `playerMatches` | select | `none` | `none` or `last` after each player profile. |
| `includeSquad` | boolean | `false` | Squad on each team row. |
| `includeEventDetails` | boolean | `false` | Venue, referee and attendance on match rows. |
| `includeStatistics` | boolean | `false` | Match statistics and flat headline columns. |
| `includeLineups` | boolean | `false` | Lineups with player ratings and statistics. Makes rows large. |
| `includeIncidents` | boolean | `false` | Goals, cards, substitutions, VAR. |
| `includeOdds` | boolean | `false` | Odds by market with the opening price. |
| `includeVotes` | boolean | `false` | Fan prediction poll. |
| `includeHeadToHead` | boolean | `false` | Head-to-head record and previous meetings. |
| `maxItems` | integer | `50` | Most rows in the whole run (matches, profiles and standings together), 1 to 10,000. |
| `proxyConfiguration` | object | Apify Proxy | No 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**

| Field | What it is |
|---|---|
| `match_id`, `custom_id`, `url` | Sofascore match id (the key to store), short code and link |
| `sport`, `category`, `tournament`, `tournament_id`, `stage`, `season`, `season_id`, `round`, `round_name` | Where the match sits. `category` is the country or tour (England, ATP) |
| `status`, `status_detail`, `status_code` | `notstarted`, `inprogress`, `finished` and so on, and the text shown (Ended, 2nd set) |
| `start_time`, `start_timestamp` | Kick-off, ISO 8601 UTC and Unix seconds |
| `home_team`, `home_team_id`, `home_team_country`, `home_team_ranking` | Home side, or first player in tennis, with ranking for individual sports |
| `away_team`, `away_team_id`, `away_team_country`, `away_team_ranking` | Away side |
| `home_score`, `away_score`, `home_score_detail`, `away_score_detail`, `winner` | Score, period scores (`period1`, `period2`, `overtime`, `penalties`) and `home`, `away` or `draw` |
| `ground_type`, `has_xg`, `last_change` | Tennis surface, xG availability, last change time |
| `venue`, `venue_city`, `venue_capacity`, `referee`, `attendance` | With `includeEventDetails` or the matches mode |
| `statistics` | List 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 faults | Headline statistics in columns (`includeStatistics`; the ones the sport has) |
| `lineups` | `confirmed`, and per side `formation`, `players` (id, name, position, shirt number, substitute, captain, rating, minutes, goals, assists, full statistics) and `missing_players` |
| `incidents` | Ordered list: type, class, time, added time, player, assist, substitution in and out, score at the time |
| `odds`, `odds_home`, `odds_draw`, `odds_away`, `odds_market` | Markets with fractional, decimal, opening and winning flag, and three flat columns |
| `fan_votes` | `home`, `draw`, `away`, `both_teams_to_score_yes`, `both_teams_to_score_no` |
| `head_to_head` | `team_duel`, `manager_duel`, `previous_meetings` (up to 20) |
| `details_scraped`, `details_error`, `source`, `scraped_at` | Whether 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):

```json
{
  "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):

```json
{
  "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:

```json
{ "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

| Actor | Free plan, per 1,000 | Start fee | Login or cookies needed | Sports | Lineups with player ratings | Odds |
|---|---|---|---|---|---|---|
| [Sofascore Scraper](https://apify.com/themineworks/sofascore-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) (this actor) | $1.62 per 1,000 rows | $0.003 per run | No | 24 | Yes, no extra charge | Yes, no extra charge |
| [SofaScore scraper PRO](https://apify.com/azzouzana/sofascore-scraper-pro?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | No actor fee, you pay Apify platform usage | None | not stated | Several, by Sofascore link | not stated | not stated |
| [SofaScore Scraper](https://apify.com/abotapi/sofascore-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $1.80 per 1,000 records, plus $0.80 per 1,000 detail pages | $0.05 per GB of memory | not stated | Football, basketball, tennis and 20+ others | Yes | Yes |
| [Sofascore Live Events Scraper](https://apify.com/parseforge/sofascore-live-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral) | $33.50 per 1,000 results | None | No | 14 | $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.

| Event | When it is charged | Free plan | Bronze (Starter) | Silver (Scale) | Gold (Business) |
|---|---|---|---|---|---|
| `match-scraped` | Once 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-scraped` | Once 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-start` | Once 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"`

#### Is it legal to scrape Sofascore?

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**

- [G2 Reviews Scraper](https://apify.com/themineworks/g2-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naver Blog Scraper](https://apify.com/themineworks/naver-blog-posts-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [WeChat Article Scraper 微信公众号文章](https://apify.com/themineworks/wechat-article-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Taobao Products Scraper 淘宝 天猫](https://apify.com/themineworks/taobao-products-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [MLB Stats API Scraper](https://apify.com/themineworks/mlb-stats-api-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Flashscore Tennis Scraper](https://apify.com/themineworks/flashscore-tennis-results-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Kwai Video Scraper](https://apify.com/themineworks/kwai-video-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Capterra Reviews Scraper](https://apify.com/themineworks/capterra-software-reviews-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LandWatch Scraper](https://apify.com/themineworks/landwatch-land-for-sale-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Lens OCR Scraper](https://apify.com/themineworks/google-lens-ocr-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Hotels Prices Scraper](https://apify.com/themineworks/google-hotels-prices-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Tennis Match & Player Data Scraper](https://apify.com/themineworks/tennis-match-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Social media and video**

- [Threads Scraper](https://apify.com/themineworks/threads-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Reddit Scraper](https://apify.com/themineworks/reddit-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Threads Search Scraper](https://apify.com/themineworks/threads-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Instagram Profile Scraper](https://apify.com/themineworks/instagram-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Leads and business directories**

- [B2B Leads Finder](https://apify.com/themineworks/b2b-leads-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Skip Trace Lookup](https://apify.com/themineworks/skip-trace-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Maps Email Scraper](https://apify.com/themineworks/maps-leads?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [2GIS Places Scraper](https://apify.com/themineworks/2gis-places-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Marketing, SEO and reviews**

- [Facebook Ad Library Scraper](https://apify.com/themineworks/meta-ad-library-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google Ads Transparency Scraper](https://apify.com/themineworks/google-ads-transparency?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Similarweb Scraper](https://apify.com/themineworks/similarweb-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Google News Scraper](https://apify.com/themineworks/google-news?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**LinkedIn**

- [LinkedIn Company Scraper](https://apify.com/themineworks/linkedin-company-details?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Post Scraper](https://apify.com/themineworks/linkedin-post-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Employees Scraper](https://apify.com/themineworks/linkedin-employees?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [LinkedIn Profile Scraper](https://apify.com/themineworks/linkedin-profile-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Real estate**

- [Zillow Rentals Scraper](https://apify.com/themineworks/zillow-rental-listings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zillow Sold Comps Scraper](https://apify.com/themineworks/zillow-recently-sold?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Real Estate MCP](https://apify.com/themineworks/india-real-estate-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Housing.com Scraper](https://apify.com/themineworks/housing-com-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Science, health and government data**

- [Academic Research MCP](https://apify.com/themineworks/academic-research-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [CourtListener Scraper](https://apify.com/themineworks/courtlistener-court-records?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Socrata Open Data Scraper](https://apify.com/themineworks/socrata-open-data?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [OpenAlex Scraper](https://apify.com/themineworks/openalex-scholarly-works?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Jobs and hiring**

- [Foundit Monster India Jobs](https://apify.com/themineworks/foundit-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Hirist Jobs Scraper](https://apify.com/themineworks/hirist-jobs-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [India Jobs MCP](https://apify.com/themineworks/india-jobs-mcp?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Naukri Jobs Scraper](https://apify.com/themineworks/naukri-jobs?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Company and business data**

- [Company Domain Finder](https://apify.com/themineworks/company-domain-finder?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GST Taxpayer Lookup](https://apify.com/themineworks/gst-taxpayer-lookup?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Company KYB Resolver](https://apify.com/themineworks/company-identity-resolver?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [SEC EDGAR Filings Scraper](https://apify.com/themineworks/sec-edgar-filings?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**E-commerce and marketplaces**

- [Ozon.ru Scraper](https://apify.com/themineworks/ozon-product-search?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [⭐ Amazon Reviews Scraper](https://apify.com/themineworks/amazon-reviews?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Amazon Product Scraper](https://apify.com/themineworks/amazon-products?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Etsy Listings Scraper](https://apify.com/themineworks/etsy-search-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Food and local services**

- [NoBroker Scraper](https://apify.com/themineworks/nobroker-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Swiggy Restaurant Scraper](https://apify.com/themineworks/swiggy-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [Zomato Scraper](https://apify.com/themineworks/zomato-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

**Developer and AI tools**

- [Website to Markdown Crawler](https://apify.com/themineworks/rag-crawler?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Skill Finder](https://apify.com/themineworks/github-skill-discovery?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Repo Scraper](https://apify.com/themineworks/github-repo-intelligence?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)
- [GitHub Trending Scraper](https://apify.com/themineworks/github-trending-scraper?fpr=ymnoit\&utm_source=apify-readme\&utm_medium=referral)

### 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.*

# Actor input Schema

## `mode` (type: `string`):

fixtures: every match of the dates below for one sport, most followed competitions first. live: matches in play now. tournament: matches of a tournament season. standings: league tables. teams: team profiles. players: player profiles. matches: exact matches by id or link.

## `sport` (type: `string`):

Used by Matches by date and Live matches now. Tennis players, darts players and fighters are teams on Sofascore, so tennis rows put the two players in home_team and away_team.

## `dates` (type: `array`):

One date per line: YYYY-MM-DD, today, tomorrow, yesterday, or an offset such as +2 or -1. Days are UTC days. Up to 31 dates.

## `onlyTournamentIds` (type: `array`):

Sofascore unique tournament ids, one per line, to keep only those competitions in Matches by date, Live and the paged lists. Example: 17 is the Premier League, 7 the Champions League. The id is in tournament_id of every row.

## `matchStatus` (type: `string`):

Keep only matches that have not started, are in play, or have finished.

## `targets` (type: `array`):

One per line: a Sofascore link, a numeric id, or a name. Example: https://www.sofascore.com/football/team/arsenal/42, 839956, Premier League, Novak Djokovic. A name is resolved with Sofascore search (see searchResults). Match mode takes match ids or links that end with #id:<number> or /event/<number>.

## `searchResults` (type: `integer`):

How many search hits to follow for each name in targets, 1 to 10.

## `season` (type: `string`):

Leave empty for the latest season. Or give a label such as 25/26 or 2025, or a season id.

## `tournamentMatches` (type: `string`):

Which matches of the season to return in Tournament matches mode: results, upcoming fixtures, or both.

## `teamMatches` (type: `string`):

Add the team's latest results, its next fixtures or both after the profile row. Works for tennis players and other individual athletes too.

## `playerMatches` (type: `string`):

Add the player's latest matches after the profile row.

## `includeSquad` (type: `boolean`):

Add the full squad with positions, shirt numbers, birth dates, market values and contract ends to each team row.

## `includeEventDetails` (type: `boolean`):

One extra call per match for stadium, referee and attendance. Match mode with ids already includes it.

## `includeStatistics` (type: `boolean`):

Possession, shots, xG, passes, cards, aces and more per period, plus flat columns for the headline numbers.

## `includeLineups` (type: `boolean`):

Starting XI, substitutes, formation, missing players, and for each player the rating, minutes, goals, assists and full match statistics. Makes rows large.

## `includeIncidents` (type: `boolean`):

Goals, cards, substitutions, VAR decisions and period markers in order.

## `includeOdds` (type: `boolean`):

The odds Sofascore shows for the match, by market, in fractional and decimal, with the opening price and the winning choice, plus odds_home, odds_draw and odds_away columns.

## `includeVotes` (type: `boolean`):

Sofascore fan prediction poll: home, draw, away and both teams to score.

## `includeHeadToHead` (type: `boolean`):

Wins and draws between the two teams, the managers' record and up to 20 previous meetings.

## `maxItems` (type: `integer`):

The most rows to return in the whole run (matches, profiles and standings rows together), 1 to 10,000. Matches by date come most followed competitions first, so a small number gives the biggest leagues. Example: 200.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy by default. Sofascore refuses some datacenter IPs; the actor keeps the IPs that work and tries another when one is refused. No change needed.

## Actor input object example

```json
{
  "mode": "fixtures",
  "sport": "football",
  "dates": [
    "today"
  ],
  "matchStatus": "any",
  "searchResults": 1,
  "tournamentMatches": "both",
  "teamMatches": "none",
  "playerMatches": "none",
  "includeSquad": false,
  "includeEventDetails": false,
  "includeStatistics": false,
  "includeLineups": false,
  "includeIncidents": false,
  "includeOdds": false,
  "includeVotes": false,
  "includeHeadToHead": false,
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "dates": [
        "today"
    ],
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/sofascore-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "dates": ["today"],
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/sofascore-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "dates": [
    "today"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call themineworks/sofascore-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,themineworks/sofascore-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/AljC5rSsoOgyCQcJa/builds/LdKxTeMgw6ddUQCO5/openapi.json
