Athletes
Athlete Season Stats
Get season-by-season statistics for an athlete in a specific competition
GET
Athlete Season Stats
Endpoint
Description
Retrieves comprehensive season-by-season statistics for a specific athlete, optionally filtered by competition. This endpoint provides historical performance data essential for career analysis, season comparisons, and statistical breakdowns.Built-in TTL: 300 seconds (5 minutes). Season statistics are cached longer as they change less frequently.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
athleteId | number | Yes | - | The unique identifier of the athlete |
competitionId | number | Yes* | - | The competition to retrieve stats for |
Common competition IDs: Premier League (
7), La Liga (104), Serie A (17), Bundesliga (199), Ligue 1 (176), Champions League (572).Request Examples
Response
Response Fields
Root Object
| Field | Type | Description |
|---|---|---|
lastUpdateId | number | Internal versioning ID for incremental updates |
requestedUpdateId | number | Requested update ID (-1 = latest) |
ttl | number | Cache TTL in seconds (300 for this endpoint) |
stats | object | Statistics container with columns and rows |
athletes | array | Athlete information |
competitions | array | Competition definitions |
sports | array | Sport definitions |
Stats Object
| Field | Type | Description |
|---|---|---|
columns | array | Column definitions for interpreting row data |
rows | array | Season-by-season statistical data |
Column Object
| Field | Type | Description |
|---|---|---|
id | string | Column identifier |
name | string | Human-readable column name |
type | string | Data type: “string”, “number” |
Row Object (Season Stats)
| Field | Type | Description |
|---|---|---|
season | string | Season display name (e.g., “2024/25”) |
seasonNum | number | Numeric season identifier |
competitionId | number | Competition ID |
competitionName | string | Competition name |
appearances | number | Total appearances |
goals | number | Goals scored |
assists | number | Assists provided |
yellowCards | number | Yellow cards received |
redCards | number | Red cards received |
minutesPlayed | number | Total minutes played |
avgRating | number | Average match rating (1.0-10.0) |
Use Cases
Career Statistics Table
Season Comparison Chart
Multi-Competition Career Summary
Error Responses
| Status | Description |
|---|---|
| 400 | Missing required athleteId parameter |
| 401 | Invalid or missing API key |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
Authorizations
Your SportsAPI Pro API key
Query Parameters
The unique identifier of the athlete
Example:
874
Filter stats to a specific competition
Example:
104
Last modified on March 15, 2026
Athlete Season Stats