# Fantasy Premier League Scraper — Players, Prices & Fixtures (`hipersoft/fpl-scraper`) Actor

Export Fantasy Premier League data: every player with points, price, form, ownership, goals, assists and xG; club table and strength; and the full fixture list. Filter by position or team and download as JSON, CSV or Excel for FPL tools, dashboards and bots.

- **URL**: https://apify.com/hipersoft/fpl-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0001 / row scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Fantasy Premier League Scraper — Players, Prices & Fixtures

Export **Fantasy Premier League data** in one click with the **FPL Scraper**. Pull **every player with points, price, form, ownership, goals, assists and expected stats**, the **club table and strength ratings**, or the **full season fixture list** — one clean row each as **JSON, CSV or Excel**.

Built for **FPL tools and websites, Discord and Telegram bots, mini-league dashboards, differential finders and data analysis**, it turns the live Fantasy Premier League dataset into a structured feed you can drop into any project.

### What it does

- ⚽ **All players** — points, price, form, points per game, ownership, minutes, goals, assists, clean sheets, bonus and xG/xA.
- 🏟️ **All teams** — league position, played/won/drawn/lost, points and home/away attack & defence strength.
- 📅 **All fixtures** — gameweek, kickoff time, result and fixture difficulty for each club.
- 🎛️ **Filters** — by position (GK/DEF/MID/FWD) or club, and sort players by points, form, price or ownership.
- 🖼️ **Player photos** — direct headshot image URL for each player.
- 📤 **Export anywhere** — JSON, CSV or Excel, or straight into a bot, sheet or dashboard.

### Example output

```json
{
  "webName": "Saka",
  "team": "Arsenal",
  "position": "Midfielder",
  "cost": 10.0,
  "totalPoints": 62,
  "form": 6.5,
  "selectedByPercent": 34.2,
  "goalsScored": 5,
  "assists": 6,
  "expectedGoals": 4.1,
  "ictIndex": 121.5
}
```

### How to use it

1. Choose a **dataset**: players, teams or fixtures.
2. Optionally filter by **position** or **team**, and pick a **sort order**.
3. Run, and download the results as **JSON, CSV or Excel**.

### Input fields

| Field | Description |
|-------|-------------|
| **Dataset** | Players (stats & prices), Teams (table & strength) or Fixtures (schedule & results). |
| **Position** | Filter players by Goalkeeper, Defender, Midfielder or Forward. |
| **Team** | Filter by club name or short code (e.g. Arsenal or ARS). |
| **Sort players by** | Total points, form, price or ownership %. |
| **Max items** | Maximum rows to collect (0 = all). |

### Output fields (players)

`id`, `webName`, `firstName`, `secondName`, `team`, `teamShort`, `position`, `cost`, `totalPoints`, `form`, `pointsPerGame`, `selectedByPercent`, `minutes`, `goalsScored`, `assists`, `cleanSheets`, `bonus`, `bps`, `expectedGoals`, `expectedAssists`, `ictIndex`, `influence`, `creativity`, `threat`, `status`, `news`, `chanceOfPlayingNextRound`, `photo`.

### Popular use cases

- **Differential finder** — sort by points and low ownership to spot value picks.
- **Price & transfer tracker** — monitor player prices and transfers in/out.
- **Fixture planner** — line up easy runs using fixture difficulty by club.
- **Discord & Telegram bots** — post live prices, form and injury news.
- **Analysis & modeling** — build datasets of points, xG and minutes over time.

### FAQ

**Do I need an account or key?**
No. Choose a dataset and run.

**Which data is included?**
Players (points, price, form, ownership, goals, assists, xG and more), teams (table and strength) and the full fixture list.

**Can I get only one position or club?**
Yes — filter by position (GK/DEF/MID/FWD) and/or by club name or code.

**How fresh is it?**
It reflects the live Fantasy Premier League dataset, including current prices, form and injury news.

**Can I export to Excel or Google Sheets?**
Yes — results download as JSON, CSV or Excel and integrate with bots, sheets and dashboards.

***

Structured **Fantasy Premier League data** — players, prices, ownership, teams and fixtures — clean and export-ready for FPL tools, bots and analysis.

# Actor input Schema

## `dataset` (type: `string`):

What to collect: all FPL players with stats and prices, all clubs with form and strength, or the full season fixture list.

## `positionFilter` (type: `string`):

Filter players by position. Leave empty for all positions.

## `teamFilter` (type: `string`):

Filter by club name or short code (e.g. "Arsenal" or "ARS"). Applies to players and fixtures. Leave empty for all clubs.

## `sortBy` (type: `string`):

Sort order for the players dataset (highest first).

## `maxItems` (type: `integer`):

Maximum rows to collect (0 = all).

## `proxyConfiguration` (type: `object`):

Proxy used to reach the source. The default (Apify residential) works out of the box; you can switch groups or supply your own if you prefer.

## Actor input object example

```json
{
  "dataset": "players",
  "positionFilter": "",
  "teamFilter": "",
  "sortBy": "total_points",
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/fpl-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/fpl-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call hipersoft/fpl-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/fpl-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KIAWCVeYm56rGWg8O/builds/pknQz86xlvX256uEo/openapi.json
