Sofascore API for scores, xG and match statistics
Fixtures, live and final scores, expected goals, shots, lineups, odds, standings and player statistics as JSON, for football, tennis, basketball, cricket and more. Send a team, match or date. 1 credit per call.
Team
Endpoint
curl "https://api.toolzerhub.com/v1/sofascore/search/teams?query=Barcelona" \
-H "x-api-key: $TOOLZERHUB_API_KEY"{
"data": {
"results": [
{
"entity": {
"id": 2817,
"name": "FC Barcelona",
"nameCode": "BAR",
"slug": "barcelona",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 7554405,
"teamColors": {
"primary": "#154284",
"secondary": "#9d1009",
"text": "#9d1009"
},
"type": 0,
"gender": "M",
"country": {
"alpha2": "ES",
"name": "Spain",
"slug": "spain"
}
},
"score": 382430.78,
"type": "team"
},
{
"entity": {
"id": 77889,
"name": "Fútbol Club Barcelona",
"nameCode": "FCB",
"slug": "barcelona",
"national": false,
"sport": {
"id": 1,
"slug": "football",
"name": "Football"
},
"userCount": 317922,
"teamColors": {
"primary": "#154284",
"secondary": "#9d1009",
"text": "#9d1009"
},
"type": 0,
"gender": "F",
"country": {
"alpha2": "ES",
"name": "Spain",
"slug": "spain"
}
},
"score": 78453.74,
"type": "team"
}
]
}
}- 1
- 100%
- 0.5 s
- 287
Endpoints
What you can get
One request each, 1 credit per call. Open one to see its parameters and a real response.
- Events on a day
/v1/sofascore/events/day1 creditEvents on a day reference (opens in new tab) - Search teams
/v1/sofascore/search/teams1 creditSearch teams reference (opens in new tab) - Team results and fixtures
/v1/sofascore/team/events1 creditTeam results and fixtures reference (opens in new tab) - Match statistics
/v1/sofascore/event/statistics1 creditMatch statistics reference (opens in new tab) - Match lineups
/v1/sofascore/event/lineups1 creditMatch lineups reference (opens in new tab) - Match timeline
/v1/sofascore/event/incidents1 creditMatch timeline reference (opens in new tab) - Betting odds
/v1/sofascore/event/odds1 creditBetting odds reference (opens in new tab) - Standings
/v1/sofascore/tournament/standings1 creditStandings reference (opens in new tab) - Player career statistics
/v1/sofascore/player/statistics1 creditPlayer career statistics reference (opens in new tab) - Rankings
/v1/sofascore/rankings1 creditRankings reference (opens in new tab)
Response
What comes back
Field names and types read off the real responses in the demo above.
- Search teams
/v1/sofascore/search/teams3 fields- entityobject{ id, name }
- scorenumber382,430.78
- typestring"team"
- Team results
/v1/sofascore/team/events12 fields- idnumber16,421,091
- slugstring"deportivo-alaves-fc-bar…"
- start_timestring"2026-10-31T20:00:00Z"
- statusobject{ code, type }
- homeobject{ id, name }
- awayobject{ id, name }
- home_scoreobject{ current, periods }
- away_scoreobject{ current, periods }
- winnerstring"home"
- Match statistics
/v1/sofascore/event/statistics2 fields- periodstring"ALL"
- groupsarray[1 items]
Use cases
What people build with it
- 01Pull a matchday's results and statsEvents on a dayMatch statistics
- 02Track a team's formSearch teamsTeam resultsStandings
- 03Build an xG or player modelMatch statisticsMatch lineupsMatch timelinePlayer career statistics
- 04Compare odds with resultsBetting oddsMatch timeline
How it works
From key to JSON
- 01x-api-key••••••••••Get a key
- 02GET/v1/sofascore/search/teamsSend a request
- 03{ data, status }200Get JSON
Pricing
What it costs
Every endpoint on this page costs 1 credit per call. Failed calls cost nothing.
- Free$0
- 10K pack$19
- Starter$29
Per 1,000 credits
Compare
Why not build it yourself
Three ways to get Sofascore data into your app.
| Compare | Toolzer Hub | Sofascore widgets | Your own scraper |
|---|---|---|---|
| Setup | One API key | Copy an iframe; no data access | Proxies, sessions, retries |
| When Sofascore changes | We fix it | Sofascore keeps it working | You fix the parser |
| Cost to start | 100 free credits a month | Free, display only | Proxies and your time |
FAQ
Questions
- Is this the official Sofascore API?
- What does the official Sofascore API allow?
- What data does it return?
- What does it cost?
Guides
Sofascore guides
Tested walkthroughs with real requests and output.
Try the Sofascore API free
Every new workspace gets 100 credits a month. Buy credits only when you need more.
More APIs on the same key
- Meta Ad Library
- Threads
- TikTok
- X (Twitter)
- Yandex
- TikTok Ads
- 2GIS
- Ozon
- Airbnb
- Skyscanner
- Telegram
- Capterra
- Shopify
- YouTube
- Google Maps
- Zillow
- Seek
- Indeed
- Naukri
- StepStone
- Internshala
- Upwork
- Hiring.cafe
- Bayt
- Naver Shopping
- Wellfound
- RedNote
- Google Finance
- Google Flights
- Google Play
- Douyin
- Taobao
- Google Hotels
- Amazon
- Cricbuzz
- Redfin
- Tripadvisor
- Semrush
- Yelp