Skip to content
API v2 docs

Leagues

Award teams

GET

/v2/leagues/{id}/award-teams

All plans

Markdown copyOpen in the playground →

The award teams named for a season — All-NBA First, Second and Third Team, All-Defensive, All-Rookie and others. The players of each are on /v2/leagues/{id}/award-teams/{teamId}.

Parameters

id

pathrequired

league id issued by DataSportsAPI, a positive integer

season

queryrequired

season id, as listed by /v2/leagues/{id}/seasons

Response

meta
season, count
errors
403 history_not_in_plan — your plan’s history window begins after this season ended404 no_data — our data source has no award teams for that season

The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.

curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/leagues/{id}/award-teams?season=…"
Example
{ "data": [ { "id": 1190001, "key": "best-first", "name": "1st Team" }, { "id": 1190002, "key": "best-second", "name": "2nd Team" }, … ],
  "meta": { "season": 80229, "count": 7 } }