V2 API Search
Search sports team
Search for any sports team using a text string.
get/search/team/{teamName}
Request
- Base URLhttps://www.thesportsdb.com/api/v2/json
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
teamNamestring required
The name of the team to search for.
Response
Array of teams matching query
Example response
{
"search": [
{
"idTeam": "133612",
"strTeam": "Manchester United",
"idLeague": "4328",
"strLeague": "English Premier League",
"strBadge": "https://r2.thesportsdb.com/images/media/team/badge/xzqdr11517660252.png",
"strCountry": "England",
"strGender": "Male",
"strLocation": "Trafford, Greater Manchester",
"strSport": "Soccer"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.