/basketball/teams/{id}/squadGet a team's squad
The team and its current players, refreshed weekly: soccer from the league squad feeds; NBA, WNBA, NCAA, Euroleague, NHL, MLB, KBO, NPB, NFL and NCAA football from team rosters. Players' details carry the feed's other attributes (soccer season stats; height, weight, college, salary, bats/throws, shot...; group is the roster section such as Pitchers or Offense).
Parameters
idinteger · pathrequiredTeam ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectplayersarray of objectageintegerattributionstringbioobjectBio (soccer, only on /players/{id}): the normalised profile (full and short name, birth date and age, position, number, club, market value); profile above stays the feed's sections as sent.
birthdatestringFrom the soccer player profile.
detailsobjectDetails: the feed's other attributes, as sent (season stats, height, weight, college, injured...); keys differ per sport.
filled_from_wikidataarray of stringheightstringidintegermarket_value_eurintegernamestringnationalitystringnumberstringphoto_urlstringPhotoURL: the player's photo on this API (image licence not included).
positionstringpreferred_footstringprofileobjectProfile: as sent, only on /players/{id}. Soccer: career statistics, transfers, trophies, sidelined. Tennis: birthplace, residence, plays, career_high, earnings, recent results and tournaments.
rankintegerrank_movementstringup, down or same since the last list
rank_pointsintegerratingobjectRating (tennis, only on /players/{id}): the player's Elo-style rating from our results (docs/ratings.md).
seasonobjectSeason (soccer, only on /players/{id}): the current season in every competition we hold statistics for, summed and per competition.
sportstringteam_idintegertourstringTennis singles ranking (atp or wta), when the player is in it.
transfersarray of objectTransfers (soccer, only on /players/{id}): the profile's transfers normalised, latest first.
updated_atstringweightstringwikidataobjectWikidata: the player's Wikidata values (cricket, tennis; only on /players/{id}); birthdate, height and nationality above are filled from it only where the feed has none (listed in filled_from_wikidata).
teamobjectabbreviationstringattributionstringcoachobjectCoach: the current head coach from Wikidata (soccer; only on /teams/{id}), with the attribution.
coach_idintegercoach_namestringcountrystringfoundedstringidintegeris_nationalbooleanis_womenbooleanleague_idsarray of integerleagues played in during the last 120 days
logo_urlstringLogoURL: the team's logo on this API (image licence not included).
namestringplayers_with_valueintegerprofileobjectProfile: soccer profile sections as sent (transfers, trophies, sidelined, detailed_stats); only on /teams/{id}.
ratingobjectRating: the team's Elo-style rating with its rank in its league and its last 10 rated matches (only on /teams/{id}; docs/ratings.md).
sportstringsquad_playersintegersquad_value_eurintegerSquad market value (soccer, only on /teams/{id}): the sum of the current squad's market values, over players_with_value of squad_players.
updated_atstringvenue_addressstringvenue_capacityintegervenue_citystringvenue_idintegervenue_namestringvenue_surfacestringerrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 404 | NOT_FOUND | No record with that id. |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON