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

# Lookup player former teams.

`GET /lookup/player_teams/{idPlayer}`

## Request

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

Lookup for any player former teams using their unique ID.

## Path parameters

- `idPlayer` integer, required

## Response `200`

Former teams details for the given player ID

- FormerTeams
  - `lookup` object[]
    - `id` string
    - `idPlayer` string
    - `idFormerTeam` string
    - `strSport` string
    - `strPlayer` string
    - `strFormerTeam` string
    - `strMoveType` string
    - `strBadge` string, uri
    - `strJoined` string
    - `strDeparted` 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)
