# Underdog Fantasy API & Scraper: Props, Multipliers, Line Moves (`pp-api/underdog-fantasy-api`) Actor

Underdog Fantasy API for player props: the live pick'em board with higher/lower payout multipliers, boosted and discounted lines, every line move, line history and graded results. A reliable Underdog scraper alternative: no proxies. Free preview, no key.

- **URL**: https://apify.com/pp-api/underdog-fantasy-api.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

### Underdog Fantasy API: player props, higher/lower multipliers and line moves

This Actor gives you the Underdog Fantasy pick'em board as a clean dataset: every line with its player, stat, Higher and Lower payout multipliers, boosted and discounted sides, and line moves, plus graded results. It reads from [underdogapi.com](https://underdogapi.com), an Underdog Fantasy data API, so you get structured rows instead of a fragile Underdog scraper.

**Try it with no key.** Leave the API key empty and run. You get a free preview of real, current Underdog lines with their multipliers (up to 40 per league across NBA, NFL, NHL, CBB and tennis), or the latest real line moves in line-moves mode.

#### What you get

| Mode | What it returns |
|---|---|
| Current lines | Every line on the board: `player_name`, `team`, `opponent`, `stat`, `line`, `higher_multiplier`, `lower_multiplier`, payout tier per side, higher-only flag, discounted line, alternates flag, first and last seen. Optionally the full line history of each line. |
| Boosted and discounted multipliers | Only the sides paying more or less than standard. |
| Line moves | The change feed: lines opened, moved, pulled and restored, with the previous and new line. |
| Graded results | Closing lines graded higher, lower, push or void against the final box score. |

Leagues include NBA, NFL, NHL, college, tennis, MMA and esports (CS, Dota, LoL): about 3,500 lines across 9 leagues on a typical day.

#### Why an API instead of an Underdog scraper

A scraper calls Underdog directly at the moment it runs. You pay for residential proxies, runs break when the app changes, and you only ever see the current board. This Actor reads a continuously collected record, so you also get:

- **Line moves and history**: what a line opened at and every change since.
- **Graded results** against official box scores.
- **Per-side payout multipliers and tiers** labeled on every line.
- **No proxies and no blocked runs.** A run takes seconds.
- **MCP for AI agents**: the same data is a remote MCP server for Claude, ChatGPT and Cursor at `https://underdogapi.com/api/mcp`.

#### How to use it

1. Run it once with no key to see real lines.
2. Get a free API key at [underdogapi.com/sign-up](https://underdogapi.com/sign-up). There is a free plan and it needs no card.
3. Paste the key, choose what to fetch and a league, and run. Export as JSON, CSV or Excel, schedule it, or call it from the Apify API.

Each page of up to 200 rows is one request on your underdogapi.com plan. See [pricing](https://underdogapi.com/pricing).

#### Example row (illustrative values)

```json
{
  "league": "NBA",
  "player_name": "Jamal Murray",
  "team": "DEN",
  "opponent": "HOU",
  "stat": "points",
  "line": 21.5,
  "higher_multiplier": 1.03,
  "lower_multiplier": 0.88,
  "higher_payout_tier": "boosted",
  "starts_at": "2026-11-10T01:30:00.000Z",
  "observed_at": "2026-11-09T18:08:03.226Z",
  "data_mode": "live"
}
```

#### FAQ

**Is there an official Underdog Fantasy API?** Underdog does not offer a public API for its pick'em board. This Actor and underdogapi.com give you the same lines as structured data.

**What do the multipliers mean?** A multiplier above 1 pays more than a standard pick on that side, below 1 pays less. Each side carries its own multiplier and tier.

**Can I track line movement?** Yes: use line-moves mode, turn on line history, or use the companion **Underdog Fantasy Line Movement Tracker** Actor by the same publisher.

Independent data service, not affiliated with or endorsed by Underdog. Information only, not betting advice.

# Actor input Schema

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

Your underdogapi.com key (starts with ud\_). Free plan, no card: https://underdogapi.com/sign-up. Leave empty for a free preview.

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

Current lines is the live Underdog Fantasy pick'em board.

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

For example NBA, NFL, NHL, CBB, CFB, TENNIS, MMA, CS, DOTA, LOL. Leave empty for every league.

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

Optional, for example points or rebounds.

## `search` (type: `string`):

Optional part of a player name.

## `payoutTier` (type: `string`):

Optional payout tier filter, for example standard, boosted or discounted.

## `higherOnly` (type: `boolean`):

Only lines that can be played Higher only.

## `date` (type: `string`):

Optional YYYY-MM-DD, graded results only.

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

Stop after this many rows. Each page of up to 200 rows is one API request on your plan.

## `includeHistory` (type: `boolean`):

Current lines only: add every recorded change to each line. One extra request per line.

## `maxHistoryProps` (type: `integer`):

Line history is fetched for at most this many lines.

## `includeRaw` (type: `boolean`):

Keep the full API object under raw.

## Actor input object example

```json
{
  "mode": "projections",
  "league": "NBA",
  "higherOnly": false,
  "maxItems": 1000,
  "includeHistory": false,
  "maxHistoryProps": 25,
  "includeRaw": false
}
```

# 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 = {
    "league": "NBA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pp-api/underdog-fantasy-api").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 = { "league": "NBA" }

# Run the Actor and wait for it to finish
run = client.actor("pp-api/underdog-fantasy-api").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 '{
  "league": "NBA"
}' |
apify call pp-api/underdog-fantasy-api --silent --output-dataset

```

## MCP server setup

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

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/0UqfHwwXq1uDO9hs8/builds/eetbm1bN1PSgXgR8z/openapi.json
