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

Group: Fixtures

Attack-momentum graph: one point per minute, positive = home pressure, negative = away. Tennis: games instead — one value per game (positive = the home player won it) with whether it was a break of serve.

Plans: Pro + Business only (other plans get 403 endpoint_not_in_plan).

Note: points: football, basketball and ice hockey, covered leagues; games: tennis (points stays empty there, and games is empty in every other sport). Empty lists before kick-off or where there is no graph. A minute ending in .5 marks a period end (45.5 = half-time).

## Parameters

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

## Response

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

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

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

## Example response

```json
{ "data": { "points": [ { "minute": 1, "value": -7 }, { "minute": 2, "value": 12 }, …, { "minute": 45.5, "value": 3 }, … ],
    "periodLengthMinutes": 45, "periodCount": 2, "overtimeLengthMinutes": 15, "overtimeCount": null, "games": [] } }

// Tennis:
{ "data": { "points": [], "periodLengthMinutes": null, "periodCount": null, "overtimeLengthMinutes": null, "overtimeCount": null,
    "games": [ { "period": "period1", "game": 1, "value": -10, "breakOfServe": false },
               { "period": "period1", "game": 2, "value": 34, "breakOfServe": true }, … ] } }
```

---

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