cURL
curl --request GET \ --url https://v1.basketball.sportsapipro.com/athletes/nextGame \ --header 'x-api-key: <api-key>'
Get the upcoming game for a specific player
curl -X GET "https://v1.basketball.sportsapipro.com/athletes/nextGame?athleteId=12345" \ -H "x-api-key: YOUR_API_KEY"
Show Properties
Your SportsAPI Pro API key
Player ID
12345
Player's next game retrieved successfully
Was this page helpful?