Skip to main content
GET
/
athletes
Player Details
curl --request GET \
  --url https://v1.tennis.sportsapipro.com/athletes \
  --header 'x-api-key: <api-key>'

Overview

Returns detailed information about a specific tennis player including career stats, ranking history, and biographical data.

Code Examples

# Get Rafael Nadal's profile (ID: 874)
curl -X GET "https://v1.tennis.sportsapipro.com/athletes?athletes=874" \
  -H "x-api-key: YOUR_API_KEY"

Response Fields

id
integer
Unique player identifier
name
string
Full player name
ranking
integer
Current ATP/WTA ranking
country
object
Playerโ€™s nationality
imageUrl
string
Player photo URL
Use /athletes/top to discover player IDs for popular players.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

athletes
integer
required

Player ID

Example:

874

Response

200

Player details retrieved successfully