Season Standings widget displays an interactive league table that visualizes how two teams' positions evolved throughout a season. The widget combines a traditional standings table with a line chart showing position changes from season start to current standings. It is designed for sports platforms that need to illustrate team performance trajectories, highlight head-to-head positioning, and provide comprehensive season context. The widget supports group stage tournaments, includes promotion/relegation indicators, and offers customizable styling through theming options.
Shows the default view of the Season Standings widget.
See the Season Standings widget demo.
season.standingsThe widget requires one of three parameter combinations.
Required parameter combinations (choose one):
Match-based (most common):
Tournament with teams:
Season with teams:
See Getting Identifiers.
Environment Requirements
Supported Sports
The Season Standings widget supports the following sports:
| Sport | Sport ID |
|---|---|
| Soccer | 1 |
| Basketball | 2 |
Not Supported:
* Conditional Requirement: One of matchId, seasonId, tournamentId, or uniqueTournamentId must be provided.
Illustrations of main feature variants with relevant property values below.
Shows the default view of the Season Standings widget.
See Season Standings widget demo
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| Property | Type | Default | Description |
|---|---|---|---|
matchId | number | Conditional* | Match identifier that automatically provides both teams and season context. See Getting Identifiers |
seasonId | number | Conditional* | Season identifier. Required when using seasonId + teamUid1 + teamUid2 combination.See Getting Identifiers |
tournamentId | number | Conditional* | Tournament identifier. Required when using tournamentId + teamUid1 + teamUid2 combination.See Getting Identifiers |
uniqueTournamentId | number | Conditional* | Unique tournament identifier. Optional parameter for additional context. See Getting Identifiers |
teamUid1 | number | Conditional* | First team's unique identifier (typically home team). Required when not using matchId.See Getting Identifiers |
teamUid2 | number | Conditional* | Second team's unique identifier (typically away team). Required when not using matchId.See Getting Identifiers |
rowHeight | number | 32 | Height of each team row in pixels. Typical values: 28-40. Larger values improve touch targets for mobile. |
disableWidgetHeader | boolean | false | When true, hides the widget header displaying match/season context and "Season Standings" title. |
Sample Configuration:
string|numberfilters.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', 'season.standings', {
matchId: 123
});<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="season.standings"
data-sr-match-id="123">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>