Archive career aggregates
get_archive_careerOne player's whole career over the results archive (1968 to 2022). W-L record in total and by surface/level/year, titles, and summed serve statistics. The corpus records serve stats from 1991 only, so matches_with_stats says how many matches the serve block covers. The name must resolve to one person. An ambiguous fragment returns the candidate list to choose from. Requires the BASIC plan or any History plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Player name fragment, min 3 chars. Must resolve to exactly one person. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message. | |
| span | No | Career span inside the archive. | |
| serve | No | Summed serve stats + derived ratios. matches_with_stats states the coverage. Ratios are null where the denominator is zero. | |
| record | No | The W-L record. | |
| by_year | No | Per-season W-L. | |
| message | Yes | Human-readable summary of the result, safe to relay to the user verbatim. | |
| player_name | No | The resolved player. |