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

Group: Fixtures

Pre-match streaks: each team’s current run (wins, unbeaten, over 2.5 goals, …) plus streaks drawn from their head-to-head meetings.

Plans: Every plan, Free included.

Note: name is a display string in English, since the source offers no stable key for it. kind tells you how to interpret value: inARow ("5" → count 5 consecutive, outOf null), ofLast ("7/8" → count 7 out of the last outOf 8), average ("83" → an average of 83, with count and outOf null). The lists are empty if no streaks exist.

## Parameters

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

## Response

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

## Errors

Plus the common errors (https://datasportsapi.com/markdown/docs.md#errors).

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ dsa fixtures streaks <id>
```

## Example response

```json
{ "data": {
    "general": [ { "name": "Wins", "kind": "inARow", "value": "5", "count": 5, "outOf": null, "average": null, "side": "home", "continued": true },
                 { "name": "More than 2.5 goals", "kind": "ofLast", "value": "7/8", "count": 7, "outOf": 8, "average": null, "side": "away", "continued": false }, … ],
    "headToHead": [ { "name": "No draws", "kind": "inARow", "value": "6", "count": 6, "outOf": null, "average": null, "side": "both", "continued": true } ] } }
```

---

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/streaks/ · All docs: https://datasportsapi.com/markdown/docs.md · Data reference: https://datasportsapi.com/markdown/reference.md
