Upcoming matches
get_upcoming_matchesList tennis matches scheduled to start soon with players, tournament, and start time to identify who plays next or retrieve a match ID before play begins.
Instructions
List tennis matches scheduled to start soon, with players, tournament and start time. Use this for "who plays next" or to find a match id before it starts. Works on the FREE plan (no card needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest play date: YYYY-MM-DD or ISO-8601; must not precede from. | |
| from | No | Earliest play date: YYYY-MM-DD (a whole UTC day) or ISO-8601 datetime. | |
| tour | No | Tour filter; each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used. | |
| limit | No | Maximum matches to return (1-200). | |
| player | No | Player ids (from search_players), max 50 — keeps matches where ANY listed player is either participant. | |
| country | No | Either participant's country — the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the call returned data. False for a tier wall, a missing or rejected key, or an empty result — all of which are normal states with a clear remedy, not failures. | |
| matches | No | Matches due to start, soonest first. | |
| message | Yes | Human-readable summary. Identical to the text content, so either half can be used alone. |