Event List widget (Listing widget) is a frontend visualization that displays a personalized event list sorted by the most relevant tournaments. The widget shows tournaments and events based on popularity and punters' betting history. It simplifies finding the right events among many options and boosts betting volume for both upcoming and live markets.
Recommendation types
Personalization requirement
To enable personalized recommendations (the recommended type), you must provide a unique user identifier. When no user ID is provided, the widget will fall back to popular recommendations.
AI-sorted tournament list that prioritizes the most relevant competitions and events for each user.
Seamless support for highlighting high-relevance live games and upcoming pre-match opportunities.
Dynamic grouping of events by league and relevance, making it easy to navigate thousands of matches.
Strategically surfaces top tournaments to drive higher betting engagement across popular markets.
Responsive design that automatically scales from expansive desktop grids to focused mobile lists.
Direct access to client IDs and API endpoints ensures a flawless connection with your existing platform.
Ideal as the primary engagement area on your sportsbook homepage or landing center.
Place on category pages to show the most relevant tournaments within a specific sport.
Access to the client API
Required endpoints: User ID, Odds, Event info, Tournament info
Requires an adapter to be registered via SIR('registerAdapter', '{ADAPTER_NAME}'). See the adapter overview: https://apidocs.sportradar.online/resources/widgets/docs/adapter/Overview
widget-name: betRecommendation.eventList
Environment Requirements
Supported Sports
See the Event List widget demo.

Events grouped by league/tournament with expandable sections showing multiple events per competition.
Environment Requirements
Extended Properties
Theming customization allows to tailor the appearance of Bet Recommendation widgets to meet specific needs and preferences. In the context of the Bet Recommendation widget, customization refers to the ability to modify the default styling of the widget by applying custom CSS properties to the various HTML elements that make up the widget.
Widget comes with pre-existing styling but can be customized by applying custom CSS properties to its different HTML elements. The widget's custom class selectors and supported CSS properties are listed below.
All custom classes must be nested within the .sr-bb.sr-eventlist selector class. This ensures that the custom styles only apply to that widget and not to other elements on the page.
Mandatory Configuration
The filters property is required for this widget to function correctly. It defines the recommendation logic and basic data constraints.

