Widget Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Odds Comparison

us.betting.season.oddsComparison provides daily bookmaker odds for all games in a given season/tournament.

For the widget to render you must provide a valid uniqueTournamentId. All other properties are optional.

Parameters

Name Type Argument Default Description
uniqueTournamentId number required Unique Tournament ID
matchStatus string optional 'pre' Match Status Filter. You can choose between pre or live.
oddsType string optional 'spread' Odds Type Filter. Choose between: spread, moneyLine, or overunder. In MLB, spread stands for runline.
bookmakers string optional Comma separated string for selected bookmakers. Options are: draftkings, fanduel, mgm, williamhillnewjersey, caesarsnewjersey, caesarspennsylvania, sugarhousenj, bet365newjersey, and pointsbet.
selectedDate string optional Selects particular date. Supports YYYY-MM-DD.
onItemClick function optional Function/event handler. Emits matchId and other props on table row click or touch.
border boolean optional If true draws a border around the widget.
enableLimit boolean optional 'true' If true enables a 5 game limit on the table. If more games are available, a "more" button appears and after clicking it, 5 more games can be seen.
disableOddsColor boolean optional If true disables odds colors on live games.
disableOddsHighlighting boolean optional If true disables highlighting for odds changes.
disableHeader boolean optional If true disables season info header.
enableDeeplink boolean If true bookmaker column headings become clickable, opening the corresponding bookmaker's website in a new browser tab.

Examples

<div class="sr-widget" data-sr-widget="us.betting.season.oddsComparison" data-sr-unique-tournament-id="109"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>
<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.betting.season.oddsComparison', {uniqueTournamentId: 109});
</script>
<div id="sr-widget"></div>

<p>JS/Example of using Event Handler</p>
<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.betting.season.oddsComparison', {uniqueTournamentId: 109, onItemClick: function(type, obj){alert(JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>