This endpoint retrieves the results of the latest race of the current season.
{ "api": "https://f1connectapi.vercel.app", "url": "https://f1connectapi.vercel.app/api/current/last/race?limit=1", "limit": 1, "offset": 0, "total": 1, "season": 2024, "races": { "round": 24, "date": "2024-12-08", "time": "13:00:00Z", "url": "https://en.wikipedia.org/wiki/2024_Abu_Dhabi_Grand_Prix", "raceId": "abu_dhabi_2024", "raceName": "Etihad Airways Abu Dhabi Grand Prix 2024", "circuit": { "circuitId": "yas_marina", "circuitName": "Yas Marina Circuit", "country": "Abu Dhabi", "city": "Yas Island", "circuitLength": "5281km", "corners": 16, "firstParticipationYear": 2009, "lapRecord": "1:26:103", "fastestLapDriverId": "max_verstappen", "fastestLapTeamId": "red_bull", "fastestLapYear": 2021, "url": "https://en.wikipedia.org/wiki/Yas_Marina_Circuit" }, "results": [ { "position": 1, "points": 25, "grid": 1, "time": "1:26:33.291", "fastLap": null, "retired": null, "driver": { "driverId": "norris", "number": 4, "shortName": "NOR", "url": "https://en.wikipedia.org/wiki/Lando_Norris", "name": "Lando", "surname": "Norris", "nationality": "Great Britain", "birthday": "13/11/1999" }, "team": { "teamId": "mclaren", "teamName": "McLaren Formula 1 Team", "nationality": "Great Britain", "firstAppareance": 1966, "constructorsChampionships": 9, "driversChampionships": 12, "url": "https://en.wikipedia.org/wiki/McLaren" } } ] } }
Field | Type | Description |
---|---|---|
round | string | The race round of the championship. |
date | string | The race date in format YYYY-MM-DD. |
time | string | The race 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. |
results | array | A list of race results objects returned from the API. |
position | number | The finishing position of the driver in the race. |
points | number | The grid position of the driver. |
grid | number | The finishing position of the driver in the race. |
time | string | The time of the driver in the race. |
fastLap | string | null | Fast lap of the driver in the race. |
retired | string | null | If the driver is retired or not. |
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 |