9 endpoints
Race sports endpoints
Motorsport and cycling — the sports with kind races in /v2/sports. Here a series takes the place of a league (Formula 1, MotoGP; in cycling, the full men’s or women’s calendar). Each race is either a Grand Prix weekend or one cycling race, split into sessions — the timed parts such as practice, qualifying, a sprint, the race itself or a cycling stage. Drivers and riders, like their teams, are TeamRefs, which /v2/teams/{id} resolves. Times are always in milliseconds and distances in metres. The WebSocket does not carry these sports yet; while a session runs, poll /v2/races/{id} and its /results.
- GETRaces/
v2/ racesReturns every race that has a session beginning on a given UTC day, with all of each race’s sessions included. - GETRace/
v2/ races/ {id}One race in full: series, season, round, status, dates, winner, circuit (motorsport: name, city, country, lap length), host country, laps and distance, category (cycling) and its sessions in start-ti… - GETRace results/
v2/ races/ {id}/ resultsA race’s classification — in motorsport the main race session (the last of type race) with grid, pit stops, tyre stints, the set now fitted (currentTyre: compound, new or used), inPit, best laps and… - GETRace laps/
v2/ races/ {id}/ lapsPro and upLap-by-lap progress of a race session: every driver’s position at the end of each lap (lap 0 is the starting grid), their tyre compound, their pit stops (recorded on the in-lap) and the lap on which… - GETSeries/
v2/ seriesLists the series under a race-sport category, such as NASCAR Cup Series, Truck Series and Xfinity under Nascar, Formula 1 under Formula 1, and Cycling Men and Cycling Women under cycling’s Internatio… - GETOne series/
v2/ series/ {id}Basic details of a racing series — its name, slug and sport. - GETSeries seasons/
v2/ series/ {id}/ seasonsLists a series’ seasons, most recent first. - GETSeries races/
v2/ series/ {id}/ racesLists the races in one season of a series. - GETSeries standings/
v2/ series/ {id}/ standingsA season’s championship table for drivers / riders (type=competitors, default) or teams (type=teams), listing points, wins, podiums, pole positions and fastest laps, plus races started and points-sco…