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
| Name | Type | Argument | Default | Description |
uniqueTournamentId | number | required | Unique Tournament ID | |
outrightId | number | optional | Outright ID. This is the numeric part of the market id (sr:winner_event:N). Values copied from an embed created before the outright feed change will not match; the widget falls back to the first market in the list. | |
competitorId | number | optional | Competitor ID. This is the numeric part of the competitor id used by the outright feed. Applicable to competitors layout. | |
filter | string | optional | Determines the entity by which outrights are grouped and filtered. It reflects the values in the dropdown. Valid values are: futures, competitors and competitorTypes. | |
oddsTypeOverride | string | optional | Overrides the default oddsType. Valid values are: us (money line), eu (decimal) and uk (fractional). | |
bookmakers | string | optional | 'draftkings' | A comma separated string with bookmaker keys, one table column each, in the order given. Defaults to draftkings. Pass internal for the Sportradar book, which replaces the former AVG column. Duplicate keys collapse and unknown keys are skipped. |
addWordOddsToOutrightNaming | boolean | optional | If true includes the word "ODDS" in the title of each outright. | |
disableHeader | boolean | optional | If true hides the header. | |
disableTournamentDropdown | boolean | optional | If true hides the tournament dropdown. | |
disableFeatureDropdown | boolean | optional | If true disables the feature dropdown. Applicable to the futures layout. | |
disableCompetitorTypeDropdown | boolean | optional | If true disables the competitor type dropdown. Applicable to the competitors and competitorsType layout. | |
disableCompetitorDropdown | boolean | optional | If true disables the competitor dropdown. Applicable to the competitors layout. | |
disableSorting | boolean | optional | If true disables the table sorting. Single-row tables have sorting turned off by default. | |
enableTeamColors | boolean | optional | Enables team colors. | |
border | boolean | optional | If true draws a border around the widget. | |
scope | string | optional | 'league' | What uniqueTournamentId names. Valid values are league (default) and tournament. With league the id is read as a league: it is normalized to the league's main tournament and the outrights of the whole family are shown together (e.g. NBA together with the NBA Cup, NCAAB together with March Madness). With tournament exactly the given uniqueTournamentId is fetched, which is how a single tournament's outrights are shown. Only affects US leagues with a known family; for any other tournament both values fetch the same data. |
rowsPerPage | number | optional | If set, enables table pagination and specifies the number of rows per page. | |
onItemClick | function | optional | Function/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="27625"></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: 27625});
</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: 27625, onItemClick: function(type, obj){alert(JSON.stringify(obj));}});
</script>
<div id="sr-widget"></div>Updated 7 days ago
Did this page help you?
