GET api/teams/search

Try it

Search with a q parameter for a team or a list of teams. Based on his name.

Example Response

{
  "api": "https://f1api.dev",
  "url": "https:f1api.dev/api/teams/search?q=ferrari",
  "limit": 30,
  "offset": 0,
  "query": "ferrari",
  "total": 3,
  "teams": [
    {
      "teamId": "cooper-ferrari",
      "teamName": "Cooper-Ferrari",
      "teamNationality": "British",
      "firstAppeareance": null,
      "constructorsChampionships": null,
      "driversChampionships": null,
      "url": "http://en.wikipedia.org/wiki/Cooper_Car_Company"
    },
    {
      "teamId": "de_tomaso-ferrari",
      "teamName": "De Tomaso-Ferrari",
      "teamNationality": "Italian",
      "firstAppeareance": null,
      "constructorsChampionships": null,
      "driversChampionships": null,
      "url": "http://en.wikipedia.org/wiki/De_Tomaso"
    },
    {
      "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 drivers 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.
querystringThe search query used to filter the teams.
totalnumberThe total number of drivers available in the dataset.
seasonstringThe season of the championship.
championshipIdstringThe championship id.
teamsarrayThe teams array of team objects.
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

ParamDefaultData
limit30Number of records returned per request.
offset0Number of records skipped before starting to fetch.
qSearch query, can be a team name.

Response Status

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