Welcome to the documentation for the Football API! This API provides endpoints for retrieving football-related data, including schedules, missing players, and events for various leagues and seasons.
The base URL for accessing the API is:
The Football API requires authentication. To obtain your API key, please sign up on RapidAPI and subscribe to the Football API.
/api/whoscored/games/schedule
leagues
(optional): IDs of leagues to include. Default: ‘ENG-Premier League’seasons
(optional): Examples: ‘16-17’; 2016; ‘2016-17’; [14, 15, 16]. Default: ‘2016-17’curl -X GET "https://api.example.com/api/whoscored/games/schedule?leagues=ENG-Premier League&seasons=2016-17" -H "X-RapidAPI-Key: YOUR_API_KEY" bash```
Others Endpoints follow almost the same structure