Skip to main content
GET
/
competitions
/
top
Top Competitions
curl --request GET \
  --url https://v1.basketball.sportsapipro.com/competitions/top \
  --header 'x-api-key: <api-key>'

Overview

Returns the most popular basketball competitions, sorted by popularity and coverage level.

Code Examples

curl -X GET "https://v1.basketball.sportsapipro.com/competitions/top" \
  -H "x-api-key: YOUR_API_KEY"

Response Structure

competitions
array
Array of top competitions ordered by popularity
Use this endpoint to populate league selection dropdowns or navigation menus with the most relevant competitions.

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Response

200

Top competitions retrieved successfully