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

Endpoint

GET https://v1.football.sportsapipro.com/competitors/top

Description

Returns the top competitors (teams/clubs) sorted by popularity, along with related sports and countries data. Useful for featuring popular teams on dashboards and navigation.

Parameters

ParameterTypeDescription
limitnumberNumber of top competitors to return (e.g., 10, 20, 50)
sportsnumberFilter by sport ID (e.g., 1 for Football)
withSeasonsbooleanInclude season information for each competitor
isDashboardbooleanOptimize response for dashboard display
appTypeIdnumberClient application type identifier (auto-resolved)
langIdnumberLanguage identifier (auto-resolved)
timezoneNamestringTimezone for date/time values (auto-resolved, or specify e.g., America/New_York)
userCountryIdnumberUser’s country for localization (auto-resolved)
Parameters marked as “auto-resolved” are automatically determined by the upstream service based on the request context. You can override timezoneName with a specific timezone (e.g., America/New_York). All date/time fields use ISO 8601 format with a dynamic timezone offset.

Request

curl -X GET "https://v1.football.sportsapipro.com/competitors/top?limit=10&sports=1" \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "lastUpdateId": 5494749399,
  "requestedUpdateId": -1,
  "ttl": 300,
  "sports": [
    {
      "id": 1,
      "name": "Football",
      "nameForURL": "football",
      "drawSupport": true,
      "imageVersion": 1
    }
  ],
  "countries": [
    {
      "id": 1,
      "name": "England",
      "nameForURL": "england",
      "sportTypes": [1, 9, 11],
      "imageVersion": 1,
      "isInternational": false
    },
    {
      "id": 2,
      "name": "Spain",
      "nameForURL": "spain",
      "sportTypes": [1, 2, 5, 8, 9],
      "imageVersion": 1,
      "isInternational": false
    }
  ],
  "competitors": [
    {
      "id": 132,
      "countryId": 2,
      "sportId": 1,
      "name": "FC Barcelona",
      "shortName": "Barcelona",
      "symbolicName": "BAR",
      "nameForURL": "fc-barcelona",
      "type": 1,
      "popularityRank": 77506,
      "imageVersion": 3,
      "color": "#282E60",
      "awayColor": "#E2CFA5",
      "mainCompetitionId": 11,
      "hasSquad": true,
      "hasTransfers": false,
      "competitorNum": 0,
      "hideOnSearch": false,
      "hideOnCatalog": false
    },
    {
      "id": 131,
      "countryId": 2,
      "sportId": 1,
      "name": "Real Madrid",
      "symbolicName": "RMA",
      "nameForURL": "real-madrid",
      "type": 1,
      "popularityRank": 82570,
      "imageVersion": 4,
      "color": "#FFFFFF",
      "awayColor": "#464E69",
      "mainCompetitionId": 11,
      "hasSquad": true,
      "hasTransfers": false,
      "competitorNum": 0,
      "hideOnSearch": false,
      "hideOnCatalog": false
    }
  ]
}

Response Fields

Root Level

FieldTypeDescription
lastUpdateIdnumberInternal versioning ID for incremental updates
requestedUpdateIdnumberThe update ID requested (-1 means latest)
ttlnumberCache time-to-live in seconds (typically 300)
sportsarrayList of sports referenced by competitors
countriesarrayList of countries referenced by competitors
competitorsarrayList of top competitors sorted by popularity

Competitor Object

FieldTypeDescription
idnumberUnique competitor identifier
countryIdnumberID of the country the competitor belongs to
sportIdnumberID of the sport (1 = Football)
namestringFull competitor name
shortNamestringAbbreviated display name (e.g., “Barcelona”, “Man Utd”)
longNamestringExtended official name
symbolicNamestring3-letter code (e.g., “BAR”, “RMA”, “MUN”)
nameForURLstringURL-friendly competitor name
typenumberCompetitor type (1 = club, 2 = national team)
popularityRanknumberPopularity score (higher = more popular)
imageVersionnumberVersion number for competitor logo assets
colorstringPrimary brand color in hex format
awayColorstringAway kit/secondary color in hex format
mainCompetitionIdnumberPrimary competition ID (e.g., domestic league)
hasSquadbooleanWhether squad/roster data is available
hasTransfersbooleanWhether transfer data is available
competitorNumnumberInternal competitor number
hideOnSearchbooleanWhether hidden from search results
hideOnCatalogbooleanWhether hidden from main catalog

Country Object

FieldTypeDescription
idnumberUnique country identifier
namestringCountry display name
nameForURLstringURL-friendly country name
sportTypesarrayArray of sport IDs available in this country
imageVersionnumberVersion number for country flag assets
isInternationalbooleanWhether this is an international/continental region

Competitor Types

TypeDescription
1Club/Team (e.g., FC Barcelona, Manchester United)
2National Team (e.g., Spain, England)

Top Football Clubs

ClubCountryIDCompetition
FC BarcelonaSpain132LaLiga
Real MadridSpain131LaLiga
Manchester UnitedEngland105Premier League
ChelseaEngland106Premier League
Manchester CityEngland110Premier League
LiverpoolEngland108Premier League
ArsenalEngland104Premier League
Bayern MunichGermany331Bundesliga
JuventusItaly226Serie A
PSGFrance480Ligue 1

Competitor Images

Competitor logos can be accessed via the images proxy:
https://v1.football.sportsapipro.com/images/competitors/{id}?version={imageVersion}
Example:
https://v1.football.sportsapipro.com/images/competitors/132?version=3

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Response

200

Top teams retrieved successfully