Discover/Draftkings.com API
live

Draftkings.com 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.

Endpoints
3
Updated
2h ago
Last verified
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.
Use it in your codegrab 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 totalclick to expand

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.com 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.

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.

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,000250 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.
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.
hltv.org API
Access Counter-Strike esports data from HLTV.org including match results, player and team statistics, team rankings, upcoming match schedules, tournament information, and fantasy league data.
transfermarkt.de API
Access data from transfermarkt.de.
ratings.fide.com API
Find chess players and track their FIDE ratings, rankings, and performance history by searching the official ratings database or browsing the world's top-ranked players. Get detailed player profiles with complete rating trends and game statistics to analyze any player's competitive record.
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.