FotMob API endpoint
Returns deep statistics, shot map, heatmap, and goalkeeper shot map for one player-specific season entry. Discover valid season_id values and hasDeepStats from /fotmob/player statSeasons; entry ids vary by player and season.
/fotmob/player-statsQuery parameters:
player_id (required): numeric FotMob player id discovered through /api/v1/fotmob/search.season_id (required): a player-specific entryId from /api/v1/fotmob/player → statSeasons; entries with hasDeepStats: false are rejected.Returns the upstream detailed statistics payload, including sectionOrder, shotmap, statsSection, topStatCard, heatmap, and keeperShotmap when available. The service validates the season entry against the player's current profile before requesting stats. The upstream's isFirstSeason value is derived from the first tournament entry in the player's profile.
| Field | Filled in, of 57 checked |
|---|---|
| x | 57 |
| y | 57 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| player_id | string | Yes | Numeric FotMob player id from fotmob/search | 961995 | |
| season_id | string | Yes | Player-specific entryId from fotmob/player statSeasons | 0-1 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/fotmob/player-stats?player_id=961995&season_id=0-1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"source_url": "https://www.fotmob.com/api/data/playerStats?isFirstSeason=false&playerId=961995&seasonId=0-1",
"data": {
"sectionOrder": [
"top-stat-card",
"shotmap",
"stats-section"
],
"statsSection": {
"id": "stats-section",
"items": []
},
"shotmap": [],
"heatmap": []
}
}
}Request schema
No body schema
Response schema
#/definitions/fotmob.responseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | fotmob.sourceDataDoc | No | ||||
| data.data | object | No | ||||
| data.source_url | string | No | https://www.fotmob.com/api/data/matches?date=20260925&timezone=UTC | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/fotmob/player-stats?player_id=961995&season_id=0-1" \
-H "x-api-key: $CRAWLORA_API_KEY"