# Sleeper Fantasy Football Stats & League Scraper (`parselab/sleeper-fantasy-football-stats-leagues-scraper`) Actor

Collect Sleeper fantasy football data: trending waiver adds and drops, player database with injuries and depth chart, weekly and season stats with PPR points, projections, consistency scores, and any public league's standings, matchups, transactions and draft picks.

- **URL**: https://apify.com/parselab/sleeper-fantasy-football-stats-leagues-scraper.md
- **Developed by:** [ParseLab](https://apify.com/parselab) (community)
- **Categories:** Sports, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.25 / 1,000 results

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

## Sleeper Fantasy Football Stats & League Scraper

The Sleeper Fantasy Football Stats & League Scraper collects the numbers fantasy managers check every week: the players everyone is adding on waivers, injury and depth chart updates, weekly and season stats with PPR, half PPR and standard points, projections, and the standings, matchups, trades and drafts of any public Sleeper league. One run gives you a clean table you can sort in a spreadsheet, feed to a model or post in your league chat.

You do not need a Sleeper account. Type a username or a league ID and the scraper finds the rest.

### What can the Sleeper fantasy scraper do?

- Get the most added and most dropped players on the Sleeper waiver wire in the last 24 hours (or up to 7 days)
- See net adds, add to drop ratio and a simple buy or sell signal for every trending player
- Export the full NFL or NBA player database with team, depth chart order, injury status, body part and practice notes
- Get weekly NFL player stats with PPR, half PPR and standard fantasy points and the weekly position rank
- Compare actual points with the projection for the same week (points vs projection, beat projection)
- Download next week's fantasy projections with projected yards, touchdowns and positional rank
- Build season stats with points per game, weekly standard deviation, floor, ceiling, top 12 weeks and last 3 games trend
- Read any public Sleeper league by ID or by manager username
- Export league standings with points for and against, max points, lineup efficiency, FAAB left, streak and a luck index
- Export weekly matchups with opponent, margin, result, bench points and every starter's score
- Export waiver claims, free agent pickups and trades with player names, FAAB bids and traded draft picks
- Export draft results with pick label (1.01), positional pick (RB3), keeper flag and auction price

### Sleeper fantasy data you can extract

| Mode | One row per | Highlights |
|---|---|---|
| Trending | player on the add or drop list | trend rank, add count, drop count, net adds, signal, last week points, season points per game, next week projection |
| Players | player | team, position, depth chart, injury, age, height, weight, experience, bye week, season points, IDs for ESPN, Yahoo, Sportradar, Rotowire |
| Weekly stats | player and week | opponent, home or away, three scoring formats, position ranks, projection, passing, rushing, receiving, kicking and defense stats, snap share |
| Season stats | player | totals, points per game, consistency score, floor, ceiling, best and worst week, trend, top 3/12/24 finishes, week by week points |
| Projections | player and week | projected points in three formats, projected stats, positional draft rank |
| Leagues | league | scoring format, redraft, keeper or dynasty, superflex, roster slots, playoff setup, waiver type, FAAB budget, commissioner |
| Standings | fantasy team | rank, wins, losses, points for and against, max points, lineup efficiency, FAAB used and left, playoff position, luck index |
| Matchups | fantasy team and week | points, opponent, margin, result, bench points, top scorer, best bench player, starters with points |
| Transactions | transaction | type, status, teams, players added and dropped, FAAB bid, traded picks and FAAB, time |
| Draft picks | pick | round, slot, pick label, positional pick, player, team, picked by, keeper, auction amount |

Each row is flat and uses readable column names, so it opens as a normal table in Excel or Google Sheets.

### How to scrape Sleeper fantasy football data

1. Pick a mode, for example **Trending adds and drops**.
2. Optional: choose positions (RB, WR), teams (KC, DET) or part of a player name.
3. For the league modes, type a Sleeper username or paste league IDs.
4. Choose the scoring format you play (PPR, half PPR or standard). It drives ranks, minimum points, consistency and trend.
5. Run it and download the results as CSV, Excel or another format, or connect them to Google Sheets, Make or Zapier.

### Input example

```json
{
    "mode": "seasonStats",
    "positions": ["RB"],
    "scoring": "ppr",
    "includeAllStats": false,
    "maxItems": 50
}
```

Other useful inputs: `{"mode": "trending", "trendingType": "both", "lookbackHours": 48}`, `{"mode": "standings", "username": "your_sleeper_name"}`, `{"mode": "matchups", "leagueIds": ["1354612949834035200"], "weeks": "1-10"}`.

### Output example

A real row from the season stats mode (trimmed):

```json
{
    "season": "2026",
    "fullName": "Jahmyr Gibbs",
    "position": "RB",
    "team": "DET",
    "teamName": "Detroit Lions",
    "byeWeek": 6,
    "gamesPlayed": 9,
    "seasonFantasyPoints": 253.4,
    "fantasyPointsHalfPpr": 232.9,
    "pointsPerGame": 28.16,
    "positionRank": 1,
    "weeklyStdDev": 11.36,
    "consistencyScore": 80,
    "floorPoints": 13.4,
    "ceilingPoints": 44.2,
    "last3GamesAvg": 27.47,
    "trendDirection": "Steady",
    "top12Weeks": 7,
    "rushYards": 1000,
    "rushTouchdowns": 11,
    "receptions": 41,
    "snapShare": 76.4,
    "weeklyPoints": [{ "week": 1, "points": 33.6, "positionRank": 3 }, { "week": 2, "points": 23.3, "positionRank": 3 }]
}
```

A real row from the trending mode (trimmed):

```json
{
    "trendType": "add",
    "trendRank": 1,
    "addCount": 1553629,
    "dropCount": 56553,
    "netAdds": 1497076,
    "addDropRatio": 27.47,
    "trendSignal": "Strong buy",
    "fullName": "Xavier Hutchinson",
    "position": "WR",
    "team": "HOU",
    "depthChartPosition": "LWR",
    "depthChartOrder": 2,
    "lastWeekFantasyPoints": 15.8,
    "seasonPointsPerGame": 9.12,
    "nextWeekProjectedPoints": 7.61
}
```

### How to use Sleeper data for waiver wire and trade decisions

- **Waiver wire**: run the trending mode on Tuesday morning and sort by net adds. The signal column separates real breakouts from players who are added and dropped at the same pace.
- **Start or sit**: the projections mode for the coming week, filtered to your roster's positions, gives a quick ranking with opponent and home or away.
- **Trade value**: season stats show who scores the same every week (high consistency score) and who lives on one big game (high ceiling, low floor).
- **League recap**: matchups and transactions for the last week make a ready weekly report for your league chat.
- **Commissioners**: standings with the luck index and lineup efficiency show which team is better than its record.
- **Dynasty and keeper history**: draft picks and the previous league ID let you follow a league across seasons.

### Scoring, ranks and derived fields

Fantasy points come from Sleeper's own scoring in PPR, half PPR and standard. Your scoring choice is used for ranking and for the derived fields:

- `consistencyScore` from 0 to 100: higher means weekly points stay close to the average.
- `trendDirection`: "Heating up" when the last 3 games average beats the season average by 15 percent, "Cooling down" when it trails by 15 percent.
- `luckIndex` in standings: points for rank minus standing rank. A positive number means the record is better than the points scored.
- `lineupEfficiencyPct`: points scored divided by the best possible lineup points.

League scoring settings are exported in the leagues mode, so you can recompute points for custom rules.

### Pricing

You pay per row in the dataset. Free users can preview up to 10 rows per run. A typical weekly waiver run (top 50 adds) costs well under a dollar.

### FAQ

**Do I need a Sleeper login?**
No. Player data, stats and public leagues are readable without an account. Private details such as chat messages are never collected.

**Can I get my own league?**
Yes. Use the standings, matchups, transactions or draft picks mode with your username or league ID. Every NFL league of that username in the chosen season is read.

**Does it cover NBA fantasy?**
The trending and player database modes work for NBA. Stats, projections and league modes are for NFL.

**How fresh is the data?**
Each run reads live data. Trending counts move every hour, injuries change during the week and stats are final once the games end.

**Why is a stat empty for a player?**
A column is empty when the player has no value for it, for example passing yards for a receiver. Empty means "not recorded", never zero.

**Can I schedule it?**
Yes. Schedule the trending mode daily or the matchups mode every Tuesday and send the results to Google Sheets or a webhook.

### Limits

- Stats and projections follow Sleeper's scoring and can change slightly when stat corrections arrive.
- Leagues set to private cannot be read.
- Bye weeks and opponents come from the NFL schedule for the chosen season and season type.
- Sleeper and the NFL are not affiliated with this scraper. Team and player names are used only to describe the data.

# Actor input Schema

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000.

## `mode` (type: `string`):

Trending shows the most added or dropped players across all Sleeper leagues. Players lists the player database with injuries and depth chart. Weekly stats, season stats and projections give fantasy points and box score numbers. The league modes read any public league by ID or by manager username.

## `sport` (type: `string`):

Football works in every mode. Basketball works in the trending and players modes.

## `season` (type: `string`):

Season year, for example 2026. Empty means the current season.

## `seasonType` (type: `string`):

Regular season, playoffs or preseason.

## `weeks` (type: `string`):

One week (10), a list (8, 9, 10) or a range (1-10). Empty means the last played week for stats and matchups, the coming week for projections and every week so far for transactions.

## `scoring` (type: `string`):

Used for ranking, minimum points, consistency and trend fields. Every stats row still carries PPR, half PPR and standard points.

## `positions` (type: `array`):

For example QB, RB, WR, TE, K, DEF. Empty means all fantasy positions.

## `teams` (type: `array`):

Team abbreviations, for example KC, DET, PHI.

## `playerNames` (type: `array`):

Keep only these players. Part of a name is enough, for example mahomes.

## `activeOnly` (type: `boolean`):

Skip retired and inactive players.

## `injuredOnly` (type: `boolean`):

Keep only players with an injury designation (questionable, doubtful, out, IR).

## `minFantasyPoints` (type: `integer`):

Skip players below this many points in the chosen scoring format (season total in the players and season modes, week total in the weekly modes).

## `trendingType` (type: `string`):

Trending mode only. Most added, most dropped, or both lists.

## `lookbackHours` (type: `integer`):

Trending mode only. Count adds and drops over the last hours, from 1 to 168.

## `username` (type: `string`):

League modes. Every NFL league of this manager in the chosen season is read.

## `leagueIds` (type: `array`):

League modes. The long number in the league link, for example 1354612949834035200.

## `includeAllStats` (type: `boolean`):

Adds the full stat line (around 100 values such as red zone attempts, first downs, quarter splits) as allStats. The headline stats are always included.

## Actor input object example

```json
{
  "maxItems": 10,
  "mode": "trending",
  "sport": "nfl",
  "seasonType": "regular",
  "scoring": "ppr",
  "activeOnly": false,
  "injuredOnly": false,
  "trendingType": "add",
  "lookbackHours": 24,
  "includeAllStats": true
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parselab/sleeper-fantasy-football-stats-leagues-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 = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("parselab/sleeper-fantasy-football-stats-leagues-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 '{
  "maxItems": 10
}' |
apify call parselab/sleeper-fantasy-football-stats-leagues-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parselab/sleeper-fantasy-football-stats-leagues-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/JGaHU1gCxygMeUQh6/builds/VMLhhDWz4i2YDW3by/openapi.json
