DraftKings odds API
DraftKings odds API for real-time DraftKings odds: moneylines, spreads, totals and more, next to 35 other sources with stable event ids.
DraftKings prices show up in more odds comparisons than almost any other US book, so a reliable DraftKings odds API is close to mandatory for odds screens, betting models, media sites and props tools. DraftKings also runs two different kinds of markets that we cover: a sportsbook and a pick'em product. This page explains what DraftKings data PreciseAPI delivers, how the two products fit together in our schema, and how to compare their prices sensibly.
Does DraftKings have a public API?
No. DraftKings doesn't offer a public odds API for developers. There is no public developer program that hands out keys for pulling sportsbook lines, and no documented endpoint for third-party apps. A search for the "DraftKings API" or "DraftKings odds API" is usually someone looking for a dependable way to get DraftKings lines into their own code.
PreciseAPI fills that gap independently. We collect DraftKings' posted prices, normalize them to the same event, market, player and outcome ids used for every other source, and deliver them over REST and WebSocket. This is not an official or partner feed.
DraftKings sportsbook availability varies by state, and the menu can differ slightly between jurisdictions.
One company, two DraftKings sources
DraftKings runs a sportsbook and a daily fantasy business that includes the Pick6 pick'em product. Because the two products price markets in different ways, PreciseAPI treats them as two separate sources:
| Source id | Type | What the price means |
|---|---|---|
draftkings | Sportsbook | Fixed odds with a built-in margin, quoted in American odds |
dk_pick6 | DFS pick'em | Player lines you pick over or under, tagged standard, goblin or demon |
This page is about the sportsbook. The DraftKings Pick6 page covers the other. Both share event ids, so you can request them together with books=draftkings,dk_pick6 and line them up market by market.
What DraftKings data is included
The DraftKings sportsbook feed covers:
- Main lines. Moneyline, spread and total for every period we support in a league: full game, first half, first quarter (NFL and NBA), first period (NHL) and first five innings (MLB).
- Alternate lines. Spread and total ladders around the main number, each rung with its own price.
- Team totals. Home and away, by period.
- Player props. Points, rebounds, assists, threes and PRA in basketball; passing, rushing and receiving markets in football; strikeouts, hits and total bases in baseball; points and shots on goal in hockey.
- Futures. Championship, conference, division and award boards, and the CFL's Grey Cup board.
Every market includes an updated_at timestamp and a suspended flag. Prices come back in American odds by default, or in decimal or implied probability with the format parameter.
DraftKings odds by league
DraftKings is currently priced for 12 leagues in our feed:
- NFL. Full game, first half and first quarter lines, alternates and a large prop menu. The NFL odds API page shows how many sources are pricing each game.
- NCAAF and NCAAB. Full game and first half lines and futures. College slates are large, so filter by date to keep payloads light.
- NBA and WNBA. Quarter and half lines plus player props. See the NBA odds API.
- MLB. Full game and first five innings lines, strikeout and hits props. See the MLB odds API.
- NHL. Full game and first period lines, points and shots on goal. See the NHL odds API.
- Soccer. Three-way moneylines with a draw outcome, Asian-style spreads and totals.
- Tennis and UFC. Head-to-head prices for individual competitors.
- CFL. Game lines, plus the Grey Cup board on
/v1/futures. - League of Legends. DraftKings is one of the regulated books in our feed with LoL match prices, with map handicaps and totals where they are posted.
Reading DraftKings prices next to a contract exchange
Contract exchanges list contracts on many of the games DraftKings prices, so a common question is how to compare the two formats. The answer is to convert both to probability and look at the margin.
Take an illustrative NBA game where the DraftKings sportsbook has the favorite at -150 and the underdog at +130:
- -150 implies 60.00% and +130 implies 43.48%. The two add to 103.48%, an overround of 3.48%.
- Expressed as hold, the book keeps 1 − 1 / 1.0348 = 3.36% of a balanced handle.
Now suppose an exchange contract, on Kalshi for example, on the same favorite trades at 59 cents:
- A 59-cent contract that pays $1 implies 59.00%, which is about -144 in American odds or 1.695 in decimal.
- Before any exchange fees, that is a lower price on the favorite than -150, since 59% is less than 60%.
- A contract exchange doesn't build a margin into each price the way a sportsbook does. Its costs show up as the bid/ask spread and exchange fees, so compare the contract price you can actually trade at, after fees, with the sportsbook's posted price.
The same comparison works across any sportsbook and exchange pair. You can check the conversions with the odds formats guide, and the exchanges vs sportsbooks guide covers the differences in more depth. Exchange outcomes in our API also carry a liquidity field, so you can see how much size is available at a price before treating it as tradable.
DraftKings props vs Pick6 lines
Props are a similar story. A sportsbook prop is a price at a line (over 26.5 at -120); a pick'em entry is usually a line with a fixed payout structure. When the two disagree, the gap is usually in the line rather than the price. Requesting /v1/props with books=draftkings,dk_pick6 returns both under the same player id, so a half-point or full-point difference is easy to flag.
Who uses DraftKings odds data
A few patterns come up again and again among teams pulling the DraftKings odds feed:
- Odds screens and comparison sites show DraftKings in a fixed column because their users hold an account there. For them, completeness and freshness matter more than anything else.
- Media and affiliate publishers quote DraftKings lines in previews and live blogs. They usually poll a handful of games and care about the number being right at publish time.
- Modelers use DraftKings as a widely bet reference for the recreational market and compare it with sharper books to see where public money is pushing a number.
- Props tools compare DraftKings player lines against other books and against pick'em apps, where a one-point gap in a line can matter more than a few cents of price.
All four can work from the same response. The difference is mostly how often they poll, and whether they need the stream.
How to use the DraftKings odds API
The odds reference lists every parameter. A basic request for DraftKings main lines on today's NBA slate:
curl -s "https://api.preciseapi.com/v1/odds?league=nba&books=draftkings,pinnacle&markets=moneyline,spread,total&status=scheduled" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
To compare the sportsbook and a contract exchange in probability terms:
curl -s "https://api.preciseapi.com/v1/odds?league=nba&books=draftkings,kalshi&markets=moneyline&format=probability" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
In JavaScript, computing DraftKings' margin on each moneyline from the response:
const res = await fetch(
'https://api.preciseapi.com/v1/odds?league=nba&books=draftkings&markets=moneyline&format=probability',
{ headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` } }
);
const { data } = await res.json();
for (const event of data) {
const dk = event.bookmakers.find((b) => b.id === 'draftkings');
const ml = dk?.markets.find((m) => m.key === 'moneyline' && !m.suspended);
if (!ml || ml.outcomes.length < 2) continue;
const overround = ml.outcomes.reduce((sum, o) => sum + o.price, 0) - 1;
console.log(`${event.away.abbr} @ ${event.home.abbr}`, `margin ${(overround * 100).toFixed(2)}%`);
}
Each market in the response looks like the one below, with a stable market id you can pass to /v1/history:
{
"id": "mkt_0thecpem98k",
"key": "moneyline",
"period": "full_game",
"outcomes": [
{ "id": "sel_20jxdgt4uoa", "name": "Memphis Grizzlies", "side": "home", "price": -110 },
{ "id": "sel_1tb7lflpr0c", "name": "Golden State Warriors", "side": "away", "price": -110 }
],
"suspended": false,
"updated_at": "2026-10-14T14:23:15.845Z"
}
For live products, the WebSocket stream on Syndicate supports 10 concurrent sockets. Subscribe to books: ["draftkings"] for the leagues you need and you get a full snapshot, then deltas with only the changed markets, each with a sequence number for gap detection. If DraftKings stops reporting a market, it is marked suspended and dropped from default responses until fresh prices arrive, so stale numbers don't leak into your screen.
Why not scrape DraftKings?
Some teams start by trying to scrape DraftKings odds. It tends to go fine for a week and then become a part-time job:
- Maintenance. Front-end changes break parsers, and a company with several products has several front ends to watch.
- Blocking. Automated requests get throttled or blocked. Getting around that can also conflict with the operator's terms, which you should read and respect.
- Normalization. DraftKings' names for teams, players, markets and periods differ from every other book. Mapping them is ongoing work, especially for props.
- Latency. Scraping a page fast enough for in-play use is costly and unreliable.
- Ids. Without event and player ids that survive the move to in-play and match across books, history and comparisons don't line up.
Maintaining a DraftKings odds scraper means owning all five problems yourself. A DraftKings odds API gives you DraftKings lines already matched to the rest of the market, which is the part that actually takes time; the post on odds scraping vs odds API compares the two approaches. The free Sandbox chat and your free API key let you check DraftKings lines before you pay for a plan.
DraftKings is a trademark of its owner. It is used here for identification only, and PreciseAPI is not affiliated with or endorsed by DraftKings.
Frequently asked questions
Does DraftKings have an API?
DraftKings doesn't offer a public odds API for developers. PreciseAPI independently collects DraftKings sportsbook prices and serves them, normalized, alongside the other sources we cover.
Is DraftKings Pick6 included?
Yes, as a separate source with the id dk_pick6. It shares event and player ids with the DraftKings sportsbook, so you can compare both in one request.
How fast do DraftKings odds update?
In-play prices refresh in under 500 ms and pre-match prices every 1–2 seconds. On Syndicate, which adds in-play odds, the WebSocket stream pushes only the markets that changed.
Does the DraftKings odds feed include player props and alternate lines?
Yes. Player props for the NFL, NBA, WNBA, MLB and NHL come from the props endpoint, and alternate spreads, alternate totals and team totals are available as market keys on the odds endpoints.
Is there a free trial?
Yes. Every account starts with 50 free credits for the Sandbox chat in your dashboard, where you can ask about DraftKings' pre-game lines in plain English, with no card required. The same credits work on the API with your free key, at 20 requests a minute.
Can I get DraftKings odds in decimal format?
Yes. Add format=decimal to any odds request, or format=probability for implied probability. Lines and points are unchanged.