Skip to main content
GET
/
bets
/
lines
Betting Lines
curl --request GET \
  --url https://v1.tennis.sportsapipro.com/bets/lines \
  --header 'x-api-key: <api-key>'
{
  "lines": {
    "gameId": 123,
    "markets": {
      "moneyline": {
        "home": 123,
        "away": 123
      },
      "gameSpread": {
        "line": 123,
        "home": 123,
        "away": 123
      },
      "totalGames": {
        "line": 123,
        "over": 123,
        "under": 123
      }
    }
  }
}

Overview

Returns betting lines for a specific tennis match including moneylines, game spreads, and set totals from multiple sportsbooks.

Code Examples

curl -X GET "https://v1.tennis.sportsapipro.com/bets/lines?gameId=4668072" \
  -H "x-api-key: YOUR_API_KEY"

Parameters

gameId
integer
required
The match ID to get betting lines for

Tennis Betting Markets

  • Moneyline: Winner of the match
  • Game Spread: Handicap on total games won
  • Set Spread: Handicap on sets won
  • Total Games: Over/under on total games in match
  • Set Betting: Exact set score prediction

Response Structure

lines
object
Betting lines organized by market type and bookmaker
Betting data availability varies by match and region. Grand Slam and ATP/WTA main draw matches have the best coverage.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

gameId
integer
required

Match ID

Example:

4668072

Response

200 - application/json

Betting lines retrieved successfully

lines
object