Archive career aggregates
get_archive_careerGet a player's career archive (1968–2022) with win-loss by surface/level/year, titles, and serve stats coverage. Ambiguous names show candidates.
Instructions
One player's whole career over the results archive (1968–2022): W-L record overall and by surface/level/year, titles, and summed serve statistics with honest coverage — the corpus records serve stats from 1991 only, so matches_with_stats states 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 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. | |
| 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. Identical to the text content, so either half can be used alone. | |
| player_name | No | The resolved player. |