Skip to main content
GET
/
athletes
/
nextGame
Player's Next Game
curl --request GET \
  --url https://v1.basketball.sportsapipro.com/athletes/nextGame \
  --header 'x-api-key: <api-key>'

Overview

Returns the next scheduled game for a specific player, useful for fantasy sports and betting research.

Query Parameters

athleteId
integer
required
Player ID

Code Examples

curl -X GET "https://v1.basketball.sportsapipro.com/athletes/nextGame?athleteId=12345" \
  -H "x-api-key: YOUR_API_KEY"

Response Structure

athlete
object
Player information
nextGame
object
Upcoming game details

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

athleteId
integer
required

Player ID

Example:

12345

Response

200

Player's next game retrieved successfully