Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Sports odds data

Odds data is the price a sportsbook offers on each outcome: moneylines, spreads, totals and props, pre-match and live, with the time each line changed. Zenrows collects it from sportsbooks and odds comparison sites, captures the JSON feeds their pages load, and returns timestamped records for pricing models, research and sports data products.

Updated

Sample output: one market across books
{
  "event_id": "example-league-2026-10-24-home-away",
  "sport": "soccer",
  "competition": "Example League",
  "home": "Home Club",
  "away": "Away Club",
  "start_time": "2026-10-24T19:00:00Z",
  "market": "match_result",
  "odds_format": "decimal",
  "captured_at": "2026-10-16T09:15:04Z",
  "books": [
    { "book": "Book A", "home": 2.10, "draw": 3.40, "away": 3.60, "updated_at": "2026-10-16T09:14:51Z" },
    { "book": "Book B", "home": 2.05, "draw": 3.50, "away": 3.75, "updated_at": "2026-10-16T09:13:20Z" },
    { "book": "Book C", "home": 2.12, "draw": 3.30, "away": 3.55, "updated_at": "2026-10-16T09:15:00Z" }
  ],
  "best_price": { "home": 2.12, "draw": 3.50, "away": 3.75 },
  "overround": { "Book A": 1.048, "Book B": 1.021, "Book C": 1.056 }
}
Illustrative. Overround, the sum of implied probabilities (1 divided by each price), is each book's margin.

What odds data teams collect

Modellers, data vendors and integrity analysts need the series, not one price: how a line opened, moved and closed across books.

JobData you collectTypical sources
Line movement history Opening, current and closing prices, timestamped bet365, DraftKings, FanDuel, Pinnacle, Betfair Exchange
Cross-book comparison Best available price per outcome, margin per book Oddschecker, OddsPortal, sportsbooks
Pricing model inputs Odds joined to results, lineups, injuries, xG FBref, Transfermarkt, ESPN, league and club sites
Live in-play odds Price, suspension, score at each change Sportsbook live event pages
Horse racing markets Runners, prices, non-runners, results Racing Post, Sportsbet.com.au, tote sites
Integrity monitoring Sharp cross-book moves, especially on lower-tier events Several books, polled often

Why scraping sportsbooks breaks

Sportsbook pages are shells around live feeds, restricted by who and where.

What it looks like

Layout in the HTML, no prices

How Zenrows handles it

Zenrows captures the XHR calls and their JSON

How to scrape odds data with Zenrows

  1. Find the feed: render one event page and find the background call holding prices.
  2. Poll pre-match markets, faster near kickoff, or send the event list to Batch.
  3. Stay on live events with a Browser session reading the market every few seconds.
  4. Timestamp and normalise: capture time, book update time, decimal odds, implied probability.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "EVENT_PAGE_URL",
    "js_render": "true",
    "premium_proxy": "true",
    "proxy_country": "gb",
    "wait_for": ".market",  # example selector for the odds panel
    "json_response": "true",
}
data = requests.get("https://api.zenrows.com/v1/", params=params).json()

# Keep the background call that carries the odds and parse its body
odds_call = next(call for call in data["xhr"] if "odds" in call["url"])
markets = json.loads(odds_call["body"])
print(markets)

What success looks like

MeasureWhat good looks likeHow to check it
Capture latency Seconds between a live update and your record Book update time against captured_at
Snapshot completeness Every book prices every market, each cycle Missing book and market pairs per cycle
Closing line capture A final pre-match price for every event A snapshot within your cutoff before start_time
Mapping accuracy Every event and team mapped to your IDs Unmapped names per run
Stale prices No open-market price older than one poll interval Alert on pairs with no snapshot in one interval

Odds data FAQ

  • Timestamped prices bookmakers and exchanges offer on sporting outcomes: moneylines or match result, spreads and handicaps, totals, props and futures, pre-match and in play. As implied probability, it is the market's estimate.

  • Commercial feeds cover fixed books and markets. Zenrows is the API over the books you choose: send an event page, get odds as JSON, regional books included.

  • Odds are public prices, commonly collected for analysis and data products. Sportsbooks set terms, some jurisdictions restrict gambling sites, and official league data can carry licensing. Check those, and your use with your legal team.

  • Pre-match: hourly early in the week, every few minutes near the start, when lines move fastest. Live markets change in seconds, so use a Browser session that stays on the page.

  • Store every snapshot: event, book, market, outcome, decimal odds, capture time. Sorted per outcome and book, the first is the opening line, the last before the start the closing line. Flag big moves on several books within minutes; those usually carry information.

  • Yes. Geotargeting picks the country (the UK for UK books, Australia for Australian racing) so each book shows local markets and prices. Store the market per record: prices differ by country.

  • Sports data is what happens: fixtures, scores, lineups, stats. Odds data is what the market expects. Models join both on event and time; Zenrows collects both the same way.

Turn the live web into usable data.