get_player_stats
Read-only
Use for a player's match statistics by season: wins, losses, sets and games won, tiebreaks won and lost, deciding sets, 6-0 sets and retirements, all counted from scores; plus the record by round and by the opponent's ranking (top 10, 11-50, 51-100). No serve statistics: ESPN does not publish them. Tour: atp (default) or wta; on the shared endpoint pass league: "wta" for the WTA. Costs 3 credits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| league | No | League. Defaults to tennis. One of: tennis, wta. | |
| season | No | Year (default every season). | |
| player_id | Yes | Player id from search_players. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | Yes | ||
| tour | Yes | ||
| season | Yes | ||
| by_round | Yes | ||
| by_season | Yes | ||
| player_id | Yes | ||
| by_opponent_rank | Yes |