GET api/[year]/[round]/fp2

Try it

This endpoint retrieves the results of the free practice 2 of the given round.

Example Response

{
  "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"
        }
      }
    ]
  }
}

Response Types

FieldTypeDescription
roundstringThe race round of the championship.
fp2DatestringThe fp2 date in format YYYY-MM-DD.
fp2TimestringThe fp2 time in format HH:MM:SS.
urlstringA URL to the Wikipedia page of the race.
raceIdstringThe race id.
raceNamestringThe race name.
circuitobjectThe circuit object.
circuitIdstringThe circuit id.
circuitNamestringThe circuit name.
countrystringThe circuit country.
citystringThe circuit city.
circuitLengthstringThe circuit length in kilometers.
lapRecordstringThe lap record for the circuit.
firstParticipationYearnumberThe year the circuit first hosted a Grand Prix.
cornersnumberThe number of corners on the circuit.
fastestLapDriverIdstringThe driverId of the fastest lap driver.
fastestLapTeamIdstringThe teamId of the fastest lap team.
fastestLapYearnumberThe year the fastest lap was set.
urlstringA URL to the Wikipedia page of the circuit.
fp2ResultsarrayA list of fp2 results objects returned from the API.
fp2IdstringThe fp2 result id.
driverIdstringThe driver id.
teamIdstringThe team id.
timestringThe best lap of the driver session.
driverobjectThe driver object.
driverIdstringThe driver id.
namestringThe driver's first name.
surnamestringThe driver's surname.
nationalitystringThe driver's nationality.
birthdaystringThe driver's birthday in DD/MM/YYYY format.
numbernumberThe driver's racing number.
shortNamestringThe driver's abbreviated name, often used in standings or graphics.
urlstringA URL to the Wikipedia page of the driver.
teamobjectThe team object.
teamIdstringThe team id.
teamNamestringThe team name.
nationalitystringThe team nationality.
firstAppareancenumberThe year the team first appeared in a Grand Prix.
constructorsChampionshipsnumberThe number of constructors championships the team has won.
driversChampionshipsnumberThe number of drivers championships the team has won.
urlstringA URL to the Wikipedia page of the team.

Response Params

ParamDefaultData
limit30Number of records returned per request.
offset0Number of records skipped before starting to fetch.

Response Status

StatusDescription
200Successful request
404Resource not found
500Internal server error