Overview
The Player endpoints provide access to Premier League player statistics, including goals scored and assists provided. Data can be retrieved in JSON format or exported as CSV/JSON files.Get Top Goalscorers
Query Parameters
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Defaults to current season if not specified.Maximum number of results to return.Must be a positive integer. If not specified, returns all available results.
Filter results by league name.Supported values:
Premier League, La Liga, Serie A, Ligue 1, BundesligaResponse
Array of player objects with goal scoring statistics
Get Top Assist Providers
Query Parameters
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Defaults to current season if not specified.Maximum number of results to return.Must be a positive integer. If not specified, returns all available results.
Filter results by league name.Supported values:
Premier League, La Liga, Serie A, Ligue 1, BundesligaResponse
Array of player objects with assist statistics
Export Goalscorers to CSV
Query Parameters
Name for the exported file (without extension).The filename will be sanitized for security. Special characters and path separators will be removed.
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Maximum number of results to include in the export.
Include a header row in the CSV file with this text.
Filter results by league name.
Response
CSV file download with
text/csv MIME type.The file contains player statistics with columns: Name, Country, Club, Goals, In Play Goals+PenaltyError Responses
Export Assists to CSV
Query Parameters
Name for the exported file (without extension).The filename will be sanitized for security. Special characters and path separators will be removed.
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Maximum number of results to include in the export.
Include a header row in the CSV file with this text.
Filter results by league name.
Response
CSV file download with
text/csv MIME type.The file contains player statistics with columns: Name, Country, Club, AssistsError Responses
Export Goalscorers to JSON
Query Parameters
Name for the exported file (without extension).The filename will be sanitized for security. Special characters and path separators will be removed.
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Maximum number of results to include in the export.
Include metadata in the JSON file with this key.
Filter results by league name.
Response
JSON file download with
application/json MIME type.The file contains an array of player objects with goal statistics.Error Responses
Export Assists to JSON
Query Parameters
Name for the exported file (without extension).The filename will be sanitized for security. Special characters and path separators will be removed.
Filter results by season. Format:
YYYY-YYYY (e.g., 2023-2024)Maximum number of results to include in the export.
Include metadata in the JSON file with this key.
Filter results by league name.
Response
JSON file download with
application/json MIME type.The file contains an array of player objects with assist statistics.