GET api/[teamId]

Try it

This endpoint retrieves details about a team in the database. Based on the provided teamId.

Example Response

{
  "api": "https://f1connectapi.vercel.app",
  "url": "https://f1connectapi.vercel.app/api/teams/ferrari",
  "limit": 1,
  "total": 1,
  "team": [
    {
      "teamId": "ferrari",
      "teamName": "Scuderia Ferrari",
      "teamNationality": "Italy",
      "firstAppeareance": 1950,
      "constructorsChampionships": 16,
      "driversChampionships": 15,
      "url": "https://en.wikipedia.org/wiki/Scuderia_Ferrari"
    }
  ]
}

Response Types

FieldTypeDescription
apistringThe base API URL for the F1 Connect service.
urlstringThe URL used to fetch the teams data with query parameters for limit and offset.
totalnumberThe total number of teams available in the dataset.
teamarrayA list of team objects returned from the API.
teamIdstringA unique identifier for the team.
teamNamestringThe team name.
teamNationalitystringThe team nationality.
firstAppeareancenumberThe year the team first appeared in a Grand Prix.
constructorsChampionshipsnumber | nullThe number of constructors championships the team has won.
driversChampionshipsnumber | nullThe number of drivers championships the team has won.
urlstringA URL to the Wikipedia page of the team.

Response Params

No params for this endpoint.

Response Status

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