SofaScore+API.SH

SofaScore API

Live scores, match stats, lineups with player ratings, standings and odds from SofaScore as clean JSON.

The API.SH SofaScore API returns the data SofaScore shows for every sport as structured JSON. Get live and scheduled events, then open any event for team statistics, the incident timeline, lineups with player ratings, the shot map with xG, attack momentum, head-to-head and betting odds. Tournament endpoints return seasons, standings, rounds, fixtures and player stat leaderboards; team and player endpoints return squads, fixtures, season statistics and transfer histories.

  • 28 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
SofaScore team
GET https://api.api.sh/sofascore/v1/team
{"id": 42,"name": "Arsenal","short_name": "Arsenal","code": "ARS","slug": "arsenal","country": "England","url": "https://www.sofascore.com/football/team/arsenal/42","logo": "https://img.sofascore.com/api/v1/team/42/image","sport": "football","gender": "M","national": false,"full_name": "Arsenal","manager": {"id": 794075,"name": "Mikel Arteta"},"venue": {"id": 624,"name": "Emirates Stadium","city": "London","capacity": 60704},"founded": null,"primary_tournament": {"id": 17,"name": "Premier League"},"tournaments": [{"id": 7,"name": "UEFA Champions League","slug": "uefa-champions-league"},{"id": 17,"name": "Premier League","slug": "premier-league"},"… 3 more"],"previous_event": {"id": 16363907,"custom_id": "HQfh","slug": "liverpool-fc-arsenal","url": "https://www.sofascore.com/football/match/liverpool-fc-arsenal/HQfh#id:16363907","sport": "football","start_time": "2026-11-01T16:30:00.000Z","status": "finished","status_description": "Ended","status_code": 100,"home_team": {"id": 44,"name": "Liverpool FC","short_name": "Liverpool","code": "LIV","slug": "liverpool","country": null,"url": "https://www.sofascore.com/football/team/liverpool/44","logo": "https://img.sofascore.com/api/v1/team/44/image"},"away_team": {"id": 42,"name": "Arsenal","short_name": "Arsenal","code": "ARS","slug": "arsenal","country": null,"url": "https://www.sofascore.com/football/team/arsenal/42","logo": "https://img.sofascore.com/api/v1/team/42/image"},"home_score": 0,"away_score": 1,"winner": "away","tournament": {"id": 17,"name": "Premier League","slug": "premier-league"},"category": {"id": 1,"name": "England","country_code": "EN"},"season": {"id": 96668,"name": "Premier League 26/27","year": "26/27"},"round": 9},"next_event": {"id": 16939009,"custom_id": "RsqU","slug": "sk-slavia-praha-arsenal","url": "https://www.sofascore.com/football/match/sk-slavia-praha-arsenal/RsqU#id:16939009","sport": "football","start_time": "2026-11-04T20:00:00.000Z","status": "notstarted","status_description": "Not started","status_code": 0,"home_team": {"id": 2216,"name": "SK Slavia Praha","short_name": "Slavia Praha","code": "SLA","slug": "slavia-praha","country": null,"url": "https://www.sofascore.com/football/team/slavia-praha/2216","logo": "https://img.sofascore.com/api/v1/team/2216/image"},"away_team": {"id": 42,"name": "Arsenal","short_name": "Arsenal","code": "ARS","slug": "arsenal","country": null,"url": "https://www.sofascore.com/football/team/arsenal/42","logo": "https://img.sofascore.com/api/v1/team/42/image"},"home_score": null,"away_score": null,"winner": null,"tournament": {"id": 7,"name": "UEFA Champions League","slug": "uefa-champions-league"},"category": {"id": 1465,"name": "Europe","country_code": null},"season": {"id": 96518,"name": "UEFA Champions League 26/27","year": "26/27"},"round": 4},"pregame_form": {"avgRating": "7.79","position": 1,"value": "24","form": ["L","W","… 3 more"]},"cached": false,"credits_used": 1}
1 credit · $1 per 1,000 calls

What you can build with the SofaScore API

Live score apps and bots

Poll live events for a sport and send score, status and incident updates to your app, Discord or Telegram channel.

Football analytics and models

Collect team statistics, shot maps with xG and xGOT, attack momentum and player ratings per match to build expected-goals and rating models. Best-player ratings and the minute-by-minute attack momentum add context.

Betting research

Compare pre-match form, team streaks, head-to-head records and odds across markets before a match.

League tables and fixtures

Keep standings, rounds and upcoming fixtures of any tournament up to date on a website or in a spreadsheet, and list a day's events by country or tournament.

Scouting and player datasets

Rank players by rating, goals or expected goals in a season, then pull each player's profile, season statistics, recent matches and transfer history.

Club pages, squads and transfers

Build a club page with squad, market values and contract ends, latest results and next fixtures, and transfers in and out, or search teams, players and managers by name across sports.

SofaScore data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

sportfootballdate2026-11-04count128total_events1228
categories[]id · name · slug · country_code · priority · total_events · unique_tournament_ids
SofaScore event detail/sofascore/v1/event
id16363907custom_idHQfhslugliverpool-fc-arsenalurlhttps://www.sofascore.com/footba…sportfootballstart_time2026-11-01T16:30:00.000Zstatusfinishedstatus_descriptionEndedstatus_code100home_score0away_score1winnerawayround9
home_team[]id · name · short_name · code · slug · country · url · logo
away_team[]id · name · short_name · code · slug · country · url · logo
tournament[]id · name · slug
category[]id · name · country_code
SofaScore best players of an event/sofascore/v1/event/best-players
event_id16363907
best_home_players[]value · label · player · team
best_away_players[]value · label · player · team
player_of_the_match[]value · label · player · team

