# Sportsbook vs Polymarket Edge Finder — Devig +EV Scanner (`tactful_anvil/sportsbook-polymarket-edge-finder`) Actor

DraftKings moneylines devigged to fair probability vs live Polymarket prices — a ranked +EV feed for MLB, NFL, NBA, NHL, CFB & EPL. HTTP-only, no proxies.

- **URL**: https://apify.com/tactful\_anvil/sportsbook-polymarket-edge-finder.md
- **Developed by:** [Mr Zack](https://apify.com/tactful_anvil) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.60 / 1,000 edge rows

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?

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

## Sportsbook vs Polymarket Edge Finder — Devig +EV Scanner

**Find mispriced Polymarket sports markets in one run.** This Actor pulls live DraftKings moneylines (via ESPN's public feed), strips the bookmaker's vig to get the *fair* win probability, then compares it with the live Polymarket price for the same game. The output is a ranked feed of games where Polymarket is cheaper than the sportsbook's fair price — the classic +EV signal sports bettors and prediction-market traders act on every day.

Works for **MLB, NFL, NBA, NHL, College Football and the Premier League**. No proxies, no API keys, no logins.

### Who is this for?

- **Polymarket traders** — buy the side the sportsbook says is underpriced. Sportsbooks sharpen their lines with millions in handle; when Polymarket disagrees by 3-5 points, that gap is your edge.
- **Sports bettors** — use devigged fair probabilities as a single source of truth for line shopping and +EV betting.
- **Arbitrage & modelers** — a clean, matched cross-platform dataset (sportsbook odds + prediction-market prices per game) that normally takes two scrapers and a matching layer to build.
- **Newsletter & Discord operators** — auto-publish a daily "top edges" card.

### What you get (per matched game)

| Field | Description |
|---|---|
| `rank` | Position sorted by best edge |
| `sport` | League (mlb, nfl, nba, nhl, cfb, epl) |
| `game` | `Away Team @ Home Team` |
| `startTime` | Scheduled start (UTC) |
| `sportsbook` | Odds provider (DraftKings via ESPN) |
| `moneylineHome` / `moneylineAway` | American moneylines |
| `vigPct` | Bookmaker margin removed by the devig |
| `fairProbHome` / `fairProbAway` | No-vig fair probabilities |
| `polymarketPriceHome` / `polymarketPriceAway` | Live Polymarket prices |
| `polymarketVolume24h` | Market's 24h volume (USD) |
| `edgeSide` / `edgeTeam` | Which side has the edge |
| `edgePct` | Fair probability − Polymarket price, in points |
| `buyPrice` / `fairPrice` | What you pay vs what it's worth |
| `recommendation` | Plain-English action, e.g. `BUY Texas Rangers on Polymarket @ 0.595 (sportsbook fair 0.6497)` |
| `polymarketUrl` | Direct link to the market |
| `spread` / `overUnder` | Sportsbook spread & total for context |
| `capturedAt` | Snapshot timestamp |

### Pricing — pay per event

You pay **$0.001 per run start** and **$9.60 per 1,000 edge rows** — 20% below comparable sports-odds feeds, and every row here is *enriched* (devig + cross-platform match), not a raw line. Unmatched games, rows below your filters, and failed runs are **never charged**.

A typical daily run across MLB + NFL + NBA + NHL returns 20-80 rows — a few cents per snapshot.

### How to schedule it

Odds move all day, so this Actor shines on a schedule:

1. Open the Actor page → **Schedule** tab (or Console → Schedules → Create new).
2. Pick a cadence — every 1-3 hours on game days is the sweet spot for edge hunting; daily at 10:00 ET works for a morning shortlist.
3. Add an integration (webhook, Slack, Google Sheets, email) to push the top rows wherever you work.

Each run is an independent snapshot with `capturedAt`, so you can also build a time series of edges and closing-line value.

### Use with AI agents & MCP

This Actor is exposed through the [Apify MCP server](https://mcp.apify.com), so Claude, ChatGPT, LangChain, CrewAI or any MCP-capable agent can call it as a tool. Ask your agent things like:

> "Run the Sportsbook vs Polymarket Edge Finder for today's MLB and NFL games and tell me the three biggest positive edges with at least $1,000 of 24h volume."

The structured dataset (numeric `edgePct`, `recommendation` strings, direct URLs) is designed to be agent-readable out of the box.

### Input

```json
{
  "sports": ["mlb", "nfl", "nba", "nhl"],
  "minEdgePct": "0",
  "minPolymarketVolume24h": 1000,
  "maxRows": 100
}
```

- `minEdgePct: "0"` keeps only positive-EV rows; `"-100"` (default) outputs every matched game so you see the full board.
- `minPolymarketVolume24h` filters out thin markets you can't actually get filled in.

### Honest limitations

- Devigging a two-way moneyline removes the margin proportionally; sharper multiplicative/power devigs exist, but the proportional method is the standard baseline.
- An edge vs the sportsbook fair price is a *signal*, not a guarantee — thin Polymarket books can be stale because nobody can fill them. That's what the volume filter is for.
- Pre-game markets only; live/in-play edges are out of scope.
- This is a data tool, not betting advice.

### Related Actors

- [Prediction Market Movers — Polymarket & Kalshi Catalyst Feed](https://apify.com/tactful_anvil/prediction-market-movers) — the biggest odds swings and volume spikes across both platforms.
- [Polymarket Kalshi Arbitrage Scanner](https://apify.com/tactful_anvil/polymarket-kalshi-arbitrage-scanner) — matched markets and price gaps between the two prediction exchanges.
- [Kalshi Weather Markets Scraper](https://apify.com/tactful_anvil/kalshi-weather-markets-scraper) — every Kalshi weather market with live prices.

# Actor input Schema

## `sports` (type: `array`):

Leagues to scan. Each league = one ESPN scoreboard (DraftKings odds) + Polymarket game markets.

## `minEdgePct` (type: `string`):

Only output games whose best side has at least this % edge (fair prob − Polymarket price). Use 0 to keep only positive-EV rows; -100 outputs every matched game. Filtered games are never charged.

## `minPolymarketVolume24h` (type: `integer`):

Skip thin markets below this 24h volume. 0 = no filter.

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

Cap on output rows per run (max 500).

## Actor input object example

```json
{
  "sports": [
    "mlb",
    "nfl",
    "nba",
    "nhl"
  ],
  "minEdgePct": "-100",
  "minPolymarketVolume24h": 0,
  "maxRows": 200
}
```

# Actor output Schema

## `edges` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("tactful_anvil/sportsbook-polymarket-edge-finder").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("tactful_anvil/sportsbook-polymarket-edge-finder").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 '{}' |
apify call tactful_anvil/sportsbook-polymarket-edge-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tactful_anvil/sportsbook-polymarket-edge-finder"
        }
    }
}

```

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/j3ib2Kpp6UzpMcB2A/builds/p6X2MGoIbEfJYkstD/openapi.json
