# GET /v2/teams/{id}/recent-leagues

Group: Teams

Tennis: the tournaments a player played lately, latest first, with the round he reached and whether he won it. Since 2026-11-22.

Note: An empty array for anyone but a tennis player. His matches singles or doubles alone: /v2/teams/{id}/fixtures?type=recent&discipline=.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

- `data`: `RecentLeague[]`
- `meta`: count
- Objects: RecentLeague (https://sportsapi.app/markdown/en/reference.md#recentleague)

## Errors

- 404 not_found — an id we never issued

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/teams/{id}/recent-leagues"
```

TypeScript:

```ts
const { data, meta } = await client.teams.recentLeagues(id);
```

Python:

```python
res = client.teams.recent_leagues(id)
```

Go:

```go
res, err := client.Teams.RecentLeagues(ctx, id)
```

CLI:

```bash
$ sportsapi teams recent-leagues <id>
```

## Example response

```json
{ "data": [ { "league": { "id": 200810, "name": "Australian Open, Men", … }, "round": "Semifinals", "won": false }, … ], "meta": { "count": 9 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/teams/recent-leagues · All docs: https://sportsapi.app/markdown/en/docs.md
