# Player Prop Hit Rates: Last 10 Games vs the Line (`scrapemint/player-prop-hit-rates`) Actor

Grade any NBA, NFL, MLB, NHL, WNBA or college player prop against the line: hit rate over the last N games, average, median, home/away splits, streak and every game's value. Points, PRA, passing yards, total bases, shots and 50+ stats.

- **URL**: https://apify.com/scrapemint/player-prop-hit-rates.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Automation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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

## Player Prop Hit Rates: Last 10 Games vs the Line

Grade any player prop against the line before you bet it. Give a player, a stat and a line, and get the **hit rate over the last N games**, the last-5 hit rate, average, median, range, **home/away splits**, the **current streak**, the season-wide numbers and **every game's value**. Works for the **NBA, WNBA, NFL, MLB, NHL** and college basketball and football. No account, no API key.

### Input: one prop per line

```json
{
  "props": [
    "Nikola Jokic, points, 26.5",
    "LeBron James, pra, 38.5",
    "Josh Allen, passing yards, 245.5",
    "Aaron Judge, total bases, 1.5",
    "Tarik Skubal, strikeouts, 7.5",
    "Connor McDavid, shots, 3.5"
  ],
  "lastN": 10
}
```

Leave the line out (`"Stephen Curry, threes"`) to get averages and the game-by-game values only. Add a league if a name exists in two sports: `"Josh Allen, passing yards, 245.5, nfl"`.

### Example output

```json
{
  "player": "Nikola Jokic",
  "league": "nba",
  "team": "DEN",
  "stat": "points",
  "line": 26.5,
  "gamesAnalyzed": 10,
  "overs": 3,
  "unders": 7,
  "hitRateOverPct": 30,
  "last5HitRateOverPct": 20,
  "average": 24.7,
  "median": 25.5,
  "averageMinusLine": -1.8,
  "homeHitRateOverPct": 20,
  "awayHitRateOverPct": 40,
  "currentStreak": "2 unders in a row",
  "seasonGames": 22,
  "seasonHitRateOverPct": 22.7,
  "recentGames": [
    { "date": "2026-11-28", "opponent": "UTAH", "homeAway": "away", "value": 17, "result": "under" }
  ]
}
```

### Supported stats

| Sport | Stats |
| --- | --- |
| NBA, WNBA, college | points, rebounds, assists, threes, steals, blocks, turnovers, minutes, pra, points+rebounds, points+assists, rebounds+assists, steals+blocks, field goals made, free throws made |
| NFL, college | passing yards, passing touchdowns, completions, pass attempts, interceptions, rushing yards, rush attempts, rushing touchdowns, receptions, receiving yards, receiving touchdowns, targets, rush+rec yards, pass+rush yards, longest reception, longest rush |
| MLB hitters | hits, runs, rbis, home runs, total bases, singles, doubles, walks, strikeouts, stolen bases, hits+runs+rbis |
| MLB pitchers | strikeouts, hits allowed, earned runs, walks allowed, outs recorded, pitches |
| NHL | goals, assists, points, shots, power play points, saves, goals against, shots against |

Common shorthand works too: `pts`, `reb`, `ast`, `3pm`, `p+r+a`, `pass yds`, `rec yds`, `tb`, `h+r+rbi`, `ks`, `sog`.

### Who uses it

- **Prop bettors** checking a line before tipoff: is the player over it 7 of 10 or 3 of 10?
- **DFS and pick'em players** (PrizePicks, Underdog, Sleeper) building cards.
- **Tipsters and content creators** posting hit-rate graphics.
- **Model builders** who need clean recent game logs per player and stat.

### Pricing

**$0.003 per graded prop.** The first prop of every run is free. Unknown players or stats return a free note. A 20-prop card costs about 6 cents.

### FAQ

**Which games count?** The player's most recent games in the current (or chosen) season, regular season and playoffs, newest first. Games the player did not play are not in the log.

**Push?** A value exactly on the line is a push and is left out of the hit rate.

**Where does the data come from?** ESPN's player game logs, read live on every run.

### Related actors

- [Player Prop Bets: Odds by Player, Stat and Line](https://apify.com/scrapemint/sportsbook-player-props): the current prop lines and prices
- [Underdog & Sleeper Player Props Scraper](https://apify.com/scrapemint/underdog-sleeper-player-props): pick'em lines to grade with this actor
- [ESPN Sports Data](https://apify.com/scrapemint/espn-sports-data): injuries and rosters before you bet
- [MLB Stats & Statcast](https://apify.com/scrapemint/mlb-stats-statcast): quality of contact behind the box score

# Actor input Schema

## `props` (type: `array`):

One per line: player, stat, line (league optional). Examples: "Nikola Jokic, points, 26.5" · "Josh Allen, passing yards, 245.5" · "Aaron Judge, total bases, 1.5" · "Connor McDavid, shots, 3.5" · "LeBron James, pra, 40.5". Leave the line out to get averages only.

## `lastN` (type: `integer`):

How many of the player's most recent games to grade (the season-wide numbers are returned too).

## `season` (type: `integer`):

Optional. ESPN season year, e.g. 2026. Leave empty for the current or most recent season.

## `maxRows` (type: `integer`):

Stop after this many props.

## Actor input object example

```json
{
  "props": [
    "Nikola Jokic, points, 26.5",
    "Josh Allen, passing yards, 245.5",
    "Connor McDavid, shots, 3.5"
  ],
  "lastN": 10,
  "maxRows": 500
}
```

# Actor output Schema

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

Hit rates, averages, splits, streaks and the game-by-game values.

## `summary` (type: `string`):

Props requested and returned.

# 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 = {
    "props": [
        "Nikola Jokic, points, 26.5",
        "Josh Allen, passing yards, 245.5",
        "Connor McDavid, shots, 3.5"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/player-prop-hit-rates").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 = { "props": [
        "Nikola Jokic, points, 26.5",
        "Josh Allen, passing yards, 245.5",
        "Connor McDavid, shots, 3.5",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/player-prop-hit-rates").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 '{
  "props": [
    "Nikola Jokic, points, 26.5",
    "Josh Allen, passing yards, 245.5",
    "Connor McDavid, shots, 3.5"
  ]
}' |
apify call scrapemint/player-prop-hit-rates --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapemint/player-prop-hit-rates"
        }
    }
}
```

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/TVVi8Nx7Nerc1IpJj/builds/GSQSF0TlVIjtBBjr3/openapi.json
