FotMob API endpoint
Lists the season values FotMob offers for one league, identified by the required numeric `league_id` (from the FotMob leagues endpoint). The response has the league id, name and a `seasons` list such as `2026/2027`. Pass a season to the FotMob league endpoint; the list varies by league.
/fotmob/seasonsQuery parameter: league_id is required and must be a numeric FotMob league id. Discover ids through /api/v1/fotmob/leagues.
Returns all season values offered by FotMob for that league. Use a returned value with /api/v1/fotmob/league?league_id=...&season=.... Values vary by league and season updates, so retrieve this list instead of assuming a fixed range.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| league_id | integer | Yes | Numeric FotMob league id from /fotmob/leagues | 47 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/fotmob/seasons?league_id=47" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"source_url": "https://www.fotmob.com/api/data/leagues?id=47",
"data": {
"league_id": "47",
"name": "Premier League",
"seasons": [
"2026/2027",
"2025/2026"
]
}
}
}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/seasons?league_id=47" \
-H "x-api-key: $CRAWLORA_API_KEY"