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

Group: Fixtures

Lineups, formations and missing players, with each player’s match rating and statistics.

Note: Coverage is graded per fixture: top leagues have lineups (and per-player ratings and statistics), many youth, amateur and friendly matches never get them. A player’s statistics use the same keys as the team statistics where they mean the same thing (passes, accuratePasses, shotsOnGoal, tackles, …; bigChancesCreated = big chances he made for a teammate); every …Percentage is a 0–100 share, except basketball’s trueShootingPercentage, which can pass 100 (a few free throws and a three). rating and statistics are null for a player who did not play; avgRating (football) is the player’s season average, listed mostly before and around kick-off. position is a word per sport (G is a goalkeeper in football, a goalie in ice hockey, a guard in basketball); positionCode keeps the source letter. A fixture without lineups (yet) returns 200 with confirmed: false and empty sides — 404 only for an id that does not exist. During a live match this is refreshed about every 30 seconds.

## Parameters

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

## Response

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

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

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

## Example response

```json
{ "data": { "confirmed": true,
    "home": { "formation": "4-2-3-1", "players": [
      { "player": { "id": 3772, "name": "David Raya", "slug": "david-raya", "shortName": "D. Raya", "image": "…" },
        "position": "goalkeeper", "positionCode": "G", "jerseyNumber": "1", "substitute": false, "captain": false,
        "rating": 7.1, "avgRating": 6.94, "ratingVersions": { "original": 7.1, "alternative": 7.3 }, "star": null, "battingOrder": null,
        "statistics": { "minutesPlayed": 90, "passes": 34, "accuratePasses": 29, "saves": 2, "touches": 41, … } }, … ],
      "missing": [ { "player": { … }, "availability": "out", "reason": "injury", "description": "Knee Injury",
                     "expectedReturnAt": "2026-11-02T00:00:00.000Z" } ] },
    "away": { … } } }
```

---

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