GET api/[circuitId]

Try it

This endpoint retrieves details about circuits in the database with the given Id.

Example Response

{
  "api": "https://f1connectapi.vercel.app",
  "url": "https://f1connectapi.vercel.app/api/circuits/monza",
  "limit": 1,
  "total": 1,
  "circuit": [
    {
      "circuitId": "monza",
      "circuitName": "Autodromo Nazionale Monza",
      "country": "Italy",
      "city": "Monza",
      "circuitLength": 5793,
      "lapRecord": "1:21:046",
      "firstParticipationYear": 1950,
      "numberOfCorners": 11,
      "fastestLapDriverId": "barrichelo",
      "fastestLapTeamId": "ferrari",
      "fastestLapYear": 2004,
      "url": "https://en.wikipedia.org/wiki/Monza_Circuit"
    }
  ]
}

Response Types

FieldTypeDescription
apistringThe base API URL for the F1 Connect service.
urlstringThe URL used to fetch the drivers data with query parameters for limit and offset.
limitnumberThe number of results returned per request.
totalnumberThe total number of drivers available in the dataset.
circuitarrayA list of circuit objects returned from the API.
circuitIdstringA unique identifier for the circuit.
circuitNamestringThe circuit's name.
countrystringThe circuit's country.
citystringThe circuit's city.
circuitLengthnumberThe circuit's length in kilometers.
lapRecordstringThe lap record for the circuit.
firstParticipationYearnumberThe year the circuit first hosted a Grand Prix.
numberOfCornersnumberThe 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.

Response Params

No params for this endpoint.

Response Status

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