Discover/DraftKings API
live

DraftKings APIsportsbook.draftkings.com

Fetch NFL prop market categories and live odds lines from DraftKings Sportsbook. Access every posted line, American and decimal odds, and alternate ladders.

Endpoint health
verified 2h ago
list_prop_categories
get_prop_lines
2/2 passing latest checkself-healing
Endpoints
2
Verified account required
Updated
2h ago

What is the DraftKings API?

This 2-endpoint API exposes NFL betting market data from DraftKings Sportsbook, covering market navigation and full odds lines. The list_prop_categories endpoint returns every market group and subcategory available under the NFL Games tab — from TD Scorers to Defensive props — while get_prop_lines returns every posted selection with American and decimal odds, line values, and alternate-line ladders for any subcategory you choose.

This call costs5 credits / call— charged only on success
Try it

No input parameters required.

api.parse.bot/scraper/2962685d-1dd7-498a-af54-101aa8b88fb1/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2962685d-1dd7-498a-af54-101aa8b88fb1/list_prop_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace sportsbook-draftkings-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: DraftKings NFL Player Props — browse categories, then fetch lines."""
from parse_apis.sportsbook_draftkings_com_api import DraftKings, InputFormatInvalid

client = DraftKings()

# Browse all market groups and their subcategories.
for group in client.groups.list(limit=20):
    print(group.group, f"({len(group.subcategories)} subcategories)")
    for sub in group.subcategories:
        print(f"  {sub.name}  player_prop={sub.is_player_prop}  o/u={sub.is_over_under}")

# Pick the first subcategory from the first group to drill into lines.
first_group = client.groups.list(limit=1).first()
if first_group is not None:
    sub = first_group.subcategories[0]

    # Fetch events (games) for that subcategory.
    try:
        for event in sub.list_lines(limit=3):
            print(event.name, event.start_time, event.status)
            print(f"  {event.home_team.short_name} vs {event.away_team.short_name}")
            for market in event.markets:
                print(f"  Market: {market.name} ({market.selection_count} selections)")
                for sel in market.selections:
                    print(
                        f"    {sel.label}  odds {sel.odds.american} / {sel.odds.decimal}"
                        f"  line={sel.line}  milestone={sel.milestone_value}"
                    )
    except InputFormatInvalid:
        print("Subcategory not recognized or has no posted lines.")

print("exercised: groups.list / subcategory.list_lines")
All endpoints · 2 totalmissing one? ·

Returns the NFL 'Games' market navigation as groups (e.g. TD Scorers, Passing, Receiving, Rushing, Alt Lines, Halves, Defensive, Special Teams) each with its subcategories. Each subcategory carries the subcategory_id consumed by get_prop_lines, the site label, whether the site tags it as a player prop, and whether it is an over/under (O/U) market (label ends in 'O/U'). Non-O/U player yardage subcategories (e.g. Pass Yards) hold the full ladder of alternate 'N+' lines; the O/U variants hold the main over/under total. One page fetch; the set changes as DraftKings adds or removes markets during the season.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "groups": "array of market groups in site order; each has group, group_slug and subcategories",
    "league": "league label (always NFL)",
    "group_count": "integer number of groups",
    "groups[].subcategories": "array of {subcategory_id, name, slug, category_id, market_type_id (null when the group mixes types), is_player_prop, is_over_under}"
  },
  "sample": {
    "data": {
      "groups": [
        {
          "group": "Passing",
          "group_slug": "passing",
          "subcategories": [
            {
              "name": "Pass Yards",
              "slug": "pass-yards",
              "category_id": "1000",
              "is_over_under": false,
              "is_player_prop": true,
              "market_type_id": "12330",
              "subcategory_id": "16569"
            },
            {
              "name": "Pass Yards O/U",
              "slug": "pass-yards-o-u",
              "category_id": "1000",
              "is_over_under": true,
              "is_player_prop": true,
              "market_type_id": "13552",
              "subcategory_id": "9524"
            }
          ]
        }
      ],
      "league": "NFL",
      "group_count": 9
    },
    "status": "success"
  }
}

About the DraftKings API

Market Navigation with list_prop_categories

list_prop_categories returns the full NFL market hierarchy as it appears on DraftKings Sportsbook. The response organizes markets into named groups (such as Passing, Rushing, Receiving, Alt Lines, Halves, Defensive, and Special Teams), each carrying a group_slug and an array of subcategories. Every subcategory includes a subcategory_id, display name, slug, category_id, and boolean flags is_player_prop and is_over_under so you can filter to the market type you need. The market_type_id field is null when a group mixes types. This endpoint takes no inputs and is the required first step for discovering the subcategory_id values used in the second endpoint.

Odds Lines with get_prop_lines

get_prop_lines accepts a required subcategory_id and two optional filters: player (case-insensitive substring match against participant names and market names) and event_id (restricts results to one game). The response is grouped by game via the events array, ordered by start_time in UTC ISO format. Each event carries home_team and away_team objects with team_id and name, plus a markets array. Each market entry includes market_id, name, market_type, sort_order, and selection_count. Selections expose selection_id, label, outcome_type, line (the over/under total or spread value, null where not applicable), milestone_value for alternate-line thresholds (e.g. "200+ passing yards"), and both american_odds and decimal_odds.

Coverage Scope and Response Counts

The response surfaces four top-level summary integers — event_count, market_count, selection_count, and the echoed subcategory_id — useful for validating completeness of a pull. Alternate-line ladders (e.g. the full range of passing yard thresholds for a quarterback) appear as multiple selections within a single market, each with its own milestone_value and odds pair. All data reflects NFL games only; the league field always returns "NFL".

Reliability & maintenanceVerified

The DraftKings API is a managed, monitored endpoint for sportsbook.draftkings.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sportsbook.draftkings.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official sportsbook.draftkings.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a real-time NFL player prop odds tracker comparing lines across passing, rushing, and receiving subcategories.
  • Monitor alternate-line ladder movements for a specific player using the player filter and milestone_value field.
  • Aggregate all touchdown scorer markets for a single game by filtering get_prop_lines with a known event_id.
  • Detect which prop categories DraftKings currently offers by polling list_prop_categories and checking the is_player_prop flag.
  • Feed American and decimal odds into a parlay calculator that needs selections from multiple NFL market types.
  • Track opening vs. current lines for over/under totals by storing line values from repeated get_prop_lines calls.
  • Filter halftime and alternate-line markets separately using the is_over_under boolean and group slug from list_prop_categories.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does DraftKings have an official public API for odds data?+
DraftKings does not publish a public developer API for sportsbook odds. Affiliate and partner programs exist but are not self-serve developer APIs with documented endpoints.
How do I get lines for a specific player, like Josh Allen passing yards?+
Pass the player's name (or a substring of it) as the player parameter in get_prop_lines. The filter matches case-insensitively against participant_name and the market name field, so "Josh Allen" or "allen" both narrow results to matching markets and their full selection arrays.
What does the `line` field represent versus `milestone_value` in a selection?+
line holds the numeric over/under total or spread for standard markets (e.g. 247.5 passing yards). milestone_value appears on alternate-line selections and represents a threshold label like "200+" or "300+", reflecting how DraftKings presents stepped alternate props. Both can be present or null depending on the market type.
Does this API cover sports other than NFL, or include live in-game odds?+
The API covers NFL markets only; the league field always returns "NFL". In-game live odds are not currently exposed. You can fork this API on Parse and revise it to add endpoints targeting other sports or live-game market subcategories.
Are historical odds or closing lines available?+
The API returns currently posted lines for upcoming games. Historical odds and closing line values are not included in the response. You can fork this API on Parse and revise it to add a historical snapshot endpoint if you store timestamped pulls externally.
Page content last updated . Spec covers 2 endpoints from sportsbook.draftkings.com.
Related APIs in SportsSee all →
Draftkings.com API
Access data from Draftkings.com.
prizepicks.com API
Access real-time player prop projections and betting lines from PrizePicks across multiple sports leagues. Filter by league, US state, and live status to retrieve current lines, opening lines, player profiles, game metadata, and trending props.
fanduel.com API
Access real-time betting odds and lines from FanDuel Sportsbook across all sports and competitions, including spreads, moneylines, totals, and player props for upcoming and live events. Search and browse complete market boards to compare betting options and stay updated on current sportsbook pricing.
pinnacle.com API
Access real-time and pre-event sports betting odds, matchups, and markets from Pinnacle. Retrieve data across all available sports and leagues, monitor live events with scores and live odds, and explore political and entertainment betting markets. Covers full market depth including spreads, totals, moneylines, props, and alternate lines.
bet365.com.au API
Browse available sports on bet365 Australia and retrieve current in-play markets with selections and odds across sports.
sportsbookreview.com API
Compare sportsbooks and their ratings, view real-time betting odds across sports and specific matchups, monitor how lines move over time, and discover expert picks and promotions all in one place. Make more informed betting decisions by accessing comprehensive sportsbook reviews, odds comparisons, and professional analysis.
unibet.com API
Access live betting odds, browse sports categories and upcoming matches, and search for specific events across multiple leagues in real-time. Get detailed event information including current odds for thousands of sports matchups to inform your betting decisions.
superbet.ro API
Access sports betting data from Superbet.ro, including the full sports and competition hierarchy, pre-match and live event listings, detailed odds, boosted prices, popular accumulator suggestions, and Bet Builder markets.