All scrapers

Sports

SofaScore Scraper

sofascore.com

100% Success rate
2.6s Avg response
Cloudflare + API challenge Protection
1,057 calls Measured over

SofaScore covers football, basketball, tennis, ice hockey, American football, baseball, cricket, handball, volleyball, rugby, esports, darts, snooker, MMA and a dozen more, and its web app reads everything from its own JSON API, which refuses ordinary HTTP clients with a challenge. ScrapeUnblocker serves it through six plugin endpoints that read that API and return clean, compact JSON. sofascore-events lists a sport's matches on a day in the time zone you give (the site's own day lists span about a day either side, so the plugin keeps exactly your day), or the matches in progress right now, biggest competitions first, optionally for one country or competition and one status: each match has its id and link, the competition, season and round, the status with its description such as 2nd half, the start time, both teams, the score with every period, the winner, red cards, seeds and first server for tennis, the venue and the referee. sofascore-match takes a match id or link and adds the sections you ask for: statistics per period (possession, expected goals, shots, passes, duels and the rest), lineups with formation, every player's position, rating and match statistics and the missing players, the incident timeline (goals, cards, substitutions, VAR), head-to-head records with the last meetings, betting odds in decimal and fractional form, attack momentum, pre-match form, fan votes, managers, the player of the match and best rated players, the shot map with xG and xGOT, commentary and highlights. sofascore-team, sofascore-player and sofascore-tournament take an id, a link or simply a name, resolved with the site's own search: a team with its last and next matches, squad with market values, competitions and transfers; a player with every statistic for a season, the last matches with the player's rating, transfers, attribute scores and national-team record; a competition with its standings, rounds, last and next matches and the season's top players and teams. sofascore-search finds teams, players, competitions, matches, managers, referees and venues by name, within one sport if you like. No account or cookies are involved.

What you can extract

  • 26 sports: football, basketball, tennis, ice hockey, American football, baseball, cricket, handball, volleyball, rugby, esports, darts, snooker, MMA, table tennis and more
  • A sport's matches on any day in your time zone, or live now, filtered by country, competition and status (live, upcoming, finished)
  • Per match: id, link, competition, season, round, status, start time, teams, score by period, winner, red cards, venue and referee
  • Match statistics per period: possession, expected goals, shots, passes, duels, saves and every other figure SofaScore shows
  • Lineups with formation, each player's position, shirt number, rating and match statistics, and the missing players
  • Incident timeline, head-to-head with the last meetings, odds (decimal and fractional), momentum, form, votes, best players, shot map with xG
  • Teams: profile, manager, venue, last and next matches, squad with market values and contracts, competitions, transfers
  • Players: profile, market value, contract, season statistics for any competition, last matches with rating, transfers, attributes, national team
  • Competitions: title holder, standings, rounds, last and next matches, top 10 players and teams in every statistic, all seasons
  • Search across teams, players, competitions, matches, managers, referees and venues, optionally within one sport

Dedicated endpoints

/sports/sofascore-events

A sport's matches on a day, or live now

Matches of sport on date (YYYY-MM-DD, today, yesterday or tomorrow) in timezone (an IANA name or a UTC offset, default UTC), or live=true for those in progress, biggest competitions first. country (name, slug, ISO code or id; for tennis ATP or WTA) or tournament (id, link or name) narrows the list, status keeps all, live, upcoming or finished, max_results is 1-500 (default 100). Returns sport, date, timezone, live, status, resultsCollected, hasMore and events with id, customId, slug, url, sport, tournament (id, name, slug, url, category, stage), season, round, status (code, type, description), startTime, startTimestamp, homeTeam and awayTeam (id, name, shortName, nameCode, url, country), homeScore and awayScore (current, per period, normal time), winner, homeRedCards, awayRedCards, seeds, firstToServe, venue and referee. Motorsport and cycling are races, not matches, and have no day list.

/sports/sofascore-match

One match with stats, lineups and incidents

