/rugby/teamsList teams
Teams of a sport that played in the last 120 days, with the leagues they played in. Filter by league_id or by name (q). Soccer teams also carry country, venue and coach from the league squad feeds.
Parameters
league_idinteger · queryOnly teams of this league
qstring · queryName contains
limitinteger · queryMaximum results (1-100)
Default:50offsetinteger · queryResults to skip
Default:0
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataarray of objectabbreviationstringattributionstringcoachobjectCoach: the current head coach from Wikidata (soccer; only on /teams/{id}), with the attribution.
appointedstringYYYY-MM-DD
drawnintegerlostintegernamestringplayedintegerwith appointed only
previous_clubobjectprevious_coachobjectThe team's coach before this one and this coach's own team before (a club or national team), from Wikidata; absent when not known.
record_completebooleanfalse: our history starts after the appointment, record partial
record_fromstringfirst match counted, YYYY-MM-DD
rolestringe.g. caretaker
sourcestringWikidata, or the data provider (name only)
updated_atstringwikidata_idstringwonintegercoach_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).
historyarray of object/teams/{id}: the last 10 rated matches, latest first
last_match_datestringleague_idintegerleague_namestringmatches_ratedintegerofintegerpeaknumberprovisionalbooleanrankintegerrated_fromstringratingnumberteam_idintegerteam_namestringupdated_atstringsportstringsquad_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 |
|---|---|---|
| 401 | UNAUTHORIZED | The key is missing, mistyped or was rotated. |
| 402 | x402 offers | No key and no valid payment: the body lists what to pay. Only a 200 answer is charged. |
| 403 | FORBIDDEN | The sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features). |
All errors have the shape described in Errors and limits.
Generated from the OpenAPI file, version 1.0. See it as JSON