Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Future Odds Table

us.betting.season.futureOddsTable provides an outright odds table with specific bookmakers, as well as a consensus average betting line.

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

Parameters

NameTypeArgumentDefaultDescription
uniqueTournamentIdnumberrequiredUnique Tournament ID
outrightIdnumberoptionalOutright ID
competitorIdnumberoptionalCompetitor ID
filterstringoptionalDetermines the entity by which outrights are grouped and filtered. It reflects the values in the dropdown. Valid values are: futures, competitors and competitorTypes.
oddsTypeOverridestringoptionalOverrides the default oddsType. Valid values are: us (money line), eu (decimal) and uk (fractional).
sanitizeOddsbooleanoptionaltrueIf true filters out indeterminate odds.
addWordOddsToOutrightNamingbooleanoptionalIf true includes the word "ODDS" in the title of each outright.
disableAvgColumnbooleanoptionalIf true hides the average column in the table.
disableHeaderbooleanoptionalIf true hides the header.
disableTournamentDropdownbooleanoptionalIf true hides the tournament dropdown.
disableFeatureDropdownbooleanoptionalIf true disables the feature dropdown. Applicable to the futures layout.
disableCompetitorTypeDropdownbooleanoptionalIf true disables the competitor type dropdown. Applicable to the competitors and competitorsType layout.
disableCompetitorDropdownbooleanoptionalIf true disables the competitor dropdown. Applicable to the competitors layout.
disableSortingbooleanoptionalIf true disables the table sorting. Single-row tables have sorting turned off by default.
enableTeamColorsbooleanoptionalEnables team colors.
borderbooleanoptionalIf true draws a border around the widget.
onItemClickfunctionoptionalFunction/event handler. Emits uniqueTeamId on team click or touch and matchId on widget click or touch.

Examples

<div class="sr-widget" data-sr-widget="us.betting.season.futureOddsTable" data-sr-unique-tournament-id="648"></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.futureOddsTable', {uniqueTournamentId: 648});
</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.futureOddsTable', {uniqueTournamentId: 648, onItemClick: function(type, obj){alert(JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>