DraftKings API
com.draftkingsapi/server
Independent DraftKings Pick6 lines/history, DFS salaries, odds, box scores. Keyless tools: no key
- cancel_subscription — Needs a key; costs no credits. Cancels the paid plan on the account that owns this key at the end of the period already paid for; it works until then and does not renew. Only when your user asks to ca
- complete_setup — Needs a key. Optional: files what your user told you they want and are building. Only send real answers. Data tools work without this.
- fetch — Read a page by the id returned from search. No key needed.
- finish_signup — No key needed. Call every 5 seconds after start_signup with device_code until status is approved. The key is returned exactly once: store it as an environment variable, never in a repository or a chat
- get_api_directory — No key and no quota. Every REST route, and where the OpenAPI document and docs are.
- get_arbitrage — Two-way arbitrage (type=arbitrage) or middles (type=middles) across DraftKings, FanDuel, Novig and the other books, with stakes that pay the same either way. Developer plan and above; on Free it retur
- get_compare — The current DraftKings Pick6 line next to the DraftKings Sportsbook main over/under line and American odds for the same player, stat and game, with line_gap and no-vig probabilities. Filter by sport,
- get_compare_books — Each upcoming DraftKings market next to the Novig fair probability on the same line, FanDuel and other sportsbook prices on the same line, and the PrizePicks line for the same player and stat, with dr
- get_context_games — Scores and box scores for captured games (games). ESPN source IDs are separate from DraftKings IDs. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_context_player_stats — Scores and box scores for captured games (player-stats). ESPN source IDs are separate from DraftKings IDs. Send user_request with the current task in one sentence; it is saved to the account for 35 da
- get_context_team_stats — Scores and box scores for captured games (team-stats). ESPN source IDs are separate from DraftKings IDs. Send user_request with the current task in one sentence; it is saved to the account for 35 days
- get_coverage — Start here. What DraftKings data exists right now, measured per dataset, with capture context. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_credit_costs — No key and no credits. What each endpoint costs in credits per started 100 rows or per connection, and the plans' monthly credits. Data tools cost the same credits as the REST call they make. Send use
- get_demo_sample — Preview only: real captured rows frozen at generated_at, or invented rows labeled sample:true for dfs and pick6. For wiring up a parser; say which it is and never report it as current data. Not a subs
- get_dfs_changes — What changed in the DraftKings DFS lobby since a cursor: new and removed slates, contests and players, player salary, status and game-time changes, contest prize and size changes. Start with after=lat
- get_dfs_contests — DraftKings DFS contests. A separate dataset from sportsbook and Pick6. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_dfs_players — DraftKings DFS roster-slot salaries. One athlete can have several rows. Salary is not a price. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_dfs_slates — DraftKings DFS slates. A separate dataset from sportsbook and Pick6. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_dfs_sports — DraftKings DFS sports. A separate dataset from sportsbook and Pick6. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_ev_bets — Sportsbook prices (DraftKings, FanDuel and others) that pay more than the Novig fair probability on the same line: ev_pct, edge_cents, Kelly, confidence. Default view: fair probability at least 15%, m
- get_live_board — Preview only: real stored observations, delayed and capped per league, to check the data before signup. feed board is Pick6 props with More and Less multipliers, sportsbook is moneyline, spread and to
- get_live_connection — No key needed. The exact URL, plan, cost and steps for the Pick6 WebSocket (wss://stream.draftkingsapi.com/v1/stream), the Pick6 SSE stream or the native sportsbook WebSocket, which a long-lived serve
- get_pick6_history — DraftKings Pick6 line and multiplier changes in order, for alerts and your own archive. Continue from pagination.next_after with offset=0. Send user_request with the current task in one sentence; it i
- get_pick6_line_history — Line history of one Pick6 prop: how its line moved, with line_move, multiplier_only and availability changes kept apart. pickable_id comes from get_pick6_projections. Send user_request with the curren
- get_pick6_projections — Current DraftKings Pick6 lines and standings multipliers. Filter by sport, stat or player name. A multiplier is not odds. Send user_request with the current task in one sentence; it is saved to the ac
- get_pick6_stream_snapshot — The baseline and cursor for the Pick6 change stream. Every paid plan. Follow it with get_pick6_history, or a server-side stream from get_live_connection. Send user_request with the current task in one
- get_setup_fields — The optional project questions and the main data endpoints. Setup is never required before a data call. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_sportsbook_events — DraftKings sportsbook events with event_status pre, in, post or unknown. Join to odds by event_id. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_sportsbook_history — Earlier DraftKings moneyline, spread and total quotes. Not complete opening-to-close data. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_sportsbook_line_history — Every recorded change of one DraftKings Sportsbook player over/under market in one state: main line and both prices, oldest first, with the open and the close before the start. market_id comes from a
- get_sportsbook_odds — DraftKings moneylines, spreads and totals, read from ESPN, with capture times. Check /status for current market coverage. Send user_request with the current task in one sentence; it is saved to the ac
- get_sportsbook_scopes — Which native DraftKings sportsbook scopes exist, and whether each is available or stale right now. Call this before get_sportsbook_snapshot. Pass state (e.g. NJ) for one state's scopes; lines and prop
- get_sportsbook_snapshot — Current DraftKings sportsbook lines and player props for one native scope: events, markets and selections, with the cursor to follow changes. 503 means that scope's baseline is not usable right now; r
- get_sportsbook_states — Every state where DraftKings Sportsbook is live, whether this API collects it, how fresh it is, and how much of its board matches other states. No key needed. Send user_request with the current task i
- get_stats_games — NBA, NFL and NHL games from ESPN, including player game logs. sport and season are required. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_stats_player_games — NBA, NFL and NHL player-games from ESPN, including player game logs. sport and season are required. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- get_stats_team_games — NBA, NFL and NHL team-games from ESPN, including player game logs. sport and season are required. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
- keep_subscription — Needs a key. Undoes a cancellation scheduled with cancel_subscription or the billing page, so the paid plan renews as usual. Only when your user asks.
- search — Search DraftKings API pages: players, guides, questions, data reports, history coverage and setup. Try a player's name. No key needed.
- send_feedback — No key needed and no request spent; it works while you are rate limited. Say what data or feature was missing, what was wrong, or what confused you. Be specific. Leave out personal data and secrets.
- start_signup — No key needed. Starts a signup and returns approval_url and user_code for your user, and device_code for you. Show them the URL and code; they approve once, creating a free account if needed. data_wan