Sports
FotMob Scraper
fotmob.com
FotMob is a favourite for football statistics, with expected goals, player ratings and shot maps for leagues around the world. ScrapeUnblocker serves it through two plugin endpoints that return clean JSON, so a FotMob scraper is one API call instead of a parser to maintain. fotmob-league takes a league id or link and an optional season and returns the competition's table (conferences and cup groups each get their own, with home and away splits, expected goals, form and qualification zone), every fixture and result of the season, top players and teams per statistic, the knockout bracket and the seasons available. fotmob-match takes a match id or link and returns the score, venue, referee and attendance, the events with the running score, cards and substitutions, both lineups with formation, coach, player ratings and unavailable players, statistics for the match and each half, every shot with expected goals and pitch position, per-player statistics and the head-to-head record. No account or cookies are involved.
What you can extract
- League tables with goals, points, form, expected goals and qualification zone, plus home and away splits
- Every fixture and result of a season, with round, kick-off time, status and score
- Top players and teams per statistic, and the knockout bracket for cups
- Past seasons by name, such as 2024/2025
- Match events: goals with the running score, cards, substitutions and added time
- Lineups with formation, coach, player ratings and unavailable players
- Match statistics for the whole match and each half, shots with expected goals and pitch position, per-player statistics
Dedicated endpoints
/sports/fotmob-league A league's table, fixtures and top players
A competition by league (a FotMob id such as 47 or a fotmob.com/leagues link) and optional season (such as 2024/2025 or 2026). Returns id, name, country, season, availableSeasons, table (one block per table, conference or cup group, each with rows and home and away splits), fixtures and totalFixtures, topPlayers and topTeams per statistic, and playoff for knockout brackets. A league without a table or fixtures yet returns empty lists and a message. proxy_country is optional. A league FotMob does not have is a 404.
/sports/fotmob-match One match in full
One match by match (a FotMob match id, as in fixtures[].url, or a fotmob.com match link). Returns competition, startTime, status, home and away with score, venue, referee, attendance, events, lineups, statistics for the match and each half, shots, playerStats, playerOfTheMatch and headToHead. Sections FotMob does not hold for a match, such as statistics before kick-off, are left out. proxy_country is optional. A match FotMob does not have is a 404.
How to scrape it
curl -X POST \
-H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
"https://api.scrapeunblocker.com/sports/fotmob-league?league=47"import requests
resp = requests.post(
"https://api.scrapeunblocker.com/sports/fotmob-league",
headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
params={"league": "47"},
)
print(resp.text)import { ScrapeUnblockerClient } from 'scrapeunblocker';
const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });
const league = await su.fotmobLeague('47', { season: '2025/2026' });
const match = await su.fotmobMatch('5795467');
console.log(league);
console.log(match); Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.
Example response
{
"id": 47,
"name": "Premier League",
"season": "2026/2027",
"country": "ENG",
"table": [
{
"name": "Premier League",
"rows": [
{
"position": 1,
"team": {
"id": 9825,
"name": "Arsenal",
"shortName": "Arsenal",
"url": "https://www.fotmob.com/teams/9825/overview/arsenal"
},
"played": 10,
"wins": 9,
"draws": 0,
"losses": 1,
"goalsFor": 15,
"goalsAgainst": 5,
"goalDifference": 10,
"points": 27,
"qualification": "Champions League",
"xG": 16.15820002555847,
"xGConceded": 7.599400028586388,
"xPoints": 20.220558983503064,
"form": [
"W",
"W",
"W",
"W",
"W"
]
}
]
}
],
"fixtures": [
{
"id": 5795363,
"round": 1,
"url": "https://www.fotmob.com/match/5795363",
"startTime": "2026-08-21T19:00:00Z",
"status": {
"started": true,
"finished": true,
"cancelled": false,
"awarded": false,
"live": false,
"reason": "Full-Time",
"short": "FT"
},
"home": {
"id": 9825,
"name": "Arsenal",
"shortName": "Arsenal",
"score": 3
},
"away": {
"id": 8669,
"name": "Coventry City",
"shortName": "Coventry",
"score": 0
}
}
],
"totalFixtures": 380,
"topPlayers": [
{
"stat": "goals",
"title": "Top scorer",
"category": "Top Stat",
"top": [
{
"rank": 1,
"id": 737066,
"name": "Erling Haaland",
"teamId": 8456,
"teamName": "Manchester City",
"country": "NOR",
"value": 9
},
{
"rank": 2,
"id": 690107,
"name": "Alexander Isak",
"teamId": 8650,
"teamName": "Liverpool",
"country": "SWE",
"value": 7
},
{
"rank": 3,
"id": 1197347,
"name": "Nicolas Jackson",
"teamId": 10252,
"teamName": "Aston Villa",
"country": "SEN",
"value": 6
}
]
}
]
} Frequently asked questions
Is it legal to scrape FotMob?
Collecting publicly available football data 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 FotMob without getting blocked?
The plugins read each page through ScrapeUnblocker's fetch chain, over rotating ISP exits, and retry a refused read on a fresh exit. In ScrapeUnblocker's benchmark it returned data on 100% of 1,090 calls (1,000 matches and 90 league pages, all different targets), averaging 4.6 seconds per call.
Which competitions does it cover?
Any league or cup FotMob has a page for, from the top European leagues to smaller domestic ones, women's competitions and tournaments such as the World Cup. Pass the id from the league's fotmob.com address, such as 47 for the Premier League or 42 for the Champions League.
Can I get expected goals and shot data?
Yes, where FotMob has them. League tables carry xG, xG conceded and expected points, and fotmob-match returns every shot with its expected goals, expected goals on target, position on the pitch, shot type and situation. Smaller competitions can have less.
Can I get a past season?
Yes, pass season as FotMob writes it, such as 2024/2025 or 2026 for a calendar-year league. availableSeasons lists what the league has.
How much does it cost to scrape FotMob?
Each call is one request, whatever it returns: a whole league with its table and season of fixtures, or one match in full. 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
FotMob and other names and marks of fotmob.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 fotmob.com.
Start scraping this site today
Free tier included. No credit card required to test it.