> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinn.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Märkte & Linien

> moneyline, handicap, totals, team totals — pro Periode, mit alt‑lines.

Jede Quotenlinie wird durch **(`period`, `market`, `line`)** identifiziert und trägt eine stabile ganzzahlige `line_id`.

## Markttypen

| `market`                      | Beschreibung         | Quotenspalten                                          |
| ----------------------------- | -------------------- | ------------------------------------------------------ |
| `moneyline`                   | 1X2 / Sieger         | `odds1` (home), `odds0` (draw), `odds2` (away)         |
| `spread`                      | Asiatisches Handicap | `odds1` (home), `odds2` (away), `line` = Heim-Handicap |
| `totals`                      | Over / Under         | `odds1` (over), `odds2` (under), `line` = Total        |
| `home_totals` / `away_totals` | Total pro Mannschaft | `odds1` (over), `odds2` (under)                        |

Bei 2‑way-Märkten (spread/totals) ist `odds0` gleich `null`.

## Perioden

`period = 0` = ganzes Spiel. Die übrigen Perioden hängen von der Sportart ab (`1` = erste Halbzeit / Satz usw.). Rufen Sie den Katalog über [`/api/periods`](/de/api-reference/introduction) ab.

## Hauptlinien vs. alt‑lines

Standardmäßig gibt `/api/odds` **alle** Linien zurück (einschließlich der Alternativen). Fügen Sie `main_lines_only=1` hinzu, um nur die Hauptlinie jedes Marktes zu behalten (`alt_line_id` null).

```bash theme={null}
curl "https://api.apinn.io/api/odds?event_id=1608247913&main_lines_only=1" \
  -H "X-API-Key: DEIN_KEY"
```

## max\_win

`max_win` = maximal akzeptierter Einsatz (Pinnacle-Limit) auf der Linie, ein Liquiditätsindikator.
