Skip to main content
GET
/
predictions
Game Predictions
curl --request GET \
  --url https://v1.basketball.sportsapipro.com/predictions \
  --header 'x-api-key: <api-key>'

Overview

Returns AI-powered predictions for basketball games, including predicted winners, scores, and confidence levels.

Query Parameters

gameId
integer
required
Game ID to get predictions for

Code Examples

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

Response Structure

prediction
object
Game prediction data
Predictions are for informational purposes only and should not be the sole basis for betting decisions.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

gameId
integer
required

Game ID

Example:

12345

Response

200

Predictions retrieved successfully