# GET /v2/fixtures/{id}/team-form

Group: Fixtures

Up to five of each team’s latest finished matches before this fixture, from any competition — league, cup, European or friendly — in chronological order, each with our fixture id, the competition, home / away, the opponent, the score and the result.

Plans: Every plan, Free included.

Note: Tennis is covered too, although /form has no guide for it. scoreFor / scoreAgainst hold the sides’ current scores (sets in tennis). When the source has nothing, both lists come back empty; 404 is reserved for ids that do not exist.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | fixture id issued by DataSportsAPI, a positive integer |

## Response

- `data`: `TeamFormFixtures`
- Objects: TeamFormFixtures (https://datasportsapi.com/markdown/reference.md#teamformfixtures)

## Errors

- 403 history_not_in_plan — the fixture predates the history your plan covers

Plus the errors every /v2 call shares (https://datasportsapi.com/markdown/docs/errors.md).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/fixtures/{id}/team-form"
```

TypeScript:

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

Python:

```python
res = client.fixtures.team_form(id)
```

Go:

```go
res, err := client.Fixtures.TeamForm(ctx, id)
```

CLI:

```bash
$ dsa fixtures team-form <id>
```

## Example response

```json
{ "data": {
    "home": [ …,
      { "fixtureId": 222801, "startTime": "2026-10-28T18:30:00.000Z", "league": { "id": 40121, "name": "Superbet Greek Cup", … },
        "side": "away", "opponent": { "id": 3251, "name": "PAOK", … }, "scoreFor": 1, "scoreAgainst": 3, "result": "loss" },
      { "fixtureId": 219964, "startTime": "2026-11-01T19:30:00.000Z", "league": { "id": 1185, "name": "Stoiximan Super League", … },
        "side": "away", "opponent": { "id": 3248, "name": "Panathinaikos FC", … }, "scoreFor": 0, "scoreAgainst": 2, "result": "loss" } ],
    "away": [ … ] } }
```

---

Base URL: https://api.datasportsapi.com. Authenticate each /v2 call with the header `Authorization: Bearer <key>` (secret keys begin with `sk_live_`).
HTML: https://datasportsapi.com/docs/fixtures/team-form/ · Group: https://datasportsapi.com/markdown/docs/fixtures.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