The onItemClick callback is fired whenever the user interacts with the widget. The first argument is a target string that identifies the interaction type; the second argument is a data object containing contextual information.
Note: Widgets support callbacks on outcome clicks — the onItemClick handler receives target === "outcome" and a data object containing externalEvent, externalMarket and externalOutcome. Use this for custom outcome callbacks (e.g., add-to-betslip, analytics, modals).
The widget also exposes onTrack for event tracking analytics. See the tracking guide for details.
To keep the widget's selected-outcome state in sync with your own bet slip (i.e. show outcomes as selected when they were added outside the widget), use registerOnBetSlipChange inside registerAdapter.
// 1. Track your bet slip state
let changeCallback;
let betSlipState = { betslip: [], combinedOddsValue: undefined };
// 2. Notify the widget whenever the bet slip changes
function onBetSlipChanged
An adapter is a software component developed by the Sportradar engineering team that bridges the Bet Recommendation widgets and your platform's API. It retrieves data from your API and feeds it to the widget, ensuring seamless communication between the two systems.
Before adapter development begins, confirm and align your API contract with the Sportradar engineering team. Integration requires two SIR calls:
| SIR method | Purpose |
|---|---|
SIR('registerAdapter', ...) | Configure the adapter that retrieves and displays data from your API. |
SIR('addWidget', ...) | Mount the widget on the page. |
The following data types are provided by the adapter and are also available in the onItemClick callback payload.
Event
headToHeadEnable: true) increases each card's height by approximately 50–90px. H2H data is not useful on live events."recommended" type requires a user with sufficient betting history; without it, the widget may fall back to popular recommendations.| Property | Type | Default | Description |
|---|---|---|---|
user | string|number | 0 | User identifier for personalized recommendations. When provided with filters.recommendationType.available: "recommended", the AI generates personalized suggestions. When 0 or omitted, the widget shows general recommendations. |
outcomeNamePosition | string | "start" | Position of outcome label relative to odds button. Options: "start", "end", "top", "bottom". Affects market outcome visual layout. |
onItemClick | function | undefined | Callback function triggered when user clicks events or outcomes. Receives target (interaction type) and data (selection details). Target types: "event" (navigation), "outcome" (bet slip). Use for bet slip integration and analytics tracking. |
hideMarketNameRow | boolean | false | Hides market name labels in event cards. When true, removes market name text rows (e.g., "Match Result"), showing only outcomes and odds. Reduces card height for compact layouts. |
collapseLayout | boolean | false | Forces mobile/collapsed layout on small breakpoints. When true, applies vertical stacked layout optimized for narrow containers even on tablet/desktop widths. Useful for sidebar placements. |
showMoreMarketsButton | boolean | false | Displays "More Markets" button on each event card. When true, shows button linking to full event page with complete market list. Enables discovery of additional betting options. |
| Property | Type | Default | Description |
|---|---|---|---|
filters | object | Required | Configuration for recommendation type, sports, and time filtering. See below for detailed structure. |
numberOfEvents | number | 25 | Maximum number of events to display per tournament/league. Controls density of events shown in each expanded competition section. Range: 1-50 events. Higher values show more events per tournament but increase vertical scroll. Lower values focus on top events. |
numberOfExpandedCompetitions | number|string | 3 | Number of tournaments/leagues to display in expanded state on initial load. Options:
|
orderBy | string | "+begin" | Sorting order for events within each tournament section. Options:
|
sportsMapping | object | undefined | Maps client's sport identifiers to Sportradar sport IDs. Object with keys as client sport IDs (string/number) and values as Sportradar sport IDs. Example: {101: 1, 102: 2} maps client sport 101 to soccer, 102 to basketball. Allows using client's sport taxonomy in filter configurations. |
similarEventIds | array<number> | undefined | Array of event IDs for "similar" recommendation type. Required when filters.recommendationType.available: "similar". AI finds events similar to specified reference events based on sport, league, teams, odds patterns, timing. Example: [12345, 67890] finds events similar to these matches. Useful for "Related Events" sections on match detail pages. |
headToHeadEnable | boolean | false | Enables embedded head-to-head comparison widget within each event card. When true, displays H2H button/section showing team statistics, recent form, past meetings. Adds informational depth but increases card height. Best for pre-match betting where historical context valuable. |
headToHeadLabel | string | "H2H" | Custom label text for head-to-head button. Only applies when headToHeadEnable: true. Localize this label for different languages (e.g., "Form", "Stats", "History"). |
headToHeadGamePulseBtnEnable | boolean | false | Shows Game Pulse button within head-to-head section. Only applies when headToHeadEnable: true. Game Pulse provides live match momentum indicators and advanced statistics. |
headToHeadGamePulseBtnTooltip | boolean | false | Enables tooltip for Game Pulse button explaining feature. Only applies when both headToHeadEnable: true and headToHeadGamePulseBtnEnable: true. |
headToHeadShowGamePulse | boolean | false | Automatically displays Game Pulse content without button click. Only applies when headToHeadEnable: true. Shows momentum data inline for immediate access. |
enableCashbackIcon | boolean | false | Displays cashback indicator icon on eligible events. When true, shows icon/badge on events where operator offers cashback promotions. Requires backend configuration of cashback-eligible events. Enhances promotional visibility. |
cashbackIcon | string | undefined | Custom URL/path for cashback icon image. Only applies when enableCashbackIcon: true. Use to match operator's cashback branding. Example: "/assets/cashback-badge.svg". Falls back to default icon if omitted. |
streamIcon | string | undefined | Custom URL/path for live stream icon image. Displays on events with available live streaming. Use to match operator's streaming branding. Example: "/assets/stream-icon.svg". Falls back to default icon if omitted. |
streamIconPosition | string | undefined | Position of stream icon within event card. Options: "start" (left side near teams), "end" (right side near odds). Affects visual hierarchy and space allocation. |
debug | boolean | false | Enables debug mode with console logging for development. When true, logs recommendation generation, API calls, event filtering, league grouping, expand/collapse actions, errors with stack traces. Use for troubleshooting integration issues and understanding recommendation logic. |
The filters object controls recommendation algorithms, time windows, and sport filtering.
| Property | Type | Default | Description |
|---|---|---|---|
recommendationType | object | Required | Recommendation algorithm configuration. |
recommendationType.available | string | "recommended" | Required. Recommendation type to use. Options:
|
sport | object | undefined | Sport filter configuration. |
sport.available | array<string|number> | [] | Array of Sportradar sport IDs to include. Empty array or omitted shows all available sports. Example: [1, 2, 5] for soccer, basketball, tennis only. Filters both tournaments and events by specified sports. See Sports Reference. |
sport.sportNames | boolean | false | Display mode for sport indicators in tournament headers. When true, shows sport names as text labels. When false, shows sport-specific icons (⚽ soccer, 🏀 basketball, etc.). Set true for accessibility or when icons are unclear. |
time | object | undefined | Time/status filter configuration for event scheduling. |
time.range | number | 0 | Time window in hours for upcoming events. Defines maximum hours ahead to include events. Range: 0-72 hours. Examples:
time.available: "not_started"). Ignored for live events. Useful for focusing on immediate betting opportunities or limiting long-term forecasts. |
time.available | string | undefined | Event status filter. Options:
|
{
recommendationType: {
available: 'popular' // Single type (not array like Highlights)
},
sport: {
available: [1, 2, 5], // Soccer, Basketball, Tennis
sportNames: false // Show sport icons
},
time: {
range: 12, // Next 12 hours
available: 'not_started' // Upcoming events only
}
}| CSS class | Supported CSS properties |
|---|---|
srct-br-footer | color |
srct-br-loading | background-color, border-radius |
srct-br-outcome | background-color, color, border-radius |
srct-br-outcome--selected | background-color, color, border-radius |
srct-br-outcome--disabled | background-color, color, border-radius |
srct-br-outcome--unavailable | background-color, border-radius |
srct-br-outcome__name | font-size, color |
srct-br-outcome__value | font-size, color |
srct-br-eventinfo | font-size, color |
srct-br-eventinfo__info | font-size |
srct-br-eventinfo__icon | color |
srct-br-eventinfo__time | font-size, color |
srct-br-eventinfo__status | font-size, color |
srct-br-eventinfo__name | font-size, color |
srct-br-scoreboard | font-size, color |
srct-br-scoreboard__teams | font-size, color |
srct-br-scoreboard__scores | font-size, color |
srct-br-scoreboard__score-1 | font-size, color |
srct-br-scoreboard__score-2 | font-size, color |
srct-br-scoreboard__score-3 | font-size, color |
srct-br-market__name | font-size, color |
srct-br-market__type | font-size, color |
srct-br-market__more-markets | background-color, color, border-radius |
srct-br-eventcard | background, color |
srct-br-leagueinfo | background, font-size, color, border |
srct-br-leagueinfo__info | font-size, color |
srct-br-leagueinfo__icon | font-size, color |
srct-br-table__content | background-color |
srct-br-table__header | font-size, color, background-color |
srct-br-table__subheader | font-size, color, background-color |
srct-br-table__cell | border |
srct-br-table__row-spacing | width |
Basic tournament list with popular recommendations.
JavaScript
SIR("addWidget", "#event-list-1", "betRecommendation.eventList", {
numberOfEvents: 25,
numberOfExpandedCompetitions: 3,
filters: {
recommendationType: {
available: "popular",
},
},
});HTML (data attributes)
<div
class="sr-widget"
data-sr-widget="betRecommendation.eventList"
data-number-of-events="25"
data-number-of-expanded-competitions="3"
data-filters='{"recommendationType": {"available": "popular"}}'
></div>target value | Trigger | Key data properties |
|---|---|---|
"externalOutcome" | User clicks a single outcome button | externalEvent, externalMarket, externalOutcome |
"externalOutcomes" | User clicks multiple outcomes at once (e.g. combo card) | Array of { externalEvent, externalMarket, externalOutcome } |
"externalEvent" | User clicks an event header/card | externalEvent |
"externalCompetition" | User clicks a competition/league name | externalCompetition |
"goToBetSlip" | User clicks the "Go to Bet Slip" button (swipeBet only) | — |
"betSlipMode" | Bet slip mode changes between single and multi (swipeBet only) | value: "single" | "multi" |
SIR("addWidget", "#sr-widget", "betRecommendation.markets", {
onItemClick: function (target, data) {
if (target === "externalOutcome") {
// Add single outcome to bet slip
const { externalEvent, externalMarket, externalOutcome } = data;
betSlip.add({
eventId: externalEvent.id,
marketId: externalMarket.id,
outcomeId: externalOutcome.id,
});
} else if (target === "externalEvent") {
// Navigate to event/match detail page
window.location.href = `/matches/${data.externalEvent.id}`;
} else if (target === "externalCompetition") {
// Navigate to competition/league page
window.location.href = `/league/${data.externalCompetition.tournament.id}`;
}
},
filters: { recommendationType: { available: "popular" } },
});Until a custom adapter is developed, use the mockData adapter for local testing:
SIR("registerAdapter", "mockData", { onBetSlipChanged });(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.sir.sportradar.com/sportradar/widgetloader",
"SIR",
{ language: "en" },
);
SIR("registerAdapter", "{ADAPTER_NAME}");
SIR("addWidget", "#sr-widget", "betRecommendation.markets");| Property | Type | Required | Description |
|---|---|---|---|
id | string | number | Yes | Sportradar event ID. |
externalId | string | number | — | Client-side event ID. |
date | string | Yes | Formatted date string displayed in the widget. |
sport.id | string | number | Yes | Sport ID. Use sportsMapping if not using Sportradar sport IDs. |
sport.name | string | Yes | Sport name. |
category.id | string | number | — | Category ID. |
category.name | string | Yes | Category name (e.g. "England"). |
tournament.id | string | number | — | Tournament/league ID. |
tournament.name | string | Yes | Tournament name. |
teams | Array<{id, name}> | Yes | Home and away competitors. |
isLive | boolean | Yes | Whether the event is currently live. |
liveCurrentTime | string | Yes | Live time display (e.g. "2nd set", "45'"). |
result1 / result2 / result3 | result | — | Score columns: { result: [homeScore, awayScore] }. |
Market
| Property | Type | Required | Description |
|---|---|---|---|
id | string | number | Yes | Market ID. |
name | string | — | Market name (e.g. "Match Winner"). |
status.isActive | boolean | — | When false, see Widget Behavior. |
Outcome
| Property | Type | Required | Description |
|---|---|---|---|
id | string | number | Yes | Outcome ID. |
name | string | Yes | Outcome name (e.g. "Home", "Draw"). |
odds | string | number | Yes | Odds value. Use a number type to enable odds-change indicators (up/down arrows). |
specifier.value | string | number | — | Additional specifier (e.g. handicap value "-2.50"). |
status.isActive | boolean | — | When false, see Widget Behavior. |