Developers · API Reference
API v1

Data API · Fixtures

Get a match squad

GET/api/v1/datas/squad/{match_id}

Returns match information, lineups and formations for both teams.

Bearer authentication required · service: data_api

Reference only — this page never sends API requests or exposes token controls.

Response formats

When format is listed below, use json for the response documented here, or csv and xml for downloads. JSON uses camelCase by default; set case=snake_case when supported for legacy key names. Nested response fields use dot notation; [] denotes an array item and {key} a dynamic object key.

Path parameters

ParameterTypeRequiredDescription
match_id integer Required Match ID Minimum 1.

Query parameters

ParameterTypeRequiredDescription
format string Required Response format. Allowed: json, csv, xml.
case string Optional JSON response key style. Default: camelCase. Allowed: camelCase, snake_case.

Response attributes

AttributeTypeDescription
matchobjectMatch metadata.
match.idintegerMatch ID.
match.homeSquadIdintegerHome squad ID.
match.awaySquadIdintegerAway squad ID.
match.homeTeamScoreinteger|nullHome-team score. Only published once the analysis has produced it; null while the match is still being worked on, so a fixture is never reported as a false 0-0.
match.awayTeamScoreinteger|nullAway-team score. Only published once the analysis has produced it; null while the match is still being worked on, so a fixture is never reported as a false 0-0.
match.statusstring|nullWhere the match stands in the calendar: Scheduled until kickoff, Ended once the kickoff time has passed, whatever our analysis has done. The same value on every endpoint that publishes it. Use matchStatus for the delivery state.
match.statusIdintegerNumeric form of status: 1 Scheduled, 7 Ended.
match.matchStatusinteger|nullDelivery state: 1 not started, 8 in progress, 9 delivered, 10 rejected (final), 11 on hold (paused, may resume), 12 no detailed match data. Describes our analysis, not the score - see hasFinalScore.
match.matchStatusReasonstring|nullWhy the match will not be delivered or is paused. Populated on matchStatus 10 and 11 only.
match.matchStatusUpdatedAtstring|nullUTC timestamp of the last delivery-state change (ISO 8601).
match.hasFinalScorebooleanWhether the published score is the final one.
match.providerIdstring|nullProvider identifier.
match.competitionIdinteger|nullCompetition ID.
homeSquadobjectHome squad metadata.
homeSquad.idintegerHome squad ID.
homeSquad.teamIdintegerHome team ID.
homeSquad.isHomebooleanWhether this is the home squad.
homeSquad.formationstring|nullTeam formation.
awaySquadobjectAway squad metadata.
awaySquad.idintegerAway squad ID.
awaySquad.teamIdintegerAway team ID.
awaySquad.isHomebooleanWhether this is the home squad.
awaySquad.formationstring|nullTeam formation.
homePlayersarrayHome-team players.
homePlayers[].idintegerPlayer ID.
homePlayers[].namestring|nullPlayer name.
homePlayers[].numberinteger|nullSquad number.
homePlayers[].starterbooleanWhether the player started the match.
homePlayers[].matchPositionstring|nullMatch position.
homePlayers[].position1string|nullPrimary position.
homePlayers[].providerIdstring|nullProvider identifier.
homePlayers[].nationalitiesarrayPlayer nationalities.
homePlayers[].nationalities[].idintegerNationality ID.
homePlayers[].nationalities[].namestring|nullNationality name.
homePlayers[].nationalities[].shortNamestring|nullNationality short name.
homePlayers[].positionsarrayPlayer positions.
homePlayers[].positions[].idintegerPosition ID.
homePlayers[].positions[].namestring|nullPosition name.
homePlayers[].positions[].shortNamestring|nullPosition short name.
awayPlayersarrayAway-team players.
awayPlayers[].idintegerPlayer ID.
awayPlayers[].namestring|nullPlayer name.
awayPlayers[].numberinteger|nullSquad number.
awayPlayers[].starterbooleanWhether the player started the match.
awayPlayers[].matchPositionstring|nullMatch position.
awayPlayers[].position1string|nullPrimary position.
awayPlayers[].providerIdstring|nullProvider identifier.
awayPlayers[].nationalitiesarrayPlayer nationalities.
awayPlayers[].nationalities[].idintegerNationality ID.
awayPlayers[].nationalities[].namestring|nullNationality name.
awayPlayers[].nationalities[].shortNamestring|nullNationality short name.
awayPlayers[].positionsarrayPlayer positions.
awayPlayers[].positions[].idintegerPosition ID.
awayPlayers[].positions[].namestring|nullPosition name.
awayPlayers[].positions[].shortNamestring|nullPosition short name.