SofaScore API endpoints and prices

Every SofaScore endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery1
SofaScore search
/sofascore/v1/search
params q +3 optionaldocstry
$1 · $2 PAYG
1 credit
Posts and media2
SofaScore live events
/sofascore/v1/live
params none required +1 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore player transfer history
/sofascore/v1/player/transfers
params player_iddocstry
$1 · $2 PAYG
1 credit
Products, listings and places10
SofaScore event detail
/sofascore/v1/event
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore best players of an event
/sofascore/v1/event/best-players
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore pre-match form and streaks
/sofascore/v1/event/form
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore head-to-head
/sofascore/v1/event/h2h
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore event incidents
/sofascore/v1/event/incidents
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore event line-ups
/sofascore/v1/event/lineups
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore attack momentum
/sofascore/v1/event/momentum
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore event odds
/sofascore/v1/event/odds
params event_id +2 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore event shot map
/sofascore/v1/event/shotmap
params event_iddocstry
$1 · $2 PAYG
1 credit
SofaScore event statistics
/sofascore/v1/event/statistics
params event_iddocstry
$1 · $2 PAYG
1 credit
More data15
SofaScore categories (countries) by date
/sofascore/v1/categories
params none required +3 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore matches by date
/sofascore/v1/matches
params none required +6 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore player
/sofascore/v1/player
params player_iddocstry
$1 · $2 PAYG
1 credit
SofaScore player matches
/sofascore/v1/player/matches
params player_id +1 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore player season statistics
/sofascore/v1/player/statistics
params player_id +2 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore tournaments playing on a date
/sofascore/v1/scheduled-tournaments
params none required +3 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore team
/sofascore/v1/team
params team_iddocstry
$1 · $2 PAYG
1 credit
SofaScore team matches
/sofascore/v1/team/matches
params team_id +2 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore team squad
/sofascore/v1/team/players
params team_iddocstry
$1 · $2 PAYG
1 credit
SofaScore team transfers
/sofascore/v1/team/transfers
params team_iddocstry
$1 · $2 PAYG
1 credit
SofaScore tournament
/sofascore/v1/tournament
params tournament_iddocstry
$1 · $2 PAYG
1 credit
SofaScore tournament matches
/sofascore/v1/tournament/matches
params tournament_id +5 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore player statistics leaderboard
/sofascore/v1/tournament/player-stats
params tournament_id +8 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore tournament rounds
/sofascore/v1/tournament/rounds
params tournament_id +1 optionaldocstry
$1 · $2 PAYG
1 credit
SofaScore standings
/sofascore/v1/tournament/standings
params tournament_id +2 optionaldocstry
$1 · $2 PAYG
1 credit

Call the SofaScore API

SofaScore team: GET https://api.api.sh/sofascore/v1/team

curl "https://api.api.sh/sofascore/v1/team?team_id=42" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 921 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for SofaScore data

  • Public data only: no SofaScore login, cookies or account needed
  • One key and one response shape for SofaScore and 920 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • No rate limits: run as many calls in parallel as you need
  • Live status for every endpoint

API.SH vs the official SofaScore API

SofaScore does not offer an official public API for developers; it sells data and widgets to businesses through its corporate site. API.SH returns the public data SofaScore pages show, with one key and documented JSON, so you do not have to maintain calls to its internal endpoints yourself.

Instead of maintaining a Python scraper or a community wrapper that breaks when the site changes, or comparing RapidAPI and Apify listings, use one API.SH key with a fixed price per call across every sport.

SofaScore API questions

What SofaScore data can I get?+

Live events (/sofascore/v1/live), events by date (/sofascore/v1/matches, /sofascore/v1/categories, /sofascore/v1/scheduled-tournaments), event detail, statistics, incidents, lineups, head-to-head, odds, shot map, momentum, best players and form (/sofascore/v1/event and its sub-routes), tournaments with standings, rounds, matches and player stats (/sofascore/v1/tournament/*), teams with squads, matches and transfers (/sofascore/v1/team/*), players with statistics, matches and transfers (/sofascore/v1/player/*) and search (/sofascore/v1/search).

How much does the SofaScore API cost?+

Every SofaScore endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /sofascore/v1/categories at 1 credit each.

Does SofaScore have an official API?+

No public one. SofaScore offers widgets and business data deals, but no open developer API. API.SH reads the public data the SofaScore website shows and returns it as documented JSON.

Do I need a SofaScore account or login?+

No. API.SH reads public SofaScore data only. No endpoint uses a login, cookies or anyone's account.

Which sports are covered?+

Football, basketball, tennis, ice hockey, American football, baseball, handball, volleyball, cricket, rugby, MMA, motorsport, esports, table tennis, darts, snooker and more. Pass the sport to the live, categories and scheduled routes.

Can I use the SofaScore API from Python?+

Yes. Every endpoint is a plain HTTPS GET with your key in the x-api-key header, so requests or httpx work, and there is an API.SH Python SDK. Responses are JSON with named fields plus the site's original record under raw.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /sofascore/v1/live?sport=football, or /sofascore/v1/event with an event id or match link. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Does the SofaScore API have a rate limit?+

No. API.SH puts no rate limit on your key: send as many SofaScore calls in parallel as you need and pay only for the calls that run. If SofaScore itself slows down, the call returns 503 with a retry-after header and is not charged.

More sports APIs all sports APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 921 platforms.
Get a free API key