cURL
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 } } } }
Get betting lines for tennis matches
curl -X GET "https://v1.tennis.sportsapipro.com/bets/lines?gameId=4668072" \ -H "x-api-key: YOUR_API_KEY"
Your SportsAPI Pro API key
Match ID
4668072
Betting lines retrieved successfully
Show child attributes
Was this page helpful?