Skip to main content
GET
/
trends
Betting Trends
curl --request GET \
  --url https://api.sportsapipro.com/v1/basketball/trends \
  --header 'x-api-key: <api-key>'
V1 Legacy Endpoint — This is a V1 API endpoint. For new integrations, we recommend using the Basketball V2 API which provides richer data and more endpoints.

Overview

Returns public betting trends showing the percentage of bets on each side for spreads, moneylines, and totals.

Query Parameters

games
integer
required
Game ID to get trends for

Code Examples

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

Response Structure

Betting trends for the game

Example Response

{
  "trends": {
    "gameId": 12345,
    "spread": {
      "homePercent": 65,
      "awayPercent": 35
    },
    "moneyline": {
      "homePercent": 72,
      "awayPercent": 28
    },
    "total": {
      "overPercent": 55,
      "underPercent": 45
    }
  }
}

Use Case: Fade the Public

Contrarian betting strategies look for situations where the public is heavily on one side:
// Fade the public strategy
const fadeThreshold = 70; // Fade when public is > 70%

if (trends.spread.homePercent > fadeThreshold) {
  console.log(`Fade play: ${trends.spread.homePercent}% on home - consider away`);
}

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

games
integer
required

Game ID

Example:

12345

Response

200

Betting trends retrieved successfully

Last modified on June 29, 2026