# FanDuel Line Movement & Historical Odds: Props Tracker (`pp-api/fanduel-line-movement`) Actor

FanDuel line movement for player props: which props moved, from what opening line and price to what, and the full recorded history of any prop. Run the change feed on a schedule for a complete log. Free preview of real props with no key.

- **URL**: https://apify.com/pp-api/fanduel-line-movement.md
- **Developed by:** [PP API Inc.](https://apify.com/pp-api) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 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.

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

### FanDuel Line Movement and Historical Odds for Player Props

Track FanDuel line movement for player props: which props moved, from what opening line and price to what, which way the price is heading, and the full recorded history of any prop. Schedule the change feed and you keep a complete, gap-free log of every FanDuel line and price change.

**Try it with no key.** Run it empty to get 10 real FanDuel player props (delayed about 5 minutes), each with its opening line and prices, current line and prices, and how many times the line and price moved.

#### Modes

| Mode | What it returns |
|---|---|
| Props that moved recently | Every prop that changed in your window (60 minutes by default): `open_line`, `line`, `line_move`, `line_direction`, opening and current over/under prices, `price_direction`, `line_moves`, `price_moves`, `last_moved_at`. |
| Change feed (tracker) | Every line, price and status change in order: `previous_line`, `line`, `line_move`, `direction` (up/down), previous and current prices, status and time. Each run saves its position, so a schedule never misses or repeats a change. Start at cursor 0 for all recorded history. |
| History of specific props | Every recorded state of the props you choose: each line move, price move and suspension with its time. For closing lines, backtests and "what was the line at tip-off". |

Sports: NBA, NFL, NHL, MLB, college basketball and college football.

#### How the tracker works

The first change feed run starts at the cursor you give (0 is the start of recorded history). Each later run continues exactly after the last change it saw. Use a separate **Tracker name** to run several trackers side by side; each league filter also keeps its own position.

#### Why not a FanDuel scraper

A scraper only sees the current price when it runs: it cannot tell you where a line opened or when it moved, and it needs proxies to avoid blocks. This Actor reads a continuously collected record from [fanduelapi.com](https://fanduelapi.com), so you get the opening line, every move between your runs and the full history, in seconds and with no proxies.

#### How to use it

1. Run it once with no key to see real props with their moves.
2. Get a free API key at [fanduelapi.com/sign-up](https://fanduelapi.com/sign-up). There is a free plan and it needs no card.
3. Paste the key, choose a mode and a sport, and run. For tracking, schedule the change feed in Apify (every 5 to 15 minutes).
4. Export as JSON, CSV or Excel, or send each run to a webhook, Google Sheets, Slack or your database through Apify integrations.

Each page of up to 200 props (or 500 changes) is one request on your fanduelapi.com plan. See [pricing](https://fanduelapi.com/pricing).

#### Example row (illustrative values)

```json
{
  "league": "NBA",
  "event_name": "Memphis Grizzlies @ Washington Wizards",
  "player_name": "Alex Sarr",
  "stat": "points",
  "open_line": 15.5,
  "line": 16.5,
  "line_move": 1,
  "line_direction": "up",
  "open_over_american": -110,
  "over_american": -118,
  "price_direction": "toward_over",
  "line_moves": 2,
  "price_moves": 19,
  "last_moved_at": "2026-11-16T22:55:35.258Z"
}
```

#### FAQ

**Does FanDuel publish historical odds?** No. This Actor and fanduelapi.com keep the record: every line and price change for each prop, with its time.

**How fresh is the data?** Every row carries its observation time. The free plan is delayed about 5 minutes; paid plans are current.

**Can I get current props and game odds too?** Yes: use the companion **FanDuel API** Actor by the same publisher for every current prop and game market. AI agents can use the MCP server at `https://fanduelapi.com/api/mcp`.

Independent data service operated by Stunning Couches LLC, not affiliated with or endorsed by FanDuel. Information only, not betting advice.

# Actor input Schema

## `apiKey` (type: `string`):

Your fanduelapi.com API key. Free plan, no card: https://fanduelapi.com/sign-up. Leave empty for a free preview of 10 real player props.

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

Props that moved recently returns each changed prop with its open-to-now move; the change feed logs every line, price and status change in order (schedule it for a complete log); history returns every recorded state of the prop IDs you give.

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

Sport to read. Leave empty for every sport. The free preview and recent moves use it; the change feed filters by League.

## `league` (type: `string`):

Optional league code as FanDuel lists it, such as NBA. Filters recent moves and the change feed (each league keeps its own tracker position).

## `player` (type: `string`):

Optional part of a player name (free preview and recent moves).

## `stat` (type: `string`):

Optional stat such as points, rebounds, assists or threes (free preview and recent moves).

## `lookbackMinutes` (type: `integer`):

Recent moves: props that changed within this window.

## `onlyLineMoves` (type: `boolean`):

Recent moves and change feed: skip price-only changes and keep only rows where the line itself moved.

## `resumeFromLastRun` (type: `boolean`):

Change feed: scheduled runs continue exactly where the previous run stopped.

## `stateKey` (type: `string`):

Keep separate trackers apart.

## `startCursor` (type: `string`):

Change feed, first run only: 0 starts at the beginning of recorded history.

## `propIds` (type: `array`):

History mode: prop IDs (the id field from the FanDuel API Actor or from recent moves rows).

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

Stop after this many rows. Each page of up to 200 props (or 500 changes) is one API request on your plan.

## Actor input object example

```json
{
  "mode": "recent-moves",
  "sport": "nba",
  "lookbackMinutes": 60,
  "onlyLineMoves": false,
  "resumeFromLastRun": true,
  "stateKey": "default",
  "startCursor": "0",
  "maxItems": 1000
}
```

# Actor output Schema

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

All rows from this run as a dataset.

# 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 = {
    "mode": "recent-moves",
    "sport": "nba"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pp-api/fanduel-line-movement").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 = {
    "mode": "recent-moves",
    "sport": "nba",
}

# Run the Actor and wait for it to finish
run = client.actor("pp-api/fanduel-line-movement").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 '{
  "mode": "recent-moves",
  "sport": "nba"
}' |
apify call pp-api/fanduel-line-movement --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pp-api/fanduel-line-movement"
        }
    }
}
```

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/CZDqxjmn3jDllNDMj/builds/9bS2ogBOZlOnXAgBN/openapi.json
