Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Odds Comparison

us.betting.season.ncaab.oddsComparison is a compiled table of bookmaker odds. It displays pre-game and live odds based on the game's status and odds type.

Parameters

Property NameTypeArgumentDefaultDescription
matchStatusstringoptional'pre'Match Status Filter. You can choose between pre or live.
oddsTypestringoptional'spread'Odds type filter. Choose between: spread, moneyLine, or overunder.
bookmakersstringoptionalComma separated string for selected bookmakers. Options are: draftkings, fanduel, mgm, williamhillnewjersey, caesarsnewjersey, caesarspennsylvania, sugarhousenj, bet365newjersey, and pointsbet.
divisionstringoptional'dI'Selected division. Currently only Division I is supported.
conferencestringoptionalall conferencesSelected conference. See here for a list of valid conferences. Applies only to the regular season.
playoffTournamentstringoptionalall tournamentsSelected playoff tournament. Options are: ncaa, nit, cbi, cit.
selectedDatestringoptionalSelects particular day. Format: YYYY-MM-DD.
onItemClickfunctionoptionalFunction/event handler. Emits matchId on game click or touch.
borderbooleanoptionalIf true draws a border around the widget.
enableLimitbooleanoptional'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.
disableDivisionDropdownbooleanoptionalIf true disables/hides the division dropdown.
disableConferenceDropdownbooleanoptionalIf true disables/hides the conference dropdown.
disableOddsColorbooleanoptionalIf true disables odds colors on live games.
disableOddsHighlightingbooleanoptionalIf true disables highlighting for odds changes.
disableHeaderbooleanoptionalIf true disables the season info header.
enableDeeplinkbooleanIf 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.ncaab.oddsComparison"></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.ncaab.oddsComparison');
</script>
<div id="sr-widget"></div>
<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.ncaab.oddsComparison', {onItemClick: function(type, obj){alert(JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>