DraftKings API alternative

There's no public DraftKings API.
We solved that for you.

DraftKings doesn't ship a developer API — the only way to get DK odds programmatically is to reverse-engineer their internal endpoints, beat Akamai's anti-bot, and re-engineer your scraper every time their schema drifts. PropLine has been doing that in production since 2026, and we serve every game line + player prop as drop-in JSON for $0–$19/mo.

Free tier is 1,000 requests/day, no credit card. Hobby at $9/mo unlocks cross-book +EV + historical line movement + graded prop resolution; Pro ($19) steps you up to 25,000/day.

What DraftKings odds you actually get

DraftKings is one of 16 bookswe poll — 11 sportsbooks/DFS + 5 exchanges. Every response includes a draftkings entry in the bookmakers[]array alongside BetMGM, FanDuel, Pinnacle, BetRivers, Bovada, Unibet, 1xBet, TAB AU, PrizePicks, Underdog, plus the Kalshi / Polymarket / Matchbook / Smarkets / Novig exchanges — so you can build a DK-only product or a cross-book comparison from the same call.

MLB

Game lines (h2h / runline / totals) + alt totals + alt run lines. Pitcher strikeouts / hits allowed / earned runs / outs. Batter hits / total bases / home runs / RBIs / walks / stolen bases / 2+ hits / 2+ HRs.

NBA

Game lines + full player props: points, rebounds, assists, threes, blocks, steals (O/U + Milestones). Combo markets (PRA / PR / PA / RA). Double-double + triple-double YES.

NHL

Game lines (puck line) + shots-on-goal / blocked shots / goalie saves O/U. Anytime Goalscorer + tiered Goals 1+/2+/3+ + Player Points 1+/2+/3+.

Soccer (6 leagues + Liga MX)

Game lines + goalscorer markets (Anytime / 1st Goal / 2+ Goals / Goal-or-Assist). Total Corners / Both Teams to Score / Double Chance / Correct Score / Draw No Bet. Per-player assists.

Polling cadence: every 60 seconds for the bulk feed, with live (in-play) markets refreshed every 30 seconds. NFL + NCAAF game lines ship today; player props go live with the season in September.

Sample request — DraftKings + cross-book in one call

Same response shape the-odds-api uses. The bookmakers[].markets[].outcomes[] nesting is unchanged, so any code that consumes the-odds-api works after a base-URL swap. To filter to DraftKings only, add &bookmakers=draftkings.

# Free tier — 1,000 requests/day, no card
GET https://api.prop-line.com/v1/sports/baseball_mlb/odds
  ?markets=h2h,spreads,totals,batter_home_runs,pitcher_strikeouts
  &apiKey=YOUR_KEY

→ [
  {
    "id": "...",
    "sport_key": "baseball_mlb",
    "commence_time": "2026-05-02T23:10:00Z",
    "home_team": "New York Yankees",
    "away_team": "Boston Red Sox",
    "bookmakers": [
      {
        "key": "draftkings",
        "title": "DraftKings",
        "markets": [
          {
            "key": "h2h",
            "outcomes": [
              { "name": "New York Yankees", "price": -135 },
              { "name": "Boston Red Sox",  "price":  115 }
            ]
          },
          {
            "key": "batter_home_runs",
            "outcomes": [
              {
                "name": "Over",  "description": "Aaron Judge",
                "price": 320, "point": 0.5
              },
              {
                "name": "Under", "description": "Aaron Judge",
                "price": -420, "point": 0.5
              }
            ]
          }
        ]
      },
      { "key": "fanduel", "title": "FanDuel",  "markets": [ /* … */ ] },
      { "key": "pinnacle", "title": "Pinnacle", "markets": [ /* … */ ] }
    ]
  }
]

Python SDK

pip install propline

from propline import Client
c = Client(api_key="...")
odds = c.get_odds(
  sport="baseball_mlb",
  markets="h2h,batter_home_runs",
  bookmakers="draftkings",
)

Node / TypeScript

npm install propline

import { Client } from "propline";
const c = new Client({ apiKey: "..." });
const odds = await c.getOdds({
  sport: "baseball_mlb",
  markets: "h2h,batter_home_runs",
  bookmakers: "draftkings",
});

MCP / AI agents

# Claude Desktop config
{
  "mcpServers": {
    "propline": {
      "command": "npx",
      "args": ["-y", "propline-mcp"],
      "env": {
        "PROPLINE_API_KEY": "..."
      }
    }
  }
}

Build it yourself vs use PropLine

Scraping DraftKings is technically possible — we do it. Here's the honest breakdown of what you take on if you roll your own.

