Integration GuidesDocs
Coverage MatrixDocumentationChange LogLog InContact Us
Integration Guides

Overview

Odds Comparison v2 delivers pre-match betting odds from multiple bookmakers in one normalized structure. Instead of integrating each sportsbook's feed separately, you call one API per market family and receive every configured bookmaker's current prices, opening prices, and line values side by side, ready to compare.

The product is a family of four packages, each with its own base URL and reference section, all sharing the same conventions, identifiers, and payload shape:

  • Prematch: main markets for upcoming sport events (money lines, spreads, totals, and their period, half, quarter, and inning splits)
  • Player Props: player-level markets (for example, a player's total bases, strikeouts, passing yards, or anytime-goalscorer price)
  • Futures: long-term outright markets (championship winners, division winners, season awards)
  • Live Odds: in-game odds for live events

Because the packages share one design, everything you learn in this guide about authentication, discovery feeds, the market model, and change tracking applies across all four.



What the API Provides

  • Aggregated odds for each market from every bookmaker configured for your key, including a calculated consensus line delivered as its own book
  • Three odds formats on every outcome: decimal, American, and fractional, plus the opening price in all three formats
  • Line values on handicap and total markets (handicap, total), with their opening values
  • Change logs that report which sport events had odds changes in the last five minutes, so you can refresh only what moved
  • Mappings feeds that translate every Sportradar entity ID to its ID in the League Specific (US) API family, letting you join odds to stats, schedules, and player data


OC US and OC Core

Odds Comparison v2 is delivered through two access tiers configured at the API key level. Both use the same endpoints and payload shapes; they differ in the bookmaker and sport coverage behind them.

OC USOC Core
BookmakersA curated, US-focused set140+ global bookmakers
SportsTop US leagues (NFL, NBA, MLB, NHL, NCAA) plus major soccer competitions30+ sports worldwide
MarketsMain markets with their period, half, quarter, and inning splits2-way, 3-way, spread, and total on every covered event, with more where bookmakers supply them
Player propsExtensive coverage across NFL, NBA, MLB, NHL, and soccerSoccer goalscorer markets

Your key is provisioned for one tier; contact Sportradar to enable OC Core. Every response identifies the tier serving it in the X-Origin-Id response header: MARKET_ORIGIN_MAGIC_CRAWLERS for OC US, MARKET_ORIGIN_CORE_CRAWLERS for OC Core. Bookmaker IDs and sport event IDs are consistent across the two tiers; futures market IDs can differ between them.



How the Guides Are Organized

The map below shows the three tiers and every page in each; each pill links to its guide.

Odds Comparison Integration Guide MapThree tiers, top to bottom
1Foundational
Overview (you are here)API BasicsFundamentals
The scenario pages cover all four packages; every page builds on the shared foundations above it.

Looking for event win probabilities rather than bookmaker odds? Those are served by the separate Probabilities API, which shares its sport event IDs with Odds Comparison.



A 60-Second Look at the Data

One market from a Prematch response shows the shape you will work with everywhere: a market, the books offering it, and each book's outcomes carrying all three odds formats plus the opening price.

{
  "markets": [
    {
      "id": "sr:market:256",
      "name": "handicap (incl. extra innings)",
      "is_live": false,
      "books": [
        {
          "id": "sr:book:17324",
          "name": "MGM",
          "removed": false,
          "external_sport_event_id": "19803922",
          "external_market_id": "1542773886",
          "outcomes": [
            {
              "id": "sr:outcome:1714",
              "type": "home_handicap",
              "odds_decimal": "1.570",
              "odds_american": "-175",
              "odds_fraction": "4/7",
              "open_odds_decimal": "1.550",
              "open_odds_american": "-182",
              "open_odds_fraction": "11/20",
              "handicap": "1.5",
              "open_handicap": "1.5",
              "external_outcome_id": "2253398335",
              "removed": false
            },
            {
              "id": "sr:outcome:1715",
              "type": "away_handicap",
              "odds_decimal": "2.450",
              "odds_american": "+145",
              "odds_fraction": "29/20",
              "open_odds_decimal": "2.500",
              "open_odds_american": "+150",
              "open_odds_fraction": "3/2",
              "handicap": "-1.5",
              "open_handicap": "-1.5",
              "external_outcome_id": "2253398334",
              "removed": false
            }
          ]
        }
      ]
    }
  ]
}

The response above is trimmed to a single book; the full payload carries every configured bookmaker for all 27 markets of this game. How to read it, and every field's meaning, is covered in Fundamentals.


Did this page help you?