DraftKings logoFanDuel logobet365 logo

Finance & markets · Live on Apify

Sports Odds Scraper: Compare Sportsbook Odds Data

Pick a sport, league and date. Each row is one price at one sportsbook for one market and side, in American and decimal odds. Rows show the best price, no-vig fair probability and opening price. For analysis and research.

About $2.66 for 1,000 odds rows$0.00265 per odds row + $0.0065 per run. Apify bills you, not us.Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed.

Run it on Apify Opens apify.com, the website where our tools run. Sign up free with Google or email, no card needed.

Apify links on this page are affiliate links. We may earn a commission. You pay the same price. Affiliate disclosure

What you get, for example

typeodds
eventIdan:295475
sportbasketball

How to use it: 3 steps

  1. Make a free Apify accountApify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
  2. Paste your input and press StartNo code needed: you fill in a form (the input). It already has a working example. For example: basketball in Sports. Each start is one run.
  3. Download the resultsWhen the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.

This tool is an Apify Actor: a small program that runs on Apify. You can also run it on a schedule, for example every Monday. New to it? Read how it works, step by step and the 8 words you need first.

What it does

Get current betting odds from DraftKings, FanDuel, bet365, BetMGM, Caesars and 6 more US sportsbooks for NBA, NFL, NHL, MLB, college, soccer, UFC and golf, and save them as one clean odds table. Use it to compare prices, find the best line, no-vig fair odds, price gaps between books: pick a sport and a league, click Start, and in about 5–6 seconds you get one row per book and price.

  • the price as American odds (odds) and decimal odds (oddsDecimal);
  • if this book has the best price for this bet (isBestPrice);
  • the no-vig fair probability (fairProbability) and how far the price is from it (edgePercent);
  • the opening price (openOdds) and, if you want, the full price history.

Good for

  • Compare NBA, NFL, NHL or MLB odds across books.
  • Find the best line for a team or a player prop.
  • Feed a betting model, a spreadsheet or a dashboard with fresh odds.
  • Track line moves with a schedule and get only changed prices.
  • Find price gaps between books for research.

Who uses it

Sports data analysts

Feed a model, spreadsheet or dashboard with fresh odds.

Odds researchers

Compare lines across books for a team or a player prop.

Developers

Get odds data by API without building a source for each book.

Price

Pay per event: you pay for each result the tool saves, plus a small start fee for each run. The price includes Apify platform costs. Apify bills you, not us. Prices below are for the Apify free plan.

What you pay forPriceWhen
Start fee$0.0065Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more.
Result$0.00265 (from $0.001855 on paid Apify plans)One saved row: an odds price from one sportsbook, a game with all prices (events mode), or an arbitrage or value bet. Status rows that explain missing data are free.

Examples

  • One odds row: about $0.0092.
  • 1,000 odds rows: about $2.66.
  • Every day 100 odds rows, for 30 days: about $8.15 a month.

Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed. That is enough for about 1,800 odds rows.

Prices checked on 27 November 2026. See the current price on Apify.

Questions

Do I need a sportsbook account?

No. It reads only public prices. It never logs in.

Which books and regions?

US sportsbooks and US state prices only. Not every book has every market.

Why is the fair probability empty?

No-vig needs a price for every side of the bet. If one side is missing, the value is left empty.

How fresh are the odds?

Each run reads the prices at that moment. updatedAt shows when the book last changed the price, and scrapedAt shows when the Actor read it. For live tracking, use a schedule.

What is the consensus line?

consensus is the market average line from the odds comparison page. open is the opening line. Both are not books, so isBestPrice is empty for them.

Why is fairProbability empty for some rows?

No-vig needs a price for every side of the bet. If one side is missing, the Actor does not guess and leaves it null.

Details

Step by step on Apify
  1. Open the Input tab. Sports is already set to Basketball (box 1).
  2. Leagues is set to NBA (box 2). Add more leagues if you want, for example NHL.
  3. Markets is set to Moneyline (box 3). Add Spread or Total if you need them. Keep Sportsbooks empty to get the 7 main books and the consensus line.
  4. Click Start.
  5. Open the Output tab. Each row is one game and one book (box 5).
  6. Check Odds and Best: a green tick marks the best price for that side (box 6).
