OpenFPL API
**OpenFPL Scout AI** is a cutting-edge, AI-powered Fantasy Premier League (FPL) team optimization service that revolutionizes how fantasy football managers build their squads by leveraging sophisticated ensemble machine learning models including Linear Regression, XGBoost, and CatBoost algorithms to analyze vast datasets encompassing player performance metrics, recent form trends, fixture…
OpenFPL API endpoints
| Method | Endpoint | Description |
|---|---|---|
| api | ||
| GET |
get_info_api /api |
Get API information. |
| GET |
get_scout_team_api /api/gw/scout |
Get saved scout team for gameweek. |
| GET |
get_player_predictions_api /api/gw/playerpoints |
Get player predictions for gameweek with optional filters. |
| GET |
get_available_gameweeks_api /api/gameweeks |
Get list of available gameweeks. |
| GET |
check_health_api /api/health |
Health check. |
| Other endpoints | ||
| GET |
get_api_info_api_get /api |
Get basic API information including version and documentation links. Returns: dict: API metadata including version, documentation URL, and credits |
| GET |
check_health_api_health_get /api/health |
Health check endpoint to verify the API is running. Returns: dict: Health status indicator |
| GET |
serve_index__get / |
Serve the main HTML page for the OpenFPL web interface. Returns: HTMLResponse: The main index.html page |
| GET |
get_available_gameweeks_api_gameweeks_get /api/gameweeks |
Retrieve a list of all available gameweeks with scout team data. Returns: dict: Contains list of gameweeks, total count, and latest gameweek number Raises: HTTPException: If… |
| GET |
get_scout_team_api_gw_scout_get /api/gw/scout |
Retrieve a previously scout team for a specific gameweek. Args: gameweek: The gameweek number to retrieve api_key: API authentication key Returns: ResponseModel: Contains scout… |
| GET |
get_player_predictions_api_gw_playerpoints_get /api/gw/playerpoints |
Retrieve player point predictions for a specific gameweek, optionally filtered by parameters. Args: params (PlayerPointsModel): Filter parameters (gameweek required, plus… |
| POST |
generate_scout_team_api_scout_post /api/scout |
Generate an optimal FPL scout team based on uploaded player data CSV file. Args: file: CSV file containing player data for the current gameweek api_key: API authentication key… |
OpenFPL API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | Free | 1000 / hour |
|