Widgets – Future Odds & Future Odds Table Rebuild
We've rebuilt both the Future Odds and Future Odds Table widgets across our Media Widgets products. This update adds a new scope property, introduces explicit bookmaker selection with DraftKings as the default, changes the ID format for outrightId and competitorId, and removes two previously supported properties.
These changes affect existing embeds — review the Recommended Actions below before your next render.
Breaking changes
scopenow defaults toleague, so embeds may display additional markets they didn't before (e.g. NBA now includes NBA Cup; NCAA Men's Basketball includes March Madness).outrightIdandcompetitorIdvalues copied from embeds created before the outright feed change will no longer match, and the widget silently falls back to the first market in the list.- The
sanitizeOddsanddisableAvgColumnproperties are no longer supported and are now ignored.
⭐ Benefit
Show every futures market a bookmaker actually offers — including awards and season props that previously never surfaced — with full market names, one row per market, and team crests, colors, and click-through on named markets.
📋 Recommended Actions
- Review what your existing embeds now display.
scopedefaults toleague, so an NBA embed now includes NBA Cup markets and an NCAA Men's Basketball embed includes March Madness. To keep the previous single-tournament behavior, setscope="tournament", which fetches exactly theuniqueTournamentIdyou provide. (This only affects US leagues with a known tournament family; for any other tournament, both values return the same data.) - Re-pin any hardcoded
outrightIdorcompetitorIdvalues. The ID format changed with the new outright feed —outrightIdis now the numeric part of the market id (sr:winner_event:N). Values from older embeds won't match and will silently fall back to the first market, so update them from a current render. - Set your bookmaker explicitly if you don't want DraftKings. Both widgets now default to
draftkings. Use thebookmakerproperty (Future Odds) orbookmakers(Future Odds Table, comma-separated for multiple columns) to choose. Passinternalfor the Sportradar book, which replaces the former AVG numbers/column. - Remove
sanitizeOddsanddisableAvgColumnfrom your embeds. Both are no longer supported. They're ignored rather than errored, so they won't break a render — but they no longer do anything and should be cleaned up.
☑️ Sample Embeds:
Future Odds (example: NBA)
<div class="sr-widget" data-sr-widget="us.betting.season.futureOdds" data-sr-unique-tournament-id="132"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>Future Odds Table (example: NBA)
<div class="sr-widget" data-sr-widget="us.betting.season.futureOddsTable" data-sr-unique-tournament-id="132"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>🏆 Sample Renders
NBA Future Odds
NFL Future Odds Table
🔢 Products
| Sport(s) | Product | Version(s) |
|---|---|---|
| Basketball Football Hockey Baseball Soccer | Widgets | v1 |
🔁 Pages Affected
Future Odds and Future Odds Table for each of: NFL, MLB, NBA, NHL, NCAA Men's Basketball, NCAA Football, Soccer, and WNBA (16 pages total).
🆕 New Properties
| Property | Widget(s) | Type | Default | Description |
|---|---|---|---|---|
scope | Both | string | league | Determines how uniqueTournamentId is read. league normalizes the id to the league's main tournament and shows the whole family's outrights together; tournament fetches exactly the given tournament. |
bookmaker | Future Odds | string | draftkings | Bookmaker key; the widget shows one bookmaker's odds. Pass internal for the Sportradar book (replaces the former AVG numbers). |
bookmakers | Future Odds Table | string | draftkings | Comma-separated bookmaker keys, one table column each, in the order given. Pass internal for the Sportradar book (replaces the former AVG column). Duplicate keys collapse; unknown keys are skipped. |
🔄 Changed Properties
| Property | Widget(s) | Change |
|---|---|---|
outrightId | Both | Now the numeric part of the market id (sr:winner_event:N). Values from pre-update embeds won't match and fall back to the first market. |
competitorId | Future Odds Table | Now the numeric part of the competitor id used by the outright feed. Applies to the competitors layout. |
🗑️ Removed Properties
| Property | Widget(s) |
|---|---|
sanitizeOdds | Both |
disableAvgColumn | Future Odds Table |
