Discover/DraftKings API
live

DraftKings APIDraftkings.com

Access DraftKings sportsbook odds via API. Get sports categories, league navigation, and live moneyline, spread, and totals for NFL, NBA, MLB, NHL, and more.

Endpoint health
verified 4d ago
get_league_odds
get_sports_categories
get_league_navigation
3/3 passing latest checkself-healing
Endpoints
3
Updated
25d ago

What is the DraftKings API?

The DraftKings API provides 3 endpoints covering sports categories, league navigation, and current game odds across major US sports leagues. Starting with get_sports_categories, you can retrieve every sport and league available on DraftKings — including their IDs — then drill into game lines, player props, and futures using get_league_navigation and get_league_odds. Each game record includes participants, start time, status, and odds in American, decimal, and fractional formats.

Try it

No input parameters required.

api.parse.bot/scraper/b2637ca3-608c-4477-9259-6da2d63b8f49/<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/b2637ca3-608c-4477-9259-6da2d63b8f49/get_sports_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalmissing one? ·

Lists all available sports and leagues from the DraftKings sportsbook manifest. Returns sport IDs, league IDs, sport names, league names, and template IDs. Use the league_id from results to query odds or navigation for a specific league.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "sports_leagues": "array of sport/league objects with sport_id, sport_name, league_id, league_name, template_id"
  },
  "sample": {
    "sports_leagues": [
      {
        "sport_id": "7",
        "league_id": "84240",
        "sport_name": "baseball",
        "league_name": "mlb",
        "template_id": "a2f7806b-4d02-4c3a-96c4-c19ef71423e3"
      },
      {
        "sport_id": "2",
        "league_id": "94682",
        "sport_name": "basketball",
        "league_name": "wnba",
        "template_id": "f0613a94-e73b-4ae6-bf2c-2abafc297015"
      },
      {
        "sport_id": "3",
        "league_id": "88808",
        "sport_name": "football",
        "league_name": "nfl",
        "template_id": "02d63505-bc8a-47d7-9ab4-eae634706188"
      }
    ]
  }
}

About the DraftKings API

What the API Covers

The DraftKings API exposes three endpoints that map to the core navigation and odds surfaces of the DraftKings Sportsbook. get_sports_categories returns a flat array of sport/league objects — each with a sport_id, sport_name, league_id, league_name, and template_id. These IDs are the entry point for all downstream queries. Common leagues like NFL (88808), NBA (42648), MLB (84240), NHL (42133), and WNBA (94682) are directly referenceable.

League Navigation and Bet Categories

get_league_navigation accepts a league_id and optional template_id and returns the full category tree for that league. The response includes an array of category objects, each with a title, seo_id, parameters, and nested children. The subcategoryId found inside parameters is what you pass to get_league_odds to target a specific bet type — game lines, player props, or futures. If template_id is omitted, the API applies a default for supported leagues.

Game Odds Structure

get_league_odds accepts a league_id and optional subcategory_id and returns a games array alongside sport and league metadata and a total_games count. Each game object includes an event_id, name, start_date, status, participants, and a full odds breakdown covering moneyline, spread/run line, and over/under totals. Odds are returned in American, decimal, and fractional formats simultaneously, making it straightforward to display or compare across formats.

Official DraftKings Developer API

DraftKings does not publish a public developer API or official data feed for sportsbook odds. This Parse API provides structured access to the same odds data available on the DraftKings Sportsbook site.

Reliability & maintenanceVerified

The DraftKings API is a managed, monitored endpoint for Draftkings.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when 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 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
4d ago
Latest check
3/3 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
  • Display live NFL, NBA, or MLB moneyline and spread odds in a sports betting comparison tool
  • Track opening and current lines across multiple leagues to detect line movement
  • Build a futures odds aggregator using the subcategory navigation from get_league_navigation
  • Power a sports betting analytics dashboard with American and decimal odds side by side
  • Enumerate all available leagues and their IDs via get_sports_categories for dynamic league selection in an app
  • Monitor over/under totals for scheduled games to feed a statistical modeling pipeline
  • Aggregate DraftKings odds alongside other sportsbooks for arbitrage or expected-value screening
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. 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?+
No. DraftKings does not offer a public developer API or documented data feed for sportsbook odds. This Parse API provides structured access to the odds data available on the DraftKings Sportsbook.
What does `get_league_odds` return, and how do I filter by bet type?+
get_league_odds returns a games array with event_id, name, start_date, status, participants, and full odds (moneyline, spread, totals) in American, decimal, and fractional formats. To filter by bet type — for example, player props or futures instead of game lines — pass the subcategory_id obtained from the parameters field of get_league_navigation results.
Does the API cover player props or futures odds?+
The get_league_navigation endpoint returns subcategory entries for player props and futures (among others), and the corresponding subcategoryId values can be passed to get_league_odds. However, the depth of market coverage depends on what DraftKings makes available for a given league at query time. You can fork this API on Parse and revise it to handle additional subcategory types if you need custom filtering or dedicated endpoints for props and futures.
Does the API include historical odds or only current lines?+
The API returns current odds and scheduled game data as available on the DraftKings Sportsbook — there is no historical odds archive exposed by the existing endpoints. You can fork this API on Parse and revise it to add a data-logging or historical storage layer if your use case requires tracking odds over time.
Are all sports and leagues supported, or only the major US ones?+
get_sports_categories returns every sport and league currently listed in the DraftKings sportsbook manifest, not just major US leagues. Coverage varies by season and availability on DraftKings. Pre-built league_id examples in the docs cover NFL, NBA, MLB, NHL, and WNBA; all others can be discovered dynamically by calling get_sports_categories first.
Page content last updated . Spec covers 3 endpoints from Draftkings.com.
Related APIs in SportsSee all →
transfermarkt.com API
Search Transfermarkt for football players and retrieve detailed player profiles, transfer histories, market value timelines, performance stats, and club squad/club information.
opendota.com API
Access detailed Dota 2 match statistics, player performance metrics, hero win rates, and professional tournament data to analyze gameplay trends and competitive performance. Search for specific players, explore custom data queries through SQL, and retrieve comprehensive match histories to improve your understanding of the game.
nhl.com API
Access data from nhl.com.
pro-football-reference.com API
Access comprehensive NFL data including season schedules, team standings, player statistics, game boxscores, play-by-play details, and player profiles to research teams, players, and game information. Search for specific players and dive into detailed game analysis with boxscore information and minute-by-minute play data.
fantasypros.com API
Access expert consensus rankings, player projections, average draft position data, injury reports, and the latest player news from FantasyPros. Search by player name or position to retrieve detailed stats, rankings, and expert analysis across all major scoring formats.
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.
fifa.com API
Track FIFA world rankings for men's and women's teams, browse tournament schedules and standings, access detailed match information with live timelines, and explore comprehensive player statistics and profiles. Stay updated with the latest football news and easily search across teams, players, and matches all in one place.
livescore.com API
Track live scores and detailed statistics across football, hockey, basketball, tennis, and cricket with the ability to filter by date, sport, and league. Access match summaries, team overviews, standings, fixtures, and results to stay updated on your favorite competitions and teams.