Race sports
Race
GET/v2/races/{id}All plans
One race: series, season, round, status, days, host country, circuit (motorsport), laps and distance, category (cycling), winner — and its sessions in start order, each with type, status, start time, laps, distance, stage towns and profile (cycling), weather, track condition, temperatures, safety car and winner.
startDate / endDate are UTC days; sessions carry exact times. winner is the winner of the main race (a cycling stage race: of the general classification), set once finished. circuit.lengthMeters and distanceMeters: Formula 1 and NASCAR (converted from miles); MotoGP has laps only — the source keeps neither its circuit length nor its race distance. A race without laps / distance of its own takes the main race session’s.
Parameters
id
our numeric id (positive integer)
Response
- data
Race- errors
- 403 history_not_in_plan — the race started before your plan’s history404 not_found — not a race id (a season or session id included)404 no_data — a duplicate copy the source files under a second series and never runs (NASCAR Cup); error.series and, when it can be matched, error.race name the real ones
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/races/{id}"
Example
{ "data": { "id": 812345, "name": "Singapore GP", "slug": "singapore-gp", "sport": "motorsport", "series": { "id": 812300, "name": "Formula 1", "slug": "formula-1", "sport": "motorsport" }, "season": { "id": 812301, "name": "Formula 1 2026", "year": "2026", "startYear": 2026, "endYear": 2026 }, "round": 17, "status": "finished", "startDate": "2026-10-09", "endDate": "2026-10-11", "country": { "code": "SG", "name": "Singapore" }, "circuit": { "name": "Marina Bay", "city": "Singapore", "country": { "code": "SG", "name": "Singapore" }, "lengthMeters": 4927 }, "laps": 62, "distanceMeters": 305337, "category": null, "winner": { "id": 700001, "name": "Max Verstappen", "slug": "verstappen-max", "shortName": "M. Verstappen", "code": "VER", "image": "https://cdn.sportsapi.app/v2/teams/700001/logo" }, "sessions": [ …, { "id": 812350, "name": "Grand Prix", "type": "race", "status": "finished", "startTime": "2026-10-11T12:00:00.000Z", "laps": 62, "lapsCompleted": 62, "distanceMeters": 305337, "departureCity": null, "arrivalCity": null, "profile": null, "weather": "night", "trackCondition": "dry", "airTemperatureC": 30.2, "trackTemperatureC": 41.5, "humidityPercent": 77.4, "safetyCar": null, "winner": { "id": 700001, "name": "Max Verstappen", … } } ] } }