Get detailed lineup and performance data for a specific athlete in a specific game
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
athleteId | number | Yes | - | The unique identifier of the athlete |
gameId | number | Yes | - | The unique identifier of the game |
appTypeId | number | No | 5 | Application type identifier |
langId | number | No | 1 | Language ID (1 = English) |
timezoneName | string | No | Auto-resolved | Timezone for date/time values (auto-resolved, or specify e.g., America/New_York) |
userCountryId | number | No | 65 | User’s country ID |
startTime fields in game data use ISO 8601 format with a dynamic timezone offset based on the resolved or specified timezone.| Field | Type | Description |
|---|---|---|
status | number | Player status (1 = Starting, 2 = Substitute, etc.) |
statusText | string | Human-readable status (“Starting”, “Substitute”) |
position | object | Player’s general position (Goalkeeper, Defender, Midfielder, Forward) |
formation | object | Specific formation role (e.g., Centre Back, Left Back, etc.) |
yardFormation | object | Field positioning data (see below) |
ranking | number | Player’s match rating (1.0 - 10.0 scale) |
hasHighestRanking | boolean | Whether player has highest rating on team |
hasStats | boolean | Whether detailed stats are available |
stats | array | Array of performance statistics |
heatMap | string | URL to player’s heat map image (proxied through branded domain) |
hasShotChart | boolean | Whether shot chart data is available |
athleteId | number | Unique athlete identifier |
name | string | Full player name |
shortName | string | Short/display name |
jerseyNumber | number | Player’s shirt number |
nameForURL | string | URL-friendly name slug |
| Field | Purpose | Accuracy |
|---|---|---|
formation | General role label (e.g., “Left Back”, “Centre Back”) | Generalized - may group similar positions |
yardFormation | Precise field coordinates | Authoritative - use this for accurate positioning |
formation.name field represents a generalized tactical role and may show the same label for players in adjacent positions. For precise positioning (e.g., distinguishing a Left Back from a Left Centre Back), always use the yardFormation data.
formation object provides a labeled tactical role:
| Field | Type | Description |
|---|---|---|
id | number | Formation position ID (see table below) |
name | string | Full position name |
shortName | string | Abbreviated position name |
| ID | Name | Position Group |
|---|---|---|
| 1 | Goalkeeper | Goalkeeper |
| 2 | Left Back | Defender |
| 3 | Right Back | Defender |
| 4 | Left Wing Back | Defender |
| 5 | Centre Back | Defender |
| 6 | Right Wing Back | Defender |
| 7 | Sweeper | Defender |
| 8 | Left Midfielder | Midfielder |
| 9 | Right Midfielder | Midfielder |
| 10 | Defensive Midfielder | Midfielder |
| 11 | Central Midfielder | Midfielder |
| 12 | Attacking Midfielder | Midfielder |
| 13 | Left Winger | Midfielder |
| 14 | Right Winger | Midfielder |
| 15 | Second Striker | Forward |
| 16 | Centre Forward | Forward |
| 17 | Striker | Forward |
| 18 | Left Centre Back | Defender |
| 19 | Right Centre Back | Defender |
| 20 | Left Defensive Midfielder | Midfielder |
| 21 | Right Defensive Midfielder | Midfielder |
| 22 | Left Central Midfielder | Midfielder |
| 23 | Right Central Midfielder | Midfielder |
| 24 | Left Attacking Midfielder | Midfielder |
| 25 | Right Attacking Midfielder | Midfielder |
yardFormation coordinates instead.
yardFormation object describes the player’s exact position on a virtual pitch grid. This is the authoritative source for player positioning.
| Field | Type | Description |
|---|---|---|
line | number | Defensive depth line (1 = GK, 2 = Defense, 3 = Midfield, 4 = Attack) |
fieldPosition | number | Position number within the line (1-5, ordered by horizontal position) |
fieldLine | number | Vertical position as percentage (0 = own goal line, 100 = opponent goal) |
fieldSide | number | Horizontal position as percentage (0 = left touchline, 100 = right touchline, 50 = center) |
| fieldSide | Position Description |
|---|---|
| 0 | Left touchline (Left Back) |
| 25-33 | Left-center (Left Centre Back) |
| 50 | Center (Centre Back / Central Midfielder) |
| 66-75 | Right-center (Right Centre Back) |
| 100 | Right touchline (Right Back) |
| line | Position Group |
|---|---|
| 1 | Goalkeeper |
| 2 | Defenders |
| 3 | Midfielders |
| 4 | Forwards/Attackers |
| fieldLine | Typical Position |
|---|---|
| 0-10 | Goalkeeper area |
| 20-35 | Defensive line |
| 40-60 | Midfield |
| 70-90 | Attacking positions |
| 90+ | Striker/Forward positions |
line: 1, fieldPosition: 1, fieldLine: 0, fieldSide: 50line: 2, fieldPosition: 2, fieldLine: 33, fieldSide: 0line: 2, fieldPosition: 3, fieldLine: 33, fieldSide: 33line: 2, fieldPosition: 3, fieldLine: 25, fieldSide: 50line: 2, fieldPosition: 1, fieldLine: 33, fieldSide: 100line: 3, fieldPosition: 2, fieldLine: 50, fieldSide: 50line: 4, fieldPosition: 2, fieldLine: 75, fieldSide: 15line: 4, fieldPosition: 1, fieldLine: 85, fieldSide: 50line and fieldSide:
| Field | Type | Description |
|---|---|---|
type | number | Stat type identifier |
value | string | Stat value (may include formatting like “23/29 (79%)“) |
isTop | boolean | Whether this is a key/top stat |
categoryId | number | Category (2 = Attacking, 3 = Defending) |
name | string | Full stat name |
shortName | string | Abbreviated stat name |
order | number | Display order |
imageId | number | Icon identifier |
| Type | Name |
|---|---|
| 3 | Total Shots |
| 19 | Passes Completed |
| 23 | Goalkeeper Saves |
| 26 | Assists |
| 27 | Goals |
| 30 | Minutes |
| 37 | Was Fouled |
| 39 | Tackles Won |
| 40 | Clearances |
| 41 | Interceptions |
| 42 | Fouls Made |
| 45 | Touches |
| 46 | Key Passes |
| 53 | Long Passes Completed |
| 54 | Successful Dribbles |
| 55 | Ground Duels Won |
| 56 | Aerial Duels Won |
| 73 | Possession Lost |
| 76 | Expected Goals (xG) |
| 78 | Expected Assists (xA) |
| 86 | Ball Recovery |
| Field | Type | Description |
|---|---|---|
xg | string | Expected Goals value for the shot |
xgot | string | Expected Goals on Target |
bodyPart | string | Body part used (“Left foot”, “Right Foot”, “Header”) |
goalDescription | string | Shot placement (“Low Centre”, “High Left”, etc.) |
time | string | Minute of the event |
playerId | number | ID of the player who took the shot |
line | number | Vertical position on pitch (%) |
side | number | Horizontal position on pitch (%) |
outcome | object | Result of the shot (Goal, Saved, Missed, Blocked) |
| ID | Name |
|---|---|
| 2 | Attacking |
| 3 | Defending |
yardFormation data helps accurately position players on a pitch visualization/game endpointYour SportsAPI Pro API key
The unique identifier of the athlete
80392
The unique identifier of the game
4609054