Recent results
get_recent_resultsRecently completed tennis matches with final scores and winners. Filterable by tour, player, nationality and play date. Requires the BASIC plan or any History plan.
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 | Completed matches, most recent first. | |
| message | Yes | Human-readable summary. Identical to the text content, so either half can be used alone. |