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

Group: Fixtures

Both sides’ form going into the fixture: last results (oldest first), league position, the table figure as numbers (football: points; W-L / W-D-L sports: wins, draws, losses) and average rating.

Note: Covered leagues, before and after the match. A fixture without a form guide returns 200 with home and away null; 404 only for an id that does not exist.

## Parameters

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

## Response

- `data`: `PregameForm`
- Objects: PregameForm (https://sportsapi.app/markdown/en/reference.md#pregameform)

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ sportsapi fixtures form <id>
```

## Example response

```json
{ "data": {
    "home": { "results": ["win", "draw", "loss", "win", "win"], "position": 3, "points": 18, "wins": null, "draws": null, "losses": null, "avgRating": 6.83 },
    "away": { "results": ["loss", "loss", "draw", "win", "loss"], "position": 15, "points": 7, "wins": null, "draws": null, "losses": null, "avgRating": 6.61 } } }
```

---

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/fixtures/form · All docs: https://sportsapi.app/markdown/en/docs.md