Use cases
TaskInputYou getKey fieldsNext step
Compare today's NBA oddsleagues: ["NBA"]odds rowbookmaker, odds, isBestPriceGoogle Sheets, CSV
Find the best price for player propsmarkets: ["props"], propTypes, playersodds rowplayer, propType, line, oddsSpreadsheet, betting model
Find price gaps between booksmode: "arbitrage"arbitrage rowprofitPercent, legsSlack or Notion alert
Find prices above fair oddsmode: "valueBets", minEdgePercentodds rowedgePercent, fairProbabilityModel, alert
Watch line movesonlyChanged: true + scheduleodds rowodds, openOdds, updatedAtWebhook, Slack
Tips for better results
  • Start with one league and one date.
  • Add NCAAB or NCAAF by name. College leagues do not load by default.
  • Run on a schedule and use monitoring to save only changed prices.
Limits and good to know
  • US sportsbooks and US state prices only. bet365, BetMGM, Caesars, Fanatics, Hard Rock and Bally Bet come from the odds comparison page; there is no direct route for them
  • A sport without leagues does not load college leagues. Add NCAAB or NCAAF by name
  • Dates up to 14 days, in US Eastern time
  • Up to 30,000 rows per run (tested: 33,333 rows in about 3 minutes). For more, split the run by league or date
  • Not every book has every market. Props and alternate lines depend on the book and the league
  • If a source stops answering, the Actor skips it for the rest of the run and saves what the other sources gave. After 3 such sources it stops and saves what it has
  • Prices are a snapshot. The Actor does not place bets, does not log in and does not get around region blocks
  • Arbitrage and value bets are calculations on public prices. They are not betting advice

Troubleshooting

stopReason / limitReachedWhenAction
MAX_ITEMSmaxItems (1 to 30,000) or Max charged results reachedRaise the limit
CHARGE_LIMITyour maximum cost for the run reachedRaise the maximum cost
DEADLINE12 seconds before the run timeout (default 600 s)Give the run more time
REQUEST_LIMIT400 page requests or 256 MB of downloaded pages in one runAsk for fewer leagues, days or markets
SOURCE_ERRORa source did not answer; after 3 such sources the run stopsRun again in a few minutes

For developers

Sample result

One result from a real test run, in JSON. Real values change from run to run. In Excel or CSV each field is a column.

one result · JSON
{
  "type": "odds",
  "eventId": "an:295475",
  "sport": "basketball",
  "league": "NBA",
  "startTime": "2026-11-21T18:00:00.000Z",
  "status": "scheduled",
  "homeTeam": "Philadelphia 76ers",
  "awayTeam": "Milwaukee Bucks",
  "bookmaker": "bet365",
  "market": "moneyline",
  "period": "fullGame",
  "selection": "away",
  "team": "Milwaukee Bucks",
  "player": null,
  "line": null,
  "odds": 475,
  "oddsDecimal": 5.75,
  "impliedProbability": 0.1739,
  "isBestPrice": true,
  "fairProbability": 0.1701,
  "edgePercent": -2.2,
  "openOdds": 475,
  "updatedAt": "2026-11-21T04:24:00.669854Z",
  "source": "actionnetwork"
}

Use it from code

Actor ID: cliqtomedia/sports-odds-scraper. You need your Apify API token from Apify Console → Settings → API & Integrations.

Python · apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/sports-odds-scraper").call(run_input={
    "mode": "odds",
    "sports": [
        "basketball"
    ]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
cURL
curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~sports-odds-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "odds", "sports": ["basketball"]}'
LangChain · langchain-apify
# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool

tool = ApifyActorsTool("cliqtomedia/sports-odds-scraper")
result = tool.invoke({"run_input": {"mode": "odds", "sports": ["basketball"]}})
print(result)

