Seasonally updated Formula 1 races content with races, drivers, and information about races with race results. Current standings for drivers and constructors championship. Social media posts from official F1 X account. Now available for Closed Testing on Google Play Store. Soon to be published...
The Ergast API provides a comprehensive database of historical Formula 1 data, including race results, driver and constructor standings, circuit information, and more. It is a valuable resource for developers looking to access detailed information about Formula 1.
- Base URL:
https://ergast.com/api/f1
Here are some of the commonly used endpoints for accessing specific data:
-
Current Season Races
- Endpoint:
/current.json
- Description: Retrieves data about the current season's races.
- Endpoint:
-
Race Results
- Endpoint:
/current/{raceId}/results.json
- Description: Fetches results for a specific race in the current season.
- Example: To get results for the Australian Grand Prix, use
/current/1/results.json
.
- Endpoint:
-
Driver Standings
- Endpoint:
/current/driverStandings.json
- Description: Retrieves the current standings of drivers.
- Endpoint:
-
Constructor Standings
- Endpoint:
/current/constructorStandings.json
- Description: Retrieves the current standings of constructors.
- Endpoint:
-
Historical Data
- Endpoint:
/season/{year}/race/{round}.json
- Description: Fetches data for a specific race in a specific season.
- Endpoint:
- Live race list of current season
- Live race rankings and race results
- Live drivers championship standings
- Live constructors championship standings
- Social media contents from F1 X account