Skip to main content
GET
Betting Lines
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 betting lines for basketball games including point spreads, moneylines, and over/under totals from multiple sportsbooks.

Query Parameters

integer
required
Game ID to get lines for

Code Examples

Response Structure

object
Betting lines for the game

Example Response

Odds Format

All odds are returned in American format:
  • Negative odds (e.g., -150): Amount to bet to win $100
  • Positive odds (e.g., +130): Amount won on a $100 bet

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

gameId
integer
required

Game ID

Example:

12345

Response

200 - application/json

Betting lines retrieved successfully

lines
object
Last modified on June 29, 2026