Base URL
Player sport validation is enforced. If you use a non-tennis player ID, the API will return an error indicating the player’s actual sport (e.g., “Player 3111 is not a tennis player (sport: football)”). This prevents cross-sport data leakage.
How to find the Player Entity ID:
- Search for the player →
GET /api/search?q=alcaraz→ returns Team ID275923 - Get team details →
GET /api/teams/275923→ response contains"player": { "id": 3111, ... } - Use
player.idfor all/api/players/endpoints →GET /api/players/3111/h2h/119248
/api/players/:id for career stats and H2H. Use /api/teams/:id for match history and tournament entries.Player Profile
Player Details
Player Image
Career Statistics
Overall Statistics
Available Stat Seasons
Stats by Match Type
Player Traits
Characteristics
Attribute Overviews
Last Year Summary
Tennis-Specific Endpoints 🎾
Head-to-Head vs Opponent
The opponent’s player ID.