Scoreboard widget provides a comprehensive match overview displaying team information, live scores, match status, and key statistics in an adaptive layout. Layout automatically adapts: horizontal layout for wide containers, vertical layout for narrow containers (mobile), and period scoreboards for sports like basketball displayed below the main header.

Horizontal Layout

Vertical Layout
See the Scoreboard widget demo.
match.scoreboardEnvironment Requirements
Supported Sports
Match Scoreboard widget supports the following sports:
Illustrations of main layout variants with relevant property values below.
Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:
SIR() callcardVariant: "compact"In javascript integration, the properties go into an object which is passed as the 4th argument of the call ti SIR() function. Please see Global SIR API
data-sr- prefixcardVariant → data-sr-card-variant| Sport | Sport ID |
|---|---|
| Soccer | 1 |
| Basketball | 2 |
| Ice Hockey | 4 |
| Tennis | 5 |
| Handball | 6 |
| Rugby | 12 |
| Football | 16 |
| Darts | 22 |
| Volleyball | 23 |
| Badminton | 31 |
| Beach Volley | 34 |
| Esport Soccer | 137 |
| Esport Basketball | 153 |
| Esport Ice Hockey | 195 |
| Property | Type | Default | Description |
|---|---|---|---|
matchId | number | Required | The unique identifier for the match. Widget displays live score and match information for this match. See Getting Identifiers |
layoutType | string | dynamic | Layout mode: dynamic (auto-switch based on width), horizontal (side-by-side), or vertical (stacked). |
smallLayout | string | null | Override layout for small sizes (< 620px). When set to vertical, dynamic layout is used. When set to horizontal, horizontal layout is forced on all screen sizes. |
disableWidgetHeader | boolean | false | When true, hides the competition/tournament header at the top. |
disableMatchHeader | boolean | false | When true, hides the team display section entirely. Shows only match info if enabled. |
disableGoalscorers | boolean | false | When true, hides all goal scorer information. |
expandedGoalScorers | boolean | false | When true, displays detailed goal scorers in separate columns. When false, shows inline goal scorers. |
disableMatchInfo | boolean | false | When true, hides the match information section (referee, venue, attendance). |
onItemClick | function | null | Unified callback for team and player clicks. Emits playerId/teamId on click. |
Override layout for small screens.
Sample Configuration:
horizontalfilters.sport.hidden → Complex objects must be passed as JSON stringsIn HTML integration, the properties go into the parent HTML object as object properties, prefixed with data-sr- as explained above.
This method supports only simple (base) properties and does not support properties that require functions.
In all examples replace sportradar in the widgetloader URL path with your clientId.
Example if your clientId is client1:
https://widgets.sir.sportradar.com/sportradar/widgetloaderhttps://widgets.sir.sportradar.com/client1/widgetloaderInitialize the widget programmatically using the JavaScript API. The widget renders in the specified container element.
(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('addWidget', '#sr-widget', 'match.scoreboard', {
matchId: 123,
layoutType: 'horizontal'
});<div id="sr-widget"></div>Insert the following HTML code at the target widget location. Complex object properties must be passed as JSON-encoded strings.
<div id="sr-widget"
data-sr-widget="match.matchList"
data-sr-match-id="123"
data-sr-layout-type="horizontal">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>