# Sleeper NFL Trending Players Scraper (`parseforge/sleeper-nfl-fantasy-scraper`) Actor

Scrapes Sleeper NFL trending players by add or drop direction over a configurable lookback window. Returns each player as a flat row with add/drop counts.

- **URL**: https://apify.com/parseforge/sleeper-nfl-fantasy-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Sports, Automation, Integrations
- **Stats:** 2 total users, 1 monthly users, 90.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Sleeper NFL Trending Players Scraper

**Scrape Sleeper NFL fantasy trending players in minutes.** Get add/drop counts over any lookback window, straight from the public API. No login, no API key. Export to CSV, JSON, Excel, or XML.

Sleeper's official API needs an app registration and OAuth, and rate-limits you. This reads the public trending endpoints directly, filtered by direction and lookback hours, and returns each player in one fixed schema. Perfect for fantasy football research, waiver-wire analysis, and trend tracking.

| Who uses it | What they scrape Sleeper for |
|---|---|
| Fantasy football analysts | Which players are being added or dropped the most this week |
| DFS players | Spot waiver-wire pickups before their price rises |
| Sports data startups | Feed trending player data into their own apps or dashboards |
| Content creators | Back articles or videos with real add/drop numbers |

### What it does

This Actor collects Sleeper NFL trending players by add or drop direction over a configurable lookback window, and returns each player as a flat row.

- 📈 **Trending adds:** get the most-added players over any lookback window.
- 📉 **Trending drops:** get the most-dropped players over any lookback window.
- ⏱️ **Configurable lookback:** set hours from 1 to 168 to match your league's waiver cycle.
- 🔢 **Max records:** cap the output from 1 to 1,000,000 rows per run.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Sleeper data

**📊 Track waiver-wire trends.**

A fantasy analyst runs the Actor every Tuesday morning with direction=add and hours=24 to see which players are being picked up after waivers clear.

**🚨 Spot breakout candidates.**

A DFS player sets direction=add and hours=6 to catch players being added right after injury news breaks.

**📉 Identify drop candidates.**

A league manager runs direction=drop and hours=48 to see which players are being cut across thousands of leagues.

**🔁 Feed a data pipeline.**

A developer schedules the Actor hourly and pushes the JSON output to a database for a real-time trend dashboard.

### Why choose this scraper

| | What you get |
|---|---|
| **No login or API key** | Uses Sleeper's public JSON endpoints, no OAuth or app registration. |
| **Flat, clean schema** | Every player comes back as one row with consistent fields. |
| **Export anywhere** | CSV, JSON, Excel, or XML for your own analysis or pipeline. |
| **Fast and cheap** | Runs on Apify's infrastructure, scales to a million records. |

### How it compares

This Actor focuses on trending add/drop data only, while the competitors below offer either the same trending data or broader Sleeper fantasy data.

| Feature | ParseForge | Sleeper NFL Trending Players Scraper - Fantasy Data | Sleeper Fantasy Sports Scraper |
|---|---|---|---|
| Trending add/drop counts | Yes | Yes | Yes |
| Configurable lookback window | Yes | Yes | Not listed |
| Direction filter (adds or drops) | Yes | Not listed | Not listed |
| Max records limit | Yes | Not listed | Not listed |
| Full player stats and projections | Not listed | Not listed | Yes |
| League, roster, and draft data | Not listed | Not listed | Yes |

### Configure the run

Drive the Actor with a direction (adds or drops), a lookback window in hours, and a maximum record count. Filters run as each player is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "maxItems": 10
}
```

A larger pull:

```json
{
 "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0085 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Sleeper NFL Trending Players Scraper](https://apify.com/parseforge/sleeper-nfl-fantasy-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Sleeper through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/sleeper-nfl-fantasy-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check the direction and hours inputs. If hours is too small or the direction has no trending players in that window, the API returns an empty list. Try increasing hours to 24 or 48.

**Why is the output missing player names?**

Sleeper's trending endpoint sometimes returns only player IDs. The Actor enriches with names when available, but if a player is very new or obscure, the name may be blank.

**Can I get more than 100 records?**

Sleeper's API typically caps trending results at around 100 per direction. Setting maxItems higher will not return more data.

**Why did the run fail with a timeout?**

The public API can be slow during peak hours. Try reducing maxItems or increasing the Actor's timeout in the run settings.

### FAQ

| Question | Answer |
|---|---|
| Do I need a Sleeper API key? | No. This Actor uses Sleeper's public JSON endpoints, which require no authentication. |
| What does the output look like? | Each record is a flat row with the player ID, name, position, team, and add/drop count for the selected direction and lookback window. |
| Can I get both adds and drops in one run? | No, the Actor returns one direction per run. Run it twice with direction=add and direction=drop if you need both. |
| What is the maximum lookback window? | The hours input accepts any integer, but Sleeper's API typically returns data for up to 7 days (168 hours). |
| How many records can I get? | You can set maxItems from 1 to 1,000,000. The API usually returns fewer than 100 trending players per direction. |
| Does this include player stats or projections? | No, this Actor only returns trending add/drop counts. For full player stats, use a different Sleeper scraper. |
| Is this legal? | Yes, it reads public data from Sleeper's API. Always respect their terms of service and rate limits. |
| Can I schedule this to run automatically? | Yes, use Apify's scheduler to run it hourly, daily, or weekly and store results in a dataset. |
| What formats can I export to? | CSV, JSON, Excel, and XML are all supported from the Apify dataset. |
| Does it work for basketball or other sports? | No, this Actor is NFL-only. For NBA or other sports, use a different Sleeper scraper. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Sleeper, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `direction` (type: `string`):

Trending direction, adds or drops.

## `hours` (type: `integer`):

Lookback window in hours.

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

How many records to collect per run.

## Actor input object example

```json
{
  "direction": "add",
  "hours": 24,
  "maxItems": 10
}
```

# Actor output Schema

## `results` (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("parseforge/sleeper-nfl-fantasy-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("parseforge/sleeper-nfl-fantasy-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 parseforge/sleeper-nfl-fantasy-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/sleeper-nfl-fantasy-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/D0c8VesLLJu6hSlJT/builds/ZQm3eS1KrB1a39k49/openapi.json
