GET api/teams

Try it

This endpoint retrieves details about a all the teams in the database. The active and the old teams.

Example Response

{
  "api": "https://f1connectapi.vercel.app",
  "url": "https://f1connectapi.vercel.app/api/teams?limit=1&offset=70",
  "limit": 1,
  "offset": 70,
  "total": 1,
  "teams": [
    {
      "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.
limitnumberThe number of results returned per request.
offsetnumberThe offset used for pagination, i.e., the starting point for the result set.
totalnumberThe total number of teams available in the dataset.
teamsarrayA 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.
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