Get player by id
GET
/api/tennis/player/{playerId}Full profile for a single tennis player, looked up by player id.
Path Params
playerIdstringrequiredTry Get player by id with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/tennis/player/{playerId}'Example response
The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
{
"playerId": "p-9301",
"name": "Player One",
"country": "ESP",
"plays": "Right-handed",
"turnedPro": 2018,
"currentRank": 1
}