The cURL call waits for the results, up to 300 seconds. For longer runs, start a run (/runs) and get the results with a webhook or by checking the run. Apify API docs. LlamaIndex, MCP for AI agents and the JavaScript client: AI agents & MCP.

Data fields (40)
FieldTypeMeaning
typestringodds, event, arbitrage or status.
eventIdstringGame id from the source, for example an:295475.
sportstringbasketball, football, hockey, baseball, soccer, mma or golf.
leaguestringLeague, for example NBA.
startTimestringStart time, ISO 8601 UTC.
statusstringscheduled, live, final, postponed or cancelled; for status rows: not_found, error, skipped, invalid_input.
homeTeamstringHome team (fighter A in UFC).
awayTeamstringAway team (fighter B in UFC).
bookmakerstringSportsbook: draftkings, fanduel, bet365, betmgm, caesars, ...
bookmakerIdstringBook id in the source.
bookmakerNamestringBook name in the source, for example DK NJ.
marketstringmoneyline, spread, total, teamTotal, prop, outright or matchup.
propTypestringProp or outright type, for example points or top10.
periodstringfullGame, firstHalf, firstQuarter, ...
selectionstringhome, away, draw, over, under, yes or no.
teamstringTeam of the selection.
playerstringPlayer or golfer.
oddsintegerAmerican odds, for example -110.
oddsDecimalnumberDecimal odds.
impliedProbabilitynumberProbability from the price, 0..1, with the book margin.
linenumberSpread, total or prop line.
isLivebooleanTrue for in-play prices.
isAlternatebooleanTrue for alternate lines.
updatedAtstringWhen the book last changed this price (ISO 8601 UTC).
publicBetsPercentnumberShare of bets on this outcome, %.
publicMoneyPercentnumberShare of money on this outcome, %.
lineHistoryarrayPrice movement, oldest first.
openOddsintegerOpening American odds at this book.
openLinenumberOpening line at this book.
homeScorenumberHome score for live and finished games.
awayScorenumberAway score.
isBestPricebooleanBest price for this outcome among the books in the run.
fairProbabilitynumberNo-vig fair probability.
edgePercentnumberExpected value of this price vs the fair probability, %.
profitPercentnumberArbitrage: guaranteed return, %.
legsarrayArbitrage: book, price and stake share of each side.
marketsarrayEvents mode: markets with outcomes and prices of each book.
bookmakersarrayEvents mode: books with prices for this game.
messagestringStatus rows: why nothing was found.
sourcestringactionnetwork, draftkings, fanduel, kambi, pinnacle or bovada.
Input settings (24)

The main fields of the input form. With the API you send them as JSON.

SettingName in the APITypeExample value
What to returnmodestring"odds"
Sportssportsarray["basketball"]
Leaguesleaguesarray["NBA"]
Sportsbooksbookmakersarray
Marketsmarketsarray["moneyline"]
US stateregionstring"NJ"
Date (optional)datestring
Days from todaydaysAheadinteger1
Max resultsmaxItemsinteger1000
Prop types (optional)propTypesarray
Periods (optional)periodsarray
Teams (optional)teamsarray
Players (optional)playersarray
Include live gamesincludeLivebooleantrue
Include finished gamesincludeFinishedbooleanfalse
Include alternate linesincludeAlternateLinesbooleanfalse
Include line historyincludeLineHistorybooleanfalse
Min value edge, %minEdgePercentinteger0
Min arbitrage profit, %minArbitrageProfitinteger0
Only changed pricesonlyChangedbooleanfalse
Monitor namemonitorKeystring"default"
Data sourcesourcestring"auto"
Send results to (optional)deliveryConnectorstring
Notion page or channel (optional)deliveryTargetstring

Start on Apify

Make a free Apify account: you get $5 of free usage every month. Missing a tool? Suggest it. We read every idea, but we do not promise to build it.

Apify links on this page are affiliate links. We may earn a commission. You pay the same price. Affiliate disclosure