pl_player_comp_stats
Retrieve a player's career statistics aggregated across all seasons in a competition. Provide competition and player IDs to get goals, assists, expected goals, passes, and more.
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. |