# PrizePicks Player Props Scraper - Real-Time Lines (`haketa/prizepicks-player-props-scraper`) Actor

Scrape real-time PrizePicks player prop projections: player, team, position, stat type, line (over/under), odds type (standard/goblin/demon), flash-sale lines, matchup & game status across NBA, NFL, MLB, NHL, WNBA, Soccer and 100+ leagues. HTTP-only, no login, no API key (US residential proxy).

- **URL**: https://apify.com/haketa/prizepicks-player-props-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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

## PrizePicks Player Props Scraper — Real-Time Lines

Scrape **real-time player prop projections** from **PrizePicks** — the biggest daily-fantasy (DFS) pick'em platform. Get the player, stat, line, odds type and matchup as clean JSON/CSV/Excel across NBA, NFL, MLB, NHL, WNBA, Soccer, UFC and 100+ leagues.

Great for **DFS tools & models**, **line-movement tracking**, **+EV / arbitrage analysis**, **odds comparison** and **sports data pipelines**.

### How it works

PrizePicks publishes its live board as a JSON:API. The public host is DataDome-walled, but **`partner-api.prizepicks.com`** serves the same data with only a **US geo-block** in front — no DataDome, no login, no key. This actor reads it over plain **HTTP (no browser)** through a **US residential proxy**, then flattens the JSON:API `included` graph (player ⋈ league ⋈ game ⋈ stat) into one clean row per projection.

### What you get per prop

| Field | Description |
|---|---|
| `playerName`, `playerTeam`, `playerPosition` | Who |
| `league`, `statType` | League & stat (Points, Rebounds, Passing Yards…) |
| `lineScore` | The line / projection number |
| `oddsType` | `standard` / `goblin` (easier) / `demon` (harder) |
| `flashSaleLineScore`, `discountName` | Flash-sale / promo line |
| `status`, `isLive`, `isPromo` | Game status & flags |
| `opponent`, `homeTeam`, `awayTeam`, `gameId` | Matchup |
| `startTime`, `boardTime`, `updatedAt` | Timing |
| `trendingCount`, `tvChannel`, `playerImage` | Extras |

### Input

```json
{
  "leagues": ["NBA", "NFL"],
  "oddsType": "all",
  "status": "pre_game",
  "statTypes": ["Points", "Assists"]
}
```

- **leagues** — by name (`NBA`, `NFL`, `MLB`, `WNBA`…) or numeric id. Empty = whole active board. Fewer leagues = less data transfer.
- **statTypes / oddsType / status / liveOnly** — optional filters.
- **maxItems** — total cap.

### Notes

- **US residential proxy required** (the default). PrizePicks geo-blocks non-US traffic with `403`. The actor retries each request on a fresh US IP.
- Lines move constantly — re-run on a schedule to track line movement (compare `lineScore` / `updatedAt` over time).
- These are reverse-engineered public endpoints; the format can change. The actor is resilient (retries, graph-join) but may need occasional updates.

# Actor input Schema

## `leagues` (type: `array`):

Leagues to scrape — by name (e.g. `NBA`, `NFL`, `MLB`, `WNBA`, `NHL`, `Soccer`, `UFC`, `CFB`) or numeric league id. Leave empty to scrape the whole active board (all leagues with props). Fewer leagues = less data transfer.

## `statTypes` (type: `array`):

Keep only these stat types (case-insensitive), e.g. `Points`, `Rebounds`, `Assists`, `Passing Yards`, `Home Runs`. Empty = all stat types.

## `oddsType` (type: `string`):

Filter by PrizePicks odds type.

## `status` (type: `string`):

Filter projections by game status.

## `liveOnly` (type: `boolean`):

Keep only props currently marked live (is_live).

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

Maximum number of player props to save across all leagues. 0 = no limit.

## `maxConcurrency` (type: `integer`):

How many leagues to fetch in parallel.

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

US RESIDENTIAL proxy is REQUIRED — PrizePicks geo-blocks non-US traffic (403). Keep the default (Apify Residential, country US). The actor rotates IPs on a block.

## Actor input object example

```json
{
  "leagues": [
    "NBA",
    "NFL",
    "MLB"
  ],
  "statTypes": [
    "Points",
    "Assists"
  ],
  "oddsType": "all",
  "status": "all",
  "liveOnly": false,
  "maxItems": 100,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `props` (type: `string`):

Real-time PrizePicks player prop projections — player, stat, line, odds type, matchup and status.

# 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 = {
    "leagues": [
        "NBA"
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/prizepicks-player-props-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 = {
    "leagues": ["NBA"],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/prizepicks-player-props-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 '{
  "leagues": [
    "NBA"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call haketa/prizepicks-player-props-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haketa/prizepicks-player-props-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/bykYn9tIpYLwdcBvY/builds/oQWigshrpUrnvNsbm/openapi.json
