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 Name | Type | Argument | Default | Description |
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 . |
bookmakers |
string | optional | Comma separated string for selected bookmakers. Options are: draftkings , fanduel , mgm , williamhillnewjersey , caesarsnewjersey , caesarspennsylvania , sugarhousenj , bet365newjersey , and pointsbet . | |
division |
string | optional | 'dI' | Selected division. Currently only Division I is supported. |
conference |
string | optional | all conferences | Selected conference. See here for a list of valid conferences. Applies only to the regular season. |
playoffTournament |
string | optional | all tournaments | Selected playoff tournament. Options are: ncaa , nit , cbi , cit . |
selectedDate |
string | optional | Selects particular day. Format: YYYY-MM-DD . | |
onItemClick |
function | optional | Function/event handler. Emits matchId on game 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. |
disableDivisionDropdown |
boolean | optional | If true disables/hides the division dropdown. | |
disableConferenceDropdown |
boolean | optional | If true disables/hides the conference dropdown. | |
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 the 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.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>
Updated over 1 year ago