8 endpoints
Race sports
Motorsport and cycling (kind races in /v2/sports). A series is the league of race sports (Formula 1, MotoGP; in cycling the whole men’s or women’s calendar), a race is a Grand Prix weekend or a cycling race, a session one timed part of it (practice, qualifying, sprint, the race; a cycling stage). Drivers, riders and their teams are TeamRefs, so /v2/teams/{id} serves them. Times are milliseconds, distances metres. Not on the WebSocket yet — poll /v2/races/{id} and /results while a session runs.
GETRaces
/v2/racesRaces with a session starting on one UTC day, each with all its sessions.GETRace/v2/races/{id}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,…GETRace results/v2/races/{id}/resultsThe race’s classification — motorsport: the main race session’s (the last session of type race: grid, pit stops, tyres, best laps, points; meta.session names it); a cycling stage race: the general cl…GETSeries/v2/seriesThe race sports’ directory: the series of one category — Nascar → NASCAR Cup Series, Truck Series, Xfinity; Formula 1 → Formula 1; cycling’s International → Cycling Men, Cycling Women.GETOne series/v2/series/{id}A racing series: name, slug, sport.GETSeries seasons/v2/series/{id}/seasonsThe series’ seasons, newest first.GETSeries races/v2/series/{id}/racesThe races of one season of the series (without sessions — /v2/races/{id} has them).GETSeries standings/v2/series/{id}/standingsThe championship table of a season: the drivers’ / riders’ (type=competitors, default) or the teams’ (type=teams) — points, wins, podiums, pole positions, fastest laps, races started and races with p…