---
title: "Lookup player contracts."
method: GET
path: "/lookup/player_contracts/{idPlayer}"
tags: ["V2 API Lookup"]
---

# Lookup player contracts.

`GET /lookup/player_contracts/{idPlayer}`

## Request

- Base URL: `https://www.thesportsdb.com/api/v2/json`
- URL: `https://www.thesportsdb.com/api/v2/json/lookup/player_contracts/{idPlayer}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/docs/lookup/player_contracts/:idPlayer/get.ts> (a function with typed inputs; its response is checked against the schema)

Lookup player career history by player ID.

## Path parameters

- `idPlayer` integer, required

## Response `200`

Player career history details for the given player ID

- PlayerCareerHistory
  - `lookup` object[]
    - `id` string
    - `idPlayer` string
    - `idTeam` string
    - `strSport` string
    - `strPlayer` string
    - `strTeam` string
    - `strBadge` string, uri
    - `strYearStart` string
    - `strYearEnd` string
    - `strWage` string

---

[API](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api.md) - [All operations](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/revisions/f529422e54bf?raw)
