pl_player_comp_stats
Retrieve a player's career stats aggregated across a competition by supplying competition and player IDs, including goals, assists, expected goals, and pass counts.
Instructions
A player's career stats aggregated across the competition (all seasons).
Returns: {player, stats:{…Opta player metrics: goals, goalAssists, expectedGoals, totalPasses, …}}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | Competition id (8). Required — part of the URL path. | |
| pid | Yes | Player id. Required — part of the URL path. |