Skip to main content
GET
Athlete Game Lineups

Athlete Game Lineups

Retrieve comprehensive lineup information, statistics, heat maps, and shot chart data for a specific athlete’s performance in a particular game.

Endpoint

Parameters

All startTime fields in game data use ISO 8601 format with a dynamic timezone offset based on the resolved or specified timezone.

Example Request

Response Structure

Response Fields

Member Object

Formation vs YardFormation (Important Distinction)

The API provides two positioning fields with different purposes: Note: The 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

The formation object provides a labeled tactical role:

Formation ID Reference

Note: Formation IDs provide categorical position labels. For rendering players on a pitch diagram, use yardFormation coordinates instead.

YardFormation Object (Authoritative Field Positioning)

The yardFormation object describes the player’s exact position on a virtual pitch grid. This is the authoritative source for player positioning.

FieldSide Values (Horizontal Position)

Line Values (Depth)

FieldLine Values (Vertical Position)

Example positions:
  • Goalkeeper: line: 1, fieldPosition: 1, fieldLine: 0, fieldSide: 50
  • Left Back: line: 2, fieldPosition: 2, fieldLine: 33, fieldSide: 0
  • Left Centre Back: line: 2, fieldPosition: 3, fieldLine: 33, fieldSide: 33
  • Centre Back: line: 2, fieldPosition: 3, fieldLine: 25, fieldSide: 50
  • Right Back: line: 2, fieldPosition: 1, fieldLine: 33, fieldSide: 100
  • Central Midfielder: line: 3, fieldPosition: 2, fieldLine: 50, fieldSide: 50
  • Left Winger: line: 4, fieldPosition: 2, fieldLine: 75, fieldSide: 15
  • Centre Forward: line: 4, fieldPosition: 1, fieldLine: 85, fieldSide: 50

Deriving True Position from YardFormation

To determine a player’s actual position, combine line and fieldSide:

Stats Array

Each stat object contains: Common stat types:

ChartEvents Object (Shot Chart)

Contains shot/goal events for the game:

Stats Categories

Use Cases

  1. Player Match Analysis: Get detailed performance metrics for a player in a specific match
  2. Heat Map Visualization: Display player movement patterns during the game
  3. Shot Chart Display: Visualize all shots taken in the match with xG data
  4. Player Comparison: Compare performances of players in the same match

Notes

  • The yardFormation data helps accurately position players on a pitch visualization
  • Heat map URLs are ready-to-use image URLs with WebP format
  • Shot chart events include xG (Expected Goals) for quality analysis
  • Stats are categorized into Attacking (categoryId: 2) and Defending (categoryId: 3)
  • This endpoint provides more detailed player data than the general /game endpoint

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

athleteId
integer
required

The unique identifier of the athlete

Example:

80392

gameId
integer
required

The unique identifier of the game

Example:

4609054

Response

Athlete lineup data retrieved successfully

members
object[]

Lineup member data with stats and positioning

statsCategories
array
chartEvents
object

Shot chart data with xG

sports
array
countries
array
competitions
array
competitors
array
games
array
Last modified on June 29, 2026