Base URL
https://v2.tennis.sportsapipro.com
Tennis-Specific: In tennis, each player is represented as a “team” entity. Use these endpoints for player profiles, match history, and tournament stats. Example: Carlos Alcaraz = Team 275923.
Player Profile
Player Details
Returns player metadata: name, country, ranking, handedness, height, and age.
Player/Team ID. Use /api/search?q=alcaraz to find IDs.
Discovering the Player Entity ID: The response from this endpoint includes a player object with the Player Entity ID (e.g., "player": { "id": 3111 }). You need this ID for career stats and H2H endpoints under /api/players/:id. See the Player Entity docs for details.
Player Image
GET /api/teams/{id}/image
Events
Recent Matches
GET /api/teams/{id}/events/last/{page}
Page number (0-indexed). Start with 0 for the most recent.
Near Events
GET /api/teams/{id}/near-events
Returns the closest previous and next match.
Featured Event
GET /api/teams/{id}/featured-event
GET /api/teams/{id}/media
Tournament Season Statistics
GET /api/teams/{id}/tournament/{tid}/season/{sid}/statistics?type=overall
Returns the player’s statistics for a specific tournament and season.
Example Request
curl -X GET "https://v2.tennis.sportsapipro.com/api/teams/275923" \
-H "x-api-key: YOUR_API_KEY"