Skip to main content
GET
Get a player's season stats
Walkthrough with code: Player and team stats.

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer YOUR_API_KEY. Get one at https://www.thestatsapi.com/api-keys

Path Parameters

player_id
string
required

Player ID, e.g. pl_45126714 (Bukayo Saka). Find IDs with GET /football/players?search=

Query Parameters

season_id
string
required

Season ID (required). Get it from GET /football/competitions/{competition_id}/seasons or the competition's current_season_id

competition_id
string

Only count matches in this competition

stage
enum<string>
default:all

regular counts league and group-stage matches only. playoff counts knockout and play-off matches only. all (default) counts every match the player appeared in for the season

Available options:
regular,
playoff,
all

Response

The player's season stats.

data
object