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

# Match Endpoints

> 22 endpoints for futsal match data: scores, lineups, stats, incidents, odds

## Scoring Format

Futsal uses two 20-minute halves. The `/scores` endpoint returns:

```json theme={null}
{
  "homeScore": { "period1": 2, "period2": 1, "current": 3 },
  "awayScore": { "period1": 1, "period2": 1, "current": 2 }
}
```

* `period1` = 1st half goals, `period2` = 2nd half goals
* `overtime` and `penalties` appear in knockout matches
* Similar to football but with accumulated fouls and power plays

## Match Endpoints (22)

All endpoints use base URL `https://api.sportsapipro.com/v2/futsal`.

### Core Match Data

```bash theme={null}
GET /api/match/:matchId                     # Full match details
GET /api/match/:matchId/scores              # Period-by-period scores (1st half, 2nd half, ET, penalties)
GET /api/match/:matchId/lineups             # Starting five + bench for both teams
GET /api/match/:matchId/statistics           # Match stats (possession, shots, fouls, accumulated fouls)
GET /api/match/:matchId/incidents            # Goals, cards, fouls, timeouts, power plays
```

### Player Performance

```bash theme={null}
GET /api/match/:matchId/player-statistics    # All player stats in match
GET /api/match/:matchId/player/:pid/statistics # Individual player stats
GET /api/match/:matchId/best-players         # Top performers
GET /api/match/:matchId/award                # MVP of the match
```

### Context & History

```bash theme={null}
GET /api/match/:matchId/h2h                  # Head-to-head history
GET /api/match/:matchId/graph                # Scoring progression
GET /api/match/:matchId/pregame-form         # Recent form (W/D/L streak)
GET /api/match/:matchId/streaks              # Team streaks
```

### Media & Broadcast

```bash theme={null}
GET /api/match/:matchId/highlights           # Video highlights
GET /api/match/:matchId/media                # Match media
GET /api/match/:matchId/votes                # Fan predictions
GET /api/match/:matchId/channels             # TV broadcast info
```

### Odds

```bash theme={null}
GET /api/match/:matchId/odds                 # Featured odds
GET /api/match/:matchId/odds/all             # All odds providers
GET /api/match/:matchId/odds/pre-match       # Pre-match odds
GET /api/match/:matchId/odds/live            # Live odds
GET /api/match/:matchId/winning-odds         # Win probability
```
