Set-Pieces

The Set-Pieces resources provide access to individual statistical data related to set-piece events in a football match.

Corners

GET /v0/stats/setpieces/corners/(int: lineupID)

The Setpieces/Corners subresource allows you to access individual statistical data on corner kicks taken in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.

If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.

Response Parameters:

Field Type Description
lineup integer The unique ID of the player in match lineup.
penbox_success integer Total number of corners into penalty area that reach a teammate.
penbox_failure integer Total number of corners into penalty area that reach a teammate.
left_success integer Total number of successful corners from left side of pitch.
left_failure integer Total number of unsuccessful corners from left side of pitch.
right_success integer Total number of successful corners from right side of pitch.
right_failure integer Total number of unsuccessful corners from right side of pitch.
short integer Total number of corners that travel a short distance.
total integer Total number of corners taken by player in match.
OPTIONS /v0/stats/setpieces/corners

Returns documentation of the Setpieces/Corners subresource.

Free-Kicks

GET /v0/stats/setpieces/freekicks/(int: lineupID)

The Setpieces/Free-Kicks subresource allows you to access individual statistical data on direct free kicks taken in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.

If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.

Response Parameters:

Field Type Description
lineup integer The unique ID of the player in match lineup.
ontarget integer Total number of direct free kicks that entered the goal face.
offtarget integer Total number of direct free kicks that did not enter the goal face.
OPTIONS /v0/stats/setpieces/freekicks

Returns documentation of the Setpieces/Freekicks subresource.

Key Plays

GET /v0/stats/setpieces/keyplays/(int: lineupID)

The Setpieces/Keyplays subresource allows you to access individual statistical data on “key plays” that occur in a football match. Such plays could be those that have a direct impact in the match, but they can also be plays that meet a key performance indicator as described in the team’s game plan.

If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.

If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.

Response Parameters:

Field Type Description
lineup integer The unique ID of the player in match lineup.
corners integer Total number of corners taken deemed to have impact in match.
freekicks integer Total number of free kicks taken deemed to have impact in match.
throwins integer Total number of throw-ins taken deemed to have impact in match.
goalkicks integer Total number of goal kicks taken deemed to have impact in match.
OPTIONS /v0/stats/setpieces/keyplays

Returns documentation of the Setpieces/Keyplays subresource.

Throw-ins

GET /v0/stats/setpieces/throwins/(int: lineupID)

The Setpieces/Throwins subresource allows you to access individual statistical data on throw-ins taken in a football match. If lineupID is passed, it returns statistical data for a player in the match lineup that lineupID corresponds to.

If query parameters are passed to the resource, it returns the players in the match lineup who match the specified filters.

Response Parameters:

Field Type Description
lineup integer The unique ID of the player in match lineup.
teamplayer integer Total number of throw-ins controlled by a teammate.
oppplayer integer Total number of throw-ins controlled by an opposing player.
OPTIONS /v0/stats/setpieces/throwins

Returns documentation of the Setpieces/Throwins subresource.