Draftkings Sportsbook Odds
Pricing
from $15.00 / 1,000 results
Draftkings Sportsbook Odds
DraftKings Sportsbook Odds Scraper Extract real-time betting odds from DraftKings Sportsbook using direct API access. Fast, reliable, and efficient - no browser required. Zero setup required - proxy is included. Just select your leagues and run!
Pricing
from $15.00 / 1,000 results
Rating
0.0
(0)
Developer
Matt Herzog
Actor stats
0
Bookmarked
7
Total users
2
Monthly active users
11 days ago
Last modified
Categories
Share
DraftKings Sportsbook Odds Scraper
Extract real-time betting odds from DraftKings Sportsbook using direct API access. Fast, reliable, and efficient - no browser required.
Zero setup required - proxy is included. Just select your leagues and run!
Features
- Batteries Included: US proxy is built-in, no configuration needed
- Fast API-Based Extraction: Direct API calls, no slow browser automation
- Multi-League Coverage: NBA, NFL, MLB, NHL, Soccer (EPL, La Liga), UFC, and more
- Complete Market Data: Moneylines, spreads, totals, player props
- Live Odds Support: Real-time in-play betting odds
- Multiple Odds Formats: American, Decimal, Fractional, Implied Probability
- Low Resource Usage: ~10x faster and cheaper than browser-based scrapers
Quick Start
- Select leagues (NBA, NFL, MLB, NHL, etc.)
- Choose market types (moneyline, spread, total)
- Click Run
That's it! No proxy setup, no API keys, no configuration.
Use Cases
- Odds Comparison: Compare DraftKings odds with other sportsbooks
- Line Movement Tracking: Monitor how odds change over time
- Arbitrage Detection: Find profitable betting opportunities
- Sports Analytics: Build predictive models with odds data
- Research: Academic study of betting market efficiency
Output Example
{"eventId": "12345678","name": "Los Angeles Lakers @ Boston Celtics","sport": "Basketball","league": "NBA","leagueId": "42648","homeTeam": {"id": "team-2","name": "Boston Celtics","abbreviation": "BOS"},"awayTeam": {"id": "team-1","name": "Los Angeles Lakers","abbreviation": "LAL"},"startTime": "2024-01-15T19:30:00Z","status": "scheduled","isLive": false,"markets": [{"id": "market-1","type": "moneyline","name": "Moneyline","isOpen": true,"selections": [{"id": "sel-1","name": "Los Angeles Lakers","odds": {"american": 145,"decimal": 2.45,"fractional": "29/20","impliedProbability": 40.82},"isOpen": true},{"id": "sel-2","name": "Boston Celtics","odds": {"american": -170,"decimal": 1.59,"fractional": "10/17","impliedProbability": 62.96},"isOpen": true}]},{"id": "market-2","type": "spread","name": "Spread","line": -4.5,"isOpen": true,"selections": [{"id": "sel-3","name": "Los Angeles Lakers","odds": {"american": -110,"decimal": 1.91,"fractional": "10/11","impliedProbability": 52.38},"line": 4.5,"isOpen": true},{"id": "sel-4","name": "Boston Celtics","odds": {"american": -110,"decimal": 1.91,"fractional": "10/11","impliedProbability": 52.38},"line": -4.5,"isOpen": true}]}],"scrapedAt": "2024-01-15T12:00:00Z","sourceUrl": "https://sportsbook.draftkings.com/event/12345678"}
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
leagues | array | ["NBA", "NFL", "MLB", "NHL"] | Leagues to scrape (names or IDs) |
marketTypes | array | ["moneyline", "spread", "total"] | Market types to extract |
maxEvents | integer | 100 | Maximum events (0 = unlimited) |
liveOnly | boolean | false | Only scrape live events |
oddsFormat | string | "all" | Output format for odds |
usState | string | "Ohio" | US state for odds (odds vary by state) |
requestDelay | integer | 500 | Delay between requests (ms) |
Supported Leagues
Major US Sports
| League | ID | Sport |
|---|---|---|
| NBA | 42648 | Basketball |
| NFL | 88808 | Football |
| MLB | 84240 | Baseball |
| NHL | 42133 | Hockey |
| NCAAB | 92483 | College Basketball |
| NCAAF | 87637 | College Football |
| WNBA | 92483 | Basketball |
Soccer
| League | ID | Region |
|---|---|---|
| EPL | 40253 | England |
| La Liga | 40291 | Spain |
| Serie A | 40274 | Italy |
| Bundesliga | 40265 | Germany |
| Ligue 1 | 40258 | France |
| MLS | 40252 | USA |
| Champions League | 40266 | Europe |
Other Sports
| League | ID | Sport |
|---|---|---|
| UFC | 92158 | MMA |
| ATP Tennis | 92145 | Tennis |
| PGA Golf | 92202 | Golf |
Market Types
| Type | Description |
|---|---|
moneyline | Win/lose straight bet |
spread | Point spread / handicap |
total | Over/under total points |
player_props | Individual player stats |
all | All available markets |
Pricing
$2.50 per 1,000 events - proxy costs included!
| Monthly Volume | Price per 1K Events |
|---|---|
| Up to 100K | $2.50 |
| 100K - 500K | $2.00 |
| 500K+ | Contact us |
Integration Examples
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("your-username/draftkings-sportsbook-odds").call(run_input={"leagues": ["NBA", "NFL"],"marketTypes": ["moneyline", "spread"],"maxEvents": 50})# Get resultsfor item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['name']}: {len(item['markets'])} markets")
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('your-username/draftkings-sportsbook-odds').call({leagues: ['NBA', 'NFL'],marketTypes: ['moneyline', 'spread'],maxEvents: 50});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach(event => {console.log(`${event.name}: ${event.markets.length} markets`);});
cURL
curl -X POST "https://api.apify.com/v2/acts/your-username~draftkings-sportsbook-odds/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"leagues": ["NBA"],"maxEvents": 20}'
Tips for Best Results
- Start small: Test with 1-2 leagues before scaling up
- Peak times: More events available during game days
- Request delay: Keep at 500ms+ to avoid rate limiting
- State selection: Odds may vary slightly by state
Performance
| Metric | Value |
|---|---|
| Avg events/minute | ~120 |
| Avg cost per event | $0.0025 |
| Memory usage | ~128 MB |
| Typical run time | 30-60 seconds |
Legal Disclaimer
This scraper is for personal research and educational purposes. Ensure your use complies with DraftKings' Terms of Service and applicable laws. Not intended for commercial use without authorization.
Changelog
v2.1.0 (Current)
- Batteries included: proxy now built-in
- Simplified input (no proxy configuration needed)
- Updated to Nash API format
- Default state changed to Ohio
v2.0.0
- Complete rewrite using direct API access
- 10x faster than browser-based version
- Reduced memory/compute costs
- Added live odds support
- Improved odds format handling
v1.0.0
- Initial release (browser-based)
Support
- Issues: GitHub
- Email: matt@directsystems.io
- Apify: Check documentation for API usage