One match by match (an id such as 16363904 or a sofascore.com match link; a link without #id: means the pairing, and its live, next or latest match is used). include picks the sections: statistics, lineups, incidents, h2h, odds, momentum, pregame_form, votes, managers, best_players, shotmap, commentary, highlights, or all (default statistics, lineups, incidents). Returns event in the events shape plus each section; sections SofaScore does not have for the match, such as statistics before kick-off, are listed in unavailable. An unknown match is a 404.

/sports/sofascore-search

Search teams, players, competitions and matches

Results for query, best match first: type is all, teams, players, tournaments, matches, managers, referees or venues, sport keeps to one sport, page is 1-5 (20 per page) and max_results 1-100. Each result has type, id, name, slug, url, sport, country and followers; a player adds position, jerseyNumber and team, a tournament its category, a match the events fields.

/sports/sofascore-team

A team with matches, squad and transfers

A team by team (id, link or name; sport helps a name). Tennis players and other individual competitors are teams on SofaScore too. Returns team (name, shortName, nameCode, url, country, category, primaryTournament, manager, venue, foundationDate, followers) and the include sections: last_matches (most recent first), next_matches, squad (players with position, shirt number, birth date, height, foot, country, market value, contract), tournaments and transfers (in and out, with fee and date). Default last_matches and next_matches.

/sports/sofascore-player

A player with season statistics and matches

A player by player (id, link or name). Returns player (name, team, position, positionsDetailed, shirt number, dateOfBirth, height, preferredFoot, country, marketValue, contractUntil, followers) and the include sections: season_stats (every statistic for one competition and season, picked with tournament and season, by default the latest), seasons, last_matches (with the player's rating, minutes, goals and assists in each), transfers, attributes and national_team. Default season_stats and last_matches.

/sports/sofascore-tournament

A competition with standings and fixtures

A competition by tournament (id, link or name) and season (id or year such as 26/27, by default the current one). Returns tournament (name, category, tier, titleHolder, mostTitles, divisions, dates, followers), season and the include sections: standings (every table with position, team, played, won, drawn, lost, scored, conceded, difference, points and the promotion note), rounds, last_matches, next_matches, top_players and top_teams (top 10 in each statistic) and seasons. Default standings, last_matches and next_matches.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/sports/sofascore-events?sport=football&date=2026-11-01"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/sports/sofascore-events",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"sport": "football", "date": "2026-11-01"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const day = await su.sofascoreEvents({ sport: 'tennis', date: '2026-11-02', timezone: 'Europe/London' });
const match = await su.sofascoreMatch('16363904', { include: 'statistics,lineups,incidents,odds' });
const hits = await su.sofascoreSearch('haaland', { sport: 'football' });
console.log(day);
console.log(match);
console.log(hits);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Example response

{
  "sport": "football",
  "date": "2026-11-01",
  "timezone": "UTC",
  "live": false,
  "status": "all",
  "resultsCollected": 1,
  "hasMore": true,
  "events": [
    {
      "id": 16363907,
      "customId": "HQfh",
      "slug": "liverpool-fc-arsenal",
      "url": "https://www.sofascore.com/football/match/liverpool-fc-arsenal/HQfh#id:16363907",
      "sport": "football",
      "tournament": {
        "id": 17,
        "name": "Premier League",
        "url": "https://www.sofascore.com/football/tournament/england/premier-league/17",
        "category": { "id": 1, "name": "England", "countryCode": "EN" }
      },
      "season": { "id": 96668, "name": "Premier League 26/27", "year": "26/27" },
      "round": 9,
      "status": { "code": 100, "type": "finished", "description": "Ended" },
      "startTime": "2026-11-01T16:30:00Z",
      "startTimestamp": 1793550600,
      "homeTeam": { "id": 44, "name": "Liverpool FC", "shortName": "Liverpool", "nameCode": "LIV", "url": "https://www.sofascore.com/football/team/liverpool/44" },
      "awayTeam": { "id": 42, "name": "Arsenal", "shortName": "Arsenal", "nameCode": "ARS", "url": "https://www.sofascore.com/football/team/arsenal/42" },
      "homeScore": { "current": 0, "period1": 0, "period2": 0, "normaltime": 0 },
      "awayScore": { "current": 1, "period1": 1, "period2": 0, "normaltime": 1 },
      "winner": "away",
      "venue": { "name": "Anfield", "city": "Liverpool", "country": "England", "capacity": 61276 }
    }
  ]
}

Read the API docs

Frequently asked questions

Is it legal to scrape SofaScore?

Collecting publicly available SofaScore data such as fixtures, results and match statistics is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it, and sports data can carry rights of its own. ScrapeUnblocker returns the public data the site shows; what you collect and how you use it is your responsibility.

How do I scrape SofaScore without getting blocked?

SofaScore's pages sit behind Cloudflare, and the JSON API its web app reads answers ordinary HTTP clients with a 403 challenge instead of data. The plugins read that API through ScrapeUnblocker's fetch chain, over rotating ISP exits with the browser identity the site expects, and retry a refused read on a fresh exit. In ScrapeUnblocker's benchmark it returned data on 100% of 1,057 calls (242 day and live lists across 21 sports and 8 time zones, 260 matches, 170 teams, 130 players, 110 competitions and 145 searches, each a different input), about 2.6s per call.

Which sports are covered?

All 26 SofaScore sports: football, basketball, tennis, ice hockey, American football, baseball, handball, volleyball, cricket, rugby, futsal, table tennis, esports, darts, snooker, MMA, Aussie rules, water polo, floorball, bandy, badminton, beach volleyball, minifootball, padel, motorsport and cycling. Search, teams, players and competitions work for all of them; motorsport and cycling are races rather than matches, so they have no day list of matches.

How do I get live scores?

Call sofascore-events with live=true and a sport for every match in progress, with the current score by period and the status (for example 2nd half), or pass country or tournament to narrow it. For one match, sofascore-match returns the same score plus the incidents, statistics and momentum as they stand at that moment; call it again to follow the match.

Do I need SofaScore ids?

No. sofascore-team, sofascore-player and sofascore-tournament accept a name such as Real Madrid, Lionel Messi or Premier League and resolve it with SofaScore's own search (add sport to keep to one sport), and every endpoint also takes a sofascore.com link. Every answer carries the ids and links of the teams, players, competitions and matches it mentions, so one call leads to the next.

How much does it cost to scrape SofaScore?

Each call is one request, whatever it returns: a day list of up to 500 matches, or one match with every section. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed, and the free trial includes 500 requests with no card.

Related scrapers

SofaScore and other names and marks of sofascore.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of sofascore.com.

Start scraping this site today

Free tier included. No credit card required to test it.