RacingHub API - Formula 1 Historical Data & Statistics
Open-source REST API providing comprehensive Formula 1 historical data and statistics. Access driver profiles, constructor information, race results,…
Data & analytics#sports--fitness
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Open-source REST API providing comprehensive Formula 1 historical data and statistics. Access driver profiles, constructor information, race results, qualifying sessions, sprint races, pit stop data, fastest laps, championship standings, and season calendars. Powered by the F1DB open-source project. Perfect for motorsport analytics, data visualization, fantasy racing apps, and historical research. Data spans from 1950 to present. Note: This is an independent project and is not affiliated with or endorsed by Formula 1®. Official endpoint: racinghub.net/api/v1
Endpoints 24
Drivers
- GETGet All Drivers
/driversRetrieve a paginated list of all Formula 1 drivers.Supports sorting by name, number, or code. Returns driver profiles including nationality, date of birth,… - GETGet Driver by ID
/drivers/:driver_idRetrieve detailed information about a specific Formula 1 driver. Returns complete driver profile including full name, nationality, birth date, permanent… - GETGet Driver Race Results
/drivers/:driver_id/resultsRetrieve complete race history for a specific driver. Returns paginated results including finishing position, points scored, grid position, status, fastest… - GETGet Driver Season History
/drivers/:driver_id/seasonsRetrieve all seasons a driver competed in. Returns year-by-year participation including constructor teams, championship standings, total points, wins,…
Constructors
- GETGet All Constructors
/constructorsRetrieve a paginated list of all Formula 1 constructor teams.Returns team information including official name, nationality, and historical data. Covers all… - GETGet Constructor by ID
/constructors/:constructor_idRetrieve detailed information about a specific Formula 1 constructor team. Returns complete team profile including full name, nationality, and reference ID.… - GETGet Constructor Season History
/constructors/:constructor_id/seasonsRetrieve all seasons a constructor team competed in. Returns year-by-year participation including championship standings, total points, wins, podium finishes,…
Races
- GETGet Races
/racesRetrieve a paginated list of all Formula 1 races, including race name, date, season, circuit, and round. Supports pagination with page and limit parameters. - GETGet Race
/races/:race_idRetrieve detailed information about a specific Formula 1 race by its unique ID. Includes date, circuit, country, season round, and race type. - GETGet Race Results
/races/:race_id/resultsRetrieve the official results of a specific Formula 1 race. Includes finishing positions, driver names, team results, points, and race status. - GETGet Race Starting Grid
/races/:race_id/starting-gridRetrieve the starting grid for a specific Formula 1 race. Includes driver positions, teams, and qualifying times. - GETGet Race Qualifying Results
/races/:race_id/qualifying-resultsRetrieve qualifying session results for a specific Formula 1 race. Includes driver positions, lap times, and team performance. - GETGet Sprint Race Results
/races/:race_id/sprint-resultsRetrieve the official results of a Formula 1 sprint race, including driver positions, teams, and points scored. - GETGet Sprint Race Starting Grid
/races/:race_id/sprint-starting-gridRetrieve the starting grid for a Formula 1 sprint race. Includes driver positions, teams, and qualifying performance. - GETGet Race Fastest Lap
/races/:race_id/fastest-lapRetrieve details of the fastest lap in a specific Formula 1 race. Includes driver, lap time, team, and lap number. - GETGet Race Pit Stops
/races/:race_id/pit-stopsRetrieve all pit stop information for a specific Formula 1 race. Includes driver, lap, duration, and team data.
Seasons
- GETGet Seasons
/seasonsRetrieve a paginated list of all Formula 1 seasons. Includes season year, number of races, and champion information. Supports pagination with page and limit… - GETGet Season by Year
/seasons/:yearRetrieve detailed information for a specific Formula 1 season by year. Includes season overview, total races, driver and constructor champions, and key events… - GETGet Season Drivers
/seasons/:year/driversRetrieve a list of all drivers who participated in a specific Formula 1 season. Includes driver names, teams, nationalities, and championship points. - GETGet Season Constructors
/seasons/:year/constructorsRetrieve a list of all constructors that competed in a specific Formula 1 season. Includes constructor names, countries, team information, and championship… - GETGet Season Races
/seasons/:year/racesRetrieve a list of all races in a specific Formula 1 season. Includes race names, dates, circuits, locations, and round numbers.
Standings
- GETGet Driver Standings
/standings/:year/driversRetrieve the final driver championship standings for a specific Formula 1 season. Includes driver names, teams, points, wins, podiums, and overall ranking. - GETGet Constructor Standings
/standings/:year/constructorsRetrieve the final constructor championship standings for a specific Formula 1 season. Includes constructor names, total points, wins, podiums, and overall…
Health
- GETGet Health Status
/health
API details
- Authentication
- None declared in the description
- Operations
- 24 operations on 24 pathsGET 24
- Main resources
- Races 9Seasons 5Drivers 4Constructors 3Standings 2Health 1
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.1.1 - Links
- OpenAPI document · Support
- Listed from
- Racinghub's published OpenAPI description
How to test the RacingHub API - Formula 1 Historical Data & Statistics in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the RacingHub API - Formula 1 Historical Data & Statistics collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get All Drivers” (GET /drivers), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the RacingHub API - Formula 1 Historical Data & Statistics?
Open-source REST API providing comprehensive Formula 1 historical data and statistics. Access driver profiles, constructor information, race results,… It is listed under Data & analytics and has 24 endpoints.
Who publishes the RacingHub API - Formula 1 Historical Data & Statistics?
It is listed from Racinghub's public API description (an OpenAPI document), not published by Racinghub on Swastik Codes. Anyone who controls racinghub.net can claim the profile by adding a DNS TXT record.
How do I authenticate with the RacingHub API - Formula 1 Historical Data & Statistics?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the RacingHub API - Formula 1 Historical Data & Statistics have?
24 operations on 24 paths (24 GET). The largest groups are Races, Seasons, Drivers, Constructors.
Is forking the RacingHub API - Formula 1 Historical Data & Statistics free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.