GETSearch teams
Teams whose name matches q.
/v2.2/search/ with t=team
Try it in the interactive referenceAll Search operations
Request
GET /v2.2/search/?api_key=API_KEY&t=team&q=barcelona
- Available on every plan for the leagues the plan covers.
- Authenticate with
api_key=API_KEY in the URL, or Authorization: Bearer API_KEY as an alternative. Both use the same key, without a username. See authentication methods.
Parameters
| Name | Required | Description | Example |
|---|
q | yes | Search text: part of a team, league, player, referee, country, continent or TV channel name. At least 3 characters; shorter terms return 400. | salzburg |
Example response
{
"data": [
{
"id": 99,
"name": "Barcelona",
"type": "team"
},
{
"id": 3233,
"name": "Barcelona",
"type": "team"
}
],
"meta": {
"requests_left": 2950,
"user": "your_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 1,
"count": 0,
"total": 0,
"msg": ""
}
}