V2 API Lookup
Lookup player contracts.
Lookup player career history by player ID.
get/lookup/player_contracts/{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 career history for.
Response
Player career history details for the given player ID
Example response
{
"lookup": [
{
"id": "306",
"idPlayer": "34146304",
"idTeam": "133676",
"strSport": "Soccer",
"strPlayer": "Cristiano Ronaldo",
"strTeam": "Juventus",
"strBadge": "https://r2.thesportsdb.com/images/media/team/badge/dd6d6q1535186317.png",
"strYearStart": "2018",
"strYearEnd": "2022",
"strWage": "€31m a year"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.