/soccer/matches/{id}/lineupsGet soccer match lineups
Returns the lineups for a single soccer match, including formations, substitutes, coaches and team colors. lineup_type "confirmed": published by the clubs, about an hour before kickoff (official sources win). Before that, for a match not started, lineup_type "expected": each team's last confirmed lineup (at most 45 days old) without the players listed as missing for this match; expected names the match each side is based on and who was removed (replacements are not guessed).
Parameters
idinteger · pathrequiredMatch ID
Response
JSON with success, the result in data, and where the endpoint pages its results meta.
dataobjectaway_teamobjectformationstringidintegernamestringcoachesobjectexpectedobjecthome_teamobjectformationstringidintegernamestringleagueobjectnamestringrefstringlineup_typestringLineupType is "confirmed" (published by the clubs, about an hour before kickoff) or "expected" (built by us from each team's last lineup minus players listed as missing; see expected).
lineupsobjectmatch_datestringmatch_idintegersourcesobjectfields from an official source
sportstringstart_timestringstatusstringsubstitutesobjectteam_colorsobjecterrorobjectcodestringmessagestringmetaobjectattributionstringAttribution a data source's licence asks for (Cricsheet's history).
limitintegeroffsetintegertotalintegersuccessboolean
Errors
| Status | Code | When |
|---|---|---|
| 400 | INVALID_PARAM | A parameter is missing or wrong, and the message names it. Fix the request; do not retry it. |
| 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). |
| 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