v1

latestOpenAPI 3.0.02026-07-2678105413.1 KB
V2 API Lookup

Lookup player contracts.

Lookup player career history by player ID.

get/lookup/player_contracts/{idPlayer}

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"
    }
  ]
}