V2 API Lookup
Lookup player former teams.
Lookup for any player former teams using their unique ID.
get/lookup/player_teams/{idPlayer}
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
idPlayerinteger required
The ID of the player to lookup former teams for.
Response
Former teams details for the given player ID
Example response
{
"lookup": [
{
"id": "12309",
"idPlayer": "34146304",
"idFormerTeam": "133738",
"strSport": "Soccer",
"strPlayer": "Cristiano Ronaldo",
"strFormerTeam": "Real Madrid",
"strMoveType": "Permanent",
"strBadge": "https://r2.thesportsdb.com/images/media/team/badge/vwvwrw1473502969.png",
"strJoined": "2009",
"strDeparted": "2018"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.