cURL
curl --request GET \ --url https://v1.basketball.sportsapipro.com/standings \ --header 'x-api-key: <api-key>'
{ "standings": [ { "competitor": { "id": 123, "name": "<string>", "score": 123, "imageUrl": "<string>" }, "position": 123, "wins": 123, "losses": 123, "winPercentage": 123, "gamesBack": 123, "streak": "<string>", "conference": "<string>", "division": "<string>" } ] }
Get league standings and team rankings
curl -X GET "https://v1.basketball.sportsapipro.com/standings?competitions=132" \ -H "x-api-key: YOUR_API_KEY"
Show Standing Object
{ "standings": [ { "competitor": { "id": 678, "name": "Boston Celtics", "imageUrl": "..." }, "position": 1, "wins": 45, "losses": 12, "winPercentage": 0.789, "gamesBack": 0, "streak": "W5", "lastTen": "8-2", "conference": "Eastern", "division": "Atlantic" } ] }
Your SportsAPI Pro API key
Competition ID (e.g., 132 for NBA)
132
Season identifier (defaults to current)
Standings retrieved successfully
Show child attributes
Was this page helpful?