Skip to content
API reference / Soccer
GET/soccer/matches/{id}/lineups

Get 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).

In the plans that cover this sportPay per call without a key: $0.005 in USDC

Parameters

  • idinteger · pathrequired

    Match ID

Response

JSON with success, the result in data, and where the endpoint pages its results meta.

  • dataobject
  • away_teamobject
  • formationstring
  • idinteger
  • namestring
  • coachesobject
  • expectedobject
  • home_teamobject
  • formationstring
  • idinteger
  • namestring
  • leagueobject
  • namestring
  • refstring
  • lineup_typestring

    LineupType 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).

  • lineupsobject
  • match_datestring
  • match_idinteger
  • sourcesobject

    fields from an official source

  • sportstring
  • start_timestring
  • statusstring
  • substitutesobject
  • team_colorsobject
  • errorobject
  • codestring
  • messagestring
  • metaobject
  • attributionstring

    Attribution a data source's licence asks for (Cricsheet's history).

  • limitinteger
  • offsetinteger
  • totalinteger
  • successboolean

Errors

StatusCodeWhen
400INVALID_PARAMA parameter is missing or wrong, and the message names it. Fix the request; do not retry it.
401UNAUTHORIZEDThe key is missing, mistyped or was rotated.
402x402 offersNo key and no valid payment: the body lists what to pay. Only a 200 answer is charged.
403FORBIDDENThe sport or feature is not in your plan (FEATURE_NOT_IN_PLAN for Insights and other plan features).
404NOT_FOUNDNo 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

Was this page helpful?