This endpoint retrieves the results of the free practice 2 of the given round.
{ "api": "https://f1connectapi.vercel.app", "url": "https://f1connectapi.vercel.app/api/2024/1/fp2?limit=1", "limit": 1, "offset": 0, "total": 1, "races": { "round": "1", "fp2Date": "2024-02-29", "fp2Time": "15:00:00Z", "url": "https://en.wikipedia.org/wiki/2024_Bahrain_Grand_Prix", "raceId": "bahrein_2024", "raceName": "Gulf Air Bahrain Grand Prix 2024", "circuit": { "circuitId": "bahrein", "circuitName": "Bahrein International Circuit", "country": "Bahrein", "city": "Sakhir", "circuitLength": "5412km", "lapRecord": "1:31:447", "firstParticipationYear": 2004, "corners": 15, "fastestLapDriverId": "de_la_rosa", "fastestLapTeamId": "mclaren", "fastestLapYear": 2005, "url": "https://en.wikipedia.org/wiki/Bahrain_International_Circuit" }, "fp2Results": [ { "fp2Id": 1, "driverId": "hamilton", "teamId": "mercedes", "time": "1:30.374", "driver": { "driverId": "hamilton", "name": "Lewis", "surname": "Hamilton", "nationality": "Great Britain", "number": 44, "shortName": "HAM", "birthday": "07/01/1985", "url": "https://en.wikipedia.org/wiki/Lewis_Hamilton" }, "team": { "teamId": "mercedes", "teamName": "Mercedes Formula 1 Team", "nationality": "Germany", "firstAppareance": 1954, "constructorsChampionships": 8, "driversChampionships": 9, "url": "https://en.wikipedia.org/wiki/Mercedes-Benz_in_Formula_One" } } ] } }
Field | Type | Description |
---|---|---|
round | string | The race round of the championship. |
fp2Date | string | The fp2 date in format YYYY-MM-DD. |
fp2Time | string | The fp2 time in format HH:MM:SS. |
url | string | A URL to the Wikipedia page of the race. |
raceId | string | The race id. |
raceName | string | The race name. |
circuit | object | The circuit object. |
circuitId | string | The circuit id. |
circuitName | string | The circuit name. |
country | string | The circuit country. |
city | string | The circuit city. |
circuitLength | string | The circuit length in kilometers. |
lapRecord | string | The lap record for the circuit. |
firstParticipationYear | number | The year the circuit first hosted a Grand Prix. |
corners | number | The number of corners on the circuit. |
fastestLapDriverId | string | The driverId of the fastest lap driver. |
fastestLapTeamId | string | The teamId of the fastest lap team. |
fastestLapYear | number | The year the fastest lap was set. |
url | string | A URL to the Wikipedia page of the circuit. |
fp2Results | array | A list of fp2 results objects returned from the API. |
fp2Id | string | The fp2 result id. |
driverId | string | The driver id. |
teamId | string | The team id. |
time | string | The best lap of the driver session. |
driver | object | The driver object. |
driverId | string | The driver id. |
name | string | The driver's first name. |
surname | string | The driver's surname. |
nationality | string | The driver's nationality. |
birthday | string | The driver's birthday in DD/MM/YYYY format. |
number | number | The driver's racing number. |
shortName | string | The driver's abbreviated name, often used in standings or graphics. |
url | string | A URL to the Wikipedia page of the driver. |
team | object | The team object. |
teamId | string | The team id. |
teamName | string | The team name. |
nationality | string | The team nationality. |
firstAppareance | number | The year the team first appeared in a Grand Prix. |
constructorsChampionships | number | The number of constructors championships the team has won. |
driversChampionships | number | The number of drivers championships the team has won. |
url | string | A URL to the Wikipedia page of the team. |
Param | Default | Data |
---|---|---|
limit | 30 | Number of records returned per request. |
offset | 0 | Number of records skipped before starting to fetch. |
Status | Description |
---|---|
200 | Successful request |
404 | Resource not found |
500 | Internal server error |