Docs
Coverage MatrixDocumentationRelease LogLog In

F1 Overview

Introduction

The Formula 1 API provides schedules and live coverage for all F1 Championship races.

Select the Formula 1 package in our Coverage Matrix for events and data offered.

This API uses a descending, stage-based structure. By changing the stage ID, you can retrieve information on a season, event, race, or any of the practice or qualifying stages.

Additional feeds provide complementary stats, including:

  • Racer profiles
  • Team profiles
  • Race and Championship win probabilities

🗝️

Authentication is required for all API calls.

Stage Format

The F1 API uses generic stage implementation. The core of the API is built around the concept of stages. For example, an event contains the following stage types: practice, qualifying, and race. Each of those stages, in turn, have stages (except Practice which has no sub-stages). The IDs of each stage are usable in the URL path to request information about that particular stage. Qualifying stages contain sub-stages known as "Qualifying Parts". In the Race stages, the sub-stages are laps. You can use the lap stage ID in the URL to get specific lap details, including driver times, and position.

The F1 sport and seasons within it are stages as well. The sport stage consists of season stages for each annual season. Using the ID of a chosen season as a parameter in the Stage Summary endpoint you can "drill down" into each season. For example, using the 2022 season ID as a parameter in the Stage Summary endpoint, the sub-stages will be individual race events. From the race event, you can drill down into the practice, qualifying, race, and lap stages of a race using the same endpoint with different stage IDs.

The best way to "start" the navigation with the F1 API is using the Seasons endpoint. From there one can obtain the stage ID for the season required and use that as a parameter in the Stage Summary endpoint.

Stage TypeInformation IncludedSub-stages
SportInformation about the seasons included. Which is limited to the current and previous season only. Note probabilities do not return valid data on this stage.Formula 1 seasons
SeasonContains the season schedule, driver and team standings and statistics.Events on the F1 calendar for that season (eg: Melbourne Grand Prix, Abu Dhabi Grand Prix, etc.).
EventInformation about a single event, the competitors, the teams, and the circuit.Sessions (eg: Practice, Qualifying, Race)
PracticeCompetitors and results of practice such as fastest time etc.None
QualifyingInformation pertaining to the qualifying stage of the event including conditions, competitors, and overall qualifying results.Qualifying Parts
Qualifying PartInformation about the individual qualifying parts of the overall qualifying stage such as conditions, competitors, and results.None
Sprint RaceDetails of a sprint race including the competitors, laps, and results.Laps
RaceDetails of the race itself including the competitors, lap by lap, and overall results.Laps
LapSpecific details on individual laps such as driver positions, times, etc. Note probabilities do not return valid data on this stage.None

API Map


Endpoint Descriptions

Competition Merge Mappings - Provides the valid Sportradar Id in cases when two competitors have been merged into one.

Competitor Profile - Provides detailed driver information including debut date, first points, first pole, and first victory. 

Deleted Stages - Provides all detailed stages within a given season.

Seasons - Provides a complete historical list of available seasons for F1. This is the starting point for the Formula 1 API. 

Stage Probabilities - Provides the outrights for each driver for a given race. 

Stage Schedule - Provides the schedule for a given stage.  

Stage Summary - Provides schedules and results information based on the stage provided (sport, season, event, practice, qualifying, qualifying part, race, or lap).

Team Profile - Provides detailed team information including car details, engine type, debut date, first points, first pole, first victory, and relevant staff information.


Data Retrieval Sample

To find the win probabilities for a given race:

  1. Call the Seasons endpoint and find the Stage Id for the current season
  2. Call the Stage Schedule using the 'season' Stage Id
  3. Locate the Stage Id for the upcoming race
  4. Call the Stage Probabilities using the 'race' Stage Id
  5. Within the results locate the win probability for each racer

The probability of a win for each racer is displayed.


Integration Links

OpenAPI Spec

Our Formula 1 API is available via OpenAPI. Click below to view and/or download the spec.

Formula 1 v2 OpenAPI

Postman Workspace

Our entire Media APIs are available on Postman. Click the link above to be taken directly to our Formula 1 API collection.

Feel free to follow and/or fork any collections to receive updates.

Schema Download

Open the zip file below to access our entire Formula 1 API XSD schema.

F1 v2 Schema