list_prematch_matches
Fetch upcoming prematch matches with start times and odds, grouped by tournament. Filter by sport, day, or time window to plan your betting schedule.
Instructions
Upcoming (Prematch) matches with start time and main odds, grouped by tournament.
For a whole sport (tournament_id 0) SportAPI returns its 'Top' selection of 50 matches (top leagues first, then by start time). Use within_hours or day for a schedule. Use get_match with a game_id from here (line_type 'prematch') for all markets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Only matches on one day: 0 = today, 1 = tomorrow ... 5. Days follow Kyiv time (Europe/Kyiv). | |
| limit | No | Maximum matches to return. | |
| esports | No | Esports instead of traditional sports (SportAPI cybersport mode). | |
| markets | No | Only show these markets: case-insensitive name fragments (e.g. 'Total', '1X2', 'Handicap') or numeric market ids (group_id). Omit for the default markets. | |
| sport_id | Yes | sport_id from list_sports or get_menu (1 = Football). | |
| full_line | No | With tournament_id 0: the sport's whole line instead of the 'Top' selection of 50 matches. | |
| include_odds | No | Include the main odds. False makes the response much smaller. | |
| within_hours | No | Only matches starting within the next 2, 4, 6 or 12 hours. | |
| tournament_id | No | Only this tournament (from get_menu); 0 = whole sport. | |
| max_markets_per_match | No | Maximum markets shown per match (API order). |