Skip to main content
GET
Game Details

Endpoint

Description

Returns comprehensive details for a specific match, including lineups with player statistics, events, player heat maps, betting odds, predictions, top performers, shot chart data (xG), venue, officials, and current status.

How to Get the Parameters

To call this endpoint, you need both gameId and matchupId. Here’s how to obtain them:
  1. From the /games/allscores endpoint: When fetching games, each game object contains:
    • id - Use this as gameId
    • Construct matchupId from: homeCompetitorId-awayCompetitorId-competitionId
  2. From the /games/fixtures endpoint: Each game object contains the necessary IDs

Parameters

matchupId Format

The matchupId parameter uses hyphens to separate IDs:
  • Format: homeCompetitorId-awayCompetitorId-competitionId
  • Example: "14-106-9" for Cardiff (14) vs Chelsea (106) in EFL Cup (9)

Request

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

Root Level Fields

Response Example


Game Object Fields

Basic Game Information

Game Status & Timing

Game Feature Flags

Game State

Precise Game Time Object


Competitor Object Fields

Both homeCompetitor and awayCompetitor share this structure:

Basic Competitor Info

Competitor Status

Recent Matches


Lineups Object Fields

Lineup Info

Player Status Types

Player/Member Object

Position Object

Formation Object

Yard Formation Object (Field Position)

Position Categories


Player Stats Array

Each stat object contains:

Stat Categories

Common Stat Types


Substitution Object

For substitute players:

Injury Object

For missing players:

Suspension Object


Season Stats Array

For missing players, season stats may be included:

Heat Map


Stages Array

Each stage object contains:

Example


Events Array

Each event object contains:

Event Type Object

Event Types

Goal Subtypes

For substitutions, extraPlayers contains the ID of the player being replaced.

Venue Object


Officials Array

Each official object contains:

Video Object


Widgets Array

Each widget contains:

Predictions Array

Each prediction contains:

Prediction Types

Odds Object

Line Type Object

Bookmaker Object

Action Button Object

Betting Options Array

Each option contains:

Rate Object (Odds)

Original Rate Object (Opening Odds)

Prediction Options Array (User Voting)

Each option contains:

Vote Object


Top Performers Object

Categories Array

Each category contains:

Player Object (in Top Performers)


Play By Play Object


Chart Events Object (Shot Chart Data)

Events Array

Each event contains:

Outcome Object

Shot Outcome Types

Event Types Array

Statuses Array

Event Sub Types Array


Actual Play Time Object

Actual Time Object

Total Time Object


Members Array (All Players)

Top-level array containing all players from both teams:

Sports Array

Each sport contains:

Countries Array

Each country contains:

Competitions Array

Each competition contains:

Player Images

Player images can be retrieved using the athlete ID:
Example: /images/athletes/53950?imageVersion=32

Heat Maps

Each player’s heatMap field contains a URL to their positional heat map image for the match.

Test Data

Use these sample values for testing:

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

gameId
integer
required

Game ID

Example:

12345

lastUpdateId
integer

For efficient polling

Response

Game details retrieved successfully

Last modified on June 29, 2026