DimensionRoll your ownUse PropLine
Time to first requestReverse-engineer sportsbook-nash.draftkings.com endpoints, decode the leagueId-per-category map, identify how alt lines are packed into single market rows.5 minutes — `pip install propline`, send a request.
TLS / anti-botAkamai blocks default urllib / requests on first call. You need `curl_cffi` with Chrome impersonation; on top of that, raw TLS shape matters for spreads / alt-lines endpoints.Handled. We run Chrome-impersonated TLS in production with auto-retry.
MaintenanceDK changes leagueId codes, market-type names, and package boundaries every few weeks. NCAAB shipped under one ID, then moved. NBA double-double packaging changed in 2026.We patch within hours and keep the same canonical market keys exposed to you.
Player-name normalizationDK outcome descriptions don't include team abbreviations, so prop resolution against MLB Stats API requires fuzzy player matching across name variants.Already done. Every DK player prop ships with `description` matching our canonical player + a graded `resolution` field on Hobby ($9) and up.
Alt lines + milestonesDK packs alts (Hits Milestones, Three Pointers Made Milestones, Player Goals Milestones) under one market row. You parse N+ selections out and split per-threshold.We split DK milestones into per-threshold canonical markets (`player_goals_2plus`, `pitcher_strikeouts` 5+ etc.) so they line up across books.
Cross-book comparisonIf you also want FanDuel / Bovada / Pinnacle, you build separate scrapers for each — and a name-matching layer to merge events.16 books in one response (11 sportsbooks/DFS: BetMGM, BetRivers, Bovada, DraftKings, FanDuel, Pinnacle, Unibet, 1xBet, TAB AU, PrizePicks, Underdog + 5 exchanges: Kalshi, Polymarket, Matchbook, Smarkets, Novig), all matched to canonical events.
Hosting / costResidential proxy (~$50/mo+ for serious volume) + a beefy box to run polling + a cache layer + Sentry / observability for the inevitable break.$0 free tier, $19/mo Pro, $39/mo Streaming Lite (+ webhooks), $79/mo Streaming. Historical line movement from Hobby ($9).

What you get on top of DraftKings odds

If you only need raw DK lines, our free tier covers it. The Hobby tier ($9/mo) extends the same DK data with the moat features the-odds-api doesn't ship.

Graded prop resolution

Every DK player prop is graded against the actual MLB / NBA / NHL / ESPN box score after the game ends. Each outcome ships with resolution: "won" | "lost" | "push" | "void" + the actual stat value.

The-odds-api gives you the odds, never the graded outcome. We grade.

Cross-book +EV

GET /v1/sports/{sport}/events/{id}/ev returns a Pinnacle-anchored no-vig fair line plus an EV% per book (DK / FD / Bovada / etc.) at the same line. Built-in the API.

You see DK's edge or disadvantage vs the sharp line on every prop, in one call.

Historical line movement

GET /v1/sports/{sport}/events/{id}/odds/history returns every 60s snapshot of DK's prices for that event. Use it for CLV calculations, line-movement charts, or backtesting models.

Hobby ($9) and up. The-odds-api charges extra.

Webhooks (Streaming Lite tier and up)

HMAC-signed POST webhooks fire when DK's line moves on a market you subscribe to, and again when the prop is graded. Filter by sport / event / market / player / min-price-change.

From $39/mo (Streaming Lite, 5 webhooks); $79/mo Streaming for up to 10. The-odds-api is pull-only.

What about the official DraftKings APIs you may have heard of?

Three DraftKings-adjacent APIs come up when devs search. None of them is what you want for a real product.

1. DraftKings B2B / SBTech partnerships

DK sells data feeds to enterprise partners (state regulators, stadium displays, broadcast graphics). The minimum contract is six figures and requires a licensed sportsbook business. Not accessible to indie devs.

2. DraftKings Affiliate API

For approved affiliate marketers. It returns marketing creatives and tracking pixels — not odds. If you wanted real-time lines, this isn't it.

3. The internal sportsbook-nash.draftkings.com endpoints

The same JSON surface their web app uses. Reachable via curl_cffi with Chrome impersonation, but undocumented and unstable. We use this in production with TLS impersonation, retry/backoff, schema-drift handling, and a canonical-event matcher across all 16 books. You inherit all that work for $19/mo — or hit /odds?bookmakers=draftkings and ignore the other 15.

Get DraftKings odds in JSON, today

Free tier covers 1,000 req/day, no credit card. Hobby at $9/mo adds resolution + +EV + history; Pro ($19) bumps you to 25K/day. Sign up and you'll have a working request in 5 minutes.

Free tier includes 1,000 requests/day. Upgrade anytime.