Sportsbook Odds Scraper avatar

Sportsbook Odds Scraper

Try for free

1 day trial then $49.00/month - No credit card required now

View all Actors
Sportsbook Odds Scraper

Sportsbook Odds Scraper

harvest/sportsbook-odds-scraper
Try for free

1 day trial then $49.00/month - No credit card required now

Betting odds for NFL, NHL, NBA, MLB, CFB, CBB, MMA, and more from BetMGM, Caesar's, DraftKings, FanDuel, Bet365

This scraper extracts sportsbook odds from BetMGM, Caesars, DraftKings, FanDuel, and Bet365 for popular sports leagues and events including NFL, CFB, NBA, CBB, NHL, UCL, and UFC. The data includes teams, schedules, and odds details like moneylines, point spreads, and totals, making it an invaluable tool for bettors, analysts, and sports enthusiasts.

Features

  • Supported Sportsbooks: BetMGM, Caesars, DraftKings, FanDuel, Bet365.
  • Supported Sports:
    • NFL (National Football League)
    • CFB (College Football)
    • NBA (National Basketball Association)
    • CBB (College Basketball)
    • NHL (National Hockey League)
    • UCL (UEFA Champions League)
    • UFC (Ultimate Fighting Championship)
  • Odds Details:
    • Moneyline: Odds for straight win/loss.
    • Point Spread: Handicap odds.
    • Over/Under: Total points predictions.

Input Parameters

Required Parameters

  • league: String - Specify which league you want to scrape odds for. Supported values: NFL, College-Football, NBA, College-Basketball, NHL, UCL, UFC.

Optional Parameters

  • date: String - Filter games by date in the format YYYY-MM-DD. If left undefined, will return all games that fit the other criteria.
  • team: String - Filter games involving a specific team abbreviation. Case-insensitive. If left undefined, will return all games that fit the other criteria.
  • sportsbook: String - Specify which sportsbooks to scrape. Supported values: BetMGM, Caesars, DraftKings, FanDuel, Bet365. If left undefined, will return all games that fit the other criteria.

Example Input

1{
2  "league": "NFL",
3  "date": "2024-11-28",
4  "team": "MIA",
5  "sportsbook": "DraftKings"
6}

Output

The scraper outputs an array of games with the following structure:

1[
2    {
3        "homeTeam": {
4            "location": "Green Bay",
5            "nickName": "Packers",
6            "mediumName": "Green Bay",
7            "shortName": "GB",
8            "abbr": "GB"
9        },
10        "awayTeam": {
11            "location": "Miami",
12            "nickName": "Dolphins",
13            "mediumName": "Miami",
14            "shortName": "MIA",
15            "abbr": "MIA"
16        },
17        "scheduledTime": "2024-11-29T01:20:00Z",
18        "odds": [
19            {
20                "sportsbook": "draftkings",
21                "moneyLine": {
22                    "currentHomeOdds": "-175",
23                    "currentAwayOdds": "+145",
24                    "openingHomeOdds": "-155",
25                    "openingAwayOdds": "+130",
26                    "isBestAwayLine": true,
27                    "isBestHomeLine": false
28                },
29                "pointSpread": {
30                    "currentHomeHandicap": "-3.5",
31                    "currentAwayHandicap": "+3.5",
32                    "openingHomeHandicap": "-3",
33                    "openingAwayHandicap": "+3",
34                    "currentHomeOdds": "-105",
35                    "currentAwayOdds": "-115",
36                    "openingHomeOdds": "-110",
37                    "openingAwayOdds": "-110",
38                    "isBestHomeLine": false,
39                    "isBestAwayLine": true
40                },
41                "overUnder": {
42                    "currentOverOdd": "-108",
43                    "currentUnderOdd": "-112",
44                    "openingOverOdd": "-110",
45                    "openingUnderOdd": "-110",
46                    "currentTotal": "47",
47                    "openingTotal": "48.5",
48                    "isBestOverLine": true,
49                    "isBestUnderLine": false
50                }
51            }
52        ]
53    }
54]

Explanation

  • homeTeam / awayTeam: Team details.
  • scheduledTime: Game date and time in ISO 8601 format.
  • odds: Array of sportsbook odds for the game.
    • moneyLine: Odds for home and away teams to win outright.
    • pointSpread: Handicap betting odds.
    • overUnder: Totals betting odds.

How to Use

  1. Deploy on Apify: Add this scraper to your Apify account and set the input parameters.
  2. Run the Scraper: Start the scraper and let it fetch the requested odds data.
  3. Export Data: Download the output in JSON, CSV, or your preferred format for further analysis.

Notes

  • Ensure the input parameters match supported values for sports and sportsbooks.
  • Use filters like date, team, or sportsbook to narrow down the results for efficiency.
  • The scraper operates within the terms of use of the sportsbooks' websites. Respect all applicable legal requirements.

Support

If you encounter any issues or have feature requests, please open an issue on the Apify listing or contact the developer.


Enhance your betting strategy and analytics with this comprehensive sportsbook odds scraper!

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 1 star

  • Created in Nov 2024

  • Modified 18 hours ago