Skip to main content
GET
Player Game Logs

Endpoint

Description

Retrieves the game history for a specific athlete with summary display statistics. This endpoint is useful for building player career pages and tracking game appearances.
Summary Stats Only: This endpoint returns basic display stats (jersey number, match result indicator), not detailed performance metrics. For granular per-game stats like shots, tackles, and xG, use the /athletes/games/lineups endpoint.
Built-in TTL: 60 seconds. Game history is cached for efficient repeated queries.

Parameters

Both athleteId and athletes parameter names are supported. The API accepts either for convenience.

Request Examples

Response

Response Fields

Root Object

Game Object

athleteStats Array

The athleteStats field contains an array of summary display statistics with numeric type IDs:

Empty Stats Objects

The athleteStats array may contain empty objects {} for stats with zero values. This is by design - stat types are omitted when the value is zero to reduce response size.
Example Response with Zero Values:
Solution: Always check for empty objects when parsing:
For more details on handling empty responses, see our Troubleshooting Guide.
Need Detailed Stats? For comprehensive per-game metrics like shots, tackles, xG, pass accuracy, and 40+ other stats, use the two-step workflow below.

Getting Detailed Player Stats

The /athletes/games endpoint provides summary data. For detailed performance metrics, combine it with /athletes/games/lineups:
The lineups endpoint returns 40+ detailed metrics including:
  • Shots (type 3), Shots on Target (type 4)
  • Tackles Won (type 39), Interceptions (type 41)
  • Expected Goals (type 76), Pass Accuracy
  • Minutes Played, Match Rating, and more

Use Cases

Player Career Page

Recent Form Widget

Error Responses

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

athleteId
integer
required

Player ID

Example:

12345

numOfGames
integer
default:10

Number of games to return

Example:

10

Response

200

Player game logs retrieved successfully

Last modified on June 29, 2026