The Team Leaderboard widget displays team player rankings across key statistical categories including Goals, Assists, Cards (yellow and red), and Injuries. The widget presents top-performing players in each category with contribution charts showing each player's share of the team's total in that category. It is designed for sports betting platforms and sports information sites that need to provide detailed team performance insights to help users make informed betting decisions. The widget offers configurable categories, customizable display limits, tabbed navigation between statistics, and optional contribution charts for visual representation of player impact within the team context.

Shows the default view of the Team Leaderboard widget.

Shows the team leaderboard widget with match-based configuration.
See the Team Leaderboard widget demo.
team.leaderboardThe widget requires one of the following parameter combinations to function:
See Getting Identifiers for information on obtaining these values.
Environment Requirements
Supported Sports
The Team Leaderboard widget supports the following sports:
| Sport | Sport ID |
|---|---|
| Soccer | 1 |
* Conditional Requirement: One of the following combinations must be provided:
matchId + team, ORteamUid + seasonId, ORteamUid + tournamentId, ORteamUid + uniqueTournamentId** Conditional Requirement: team is required when using matchId.
Illustrations of main feature variants with relevant property values below.
See Team Leaderboard 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 | Required | Default | Description |
|---|---|---|---|---|
matchId | number | Conditional* | undefined | The unique identifier for the match. See Getting Identifiers. When combined with team parameter, the widget displays statistics for the specified team in that match's season. |
team | string | Conditional** | "home" | Specifies which team's statistics to display when using matchId. Valid values: home and away |
teamUid | number | Conditional* | undefined | Team unique identifier. Required when using seasonId, tournamentId, or uniqueTournamentId to specify which team's statistics to display. See Getting Identifiers. |
seasonId | number | Conditional* | undefined | Season identifier. Use with teamUid to display team statistics for a specific season. See Getting Identifiers. |
tournamentId | number | Conditional* | undefined | Tournament identifier. Use with teamUid to display team statistics for a specific tournament. See Getting Identifiers. |
uniqueTournamentId | number | Conditional* | undefined | Unique tournament identifier. Use with teamUid to display team statistics for all seasons of a specific unique tournament. See Getting Identifiers. |
categories | string | No | "goals, assists, cards, injuries" | Comma-separated list of statistical categories to display as tabs. Categories appear in the order specified. Valid values:
"goals, assists" shows only goals and assists tabs. |
disableWidgetHeader | boolean | No | true | When true, hides the widget header section. |
limit | number | No | 5 | Maximum number of player rows to display in each category. Must be a positive integer. Use lower values for compact displays, higher values for comprehensive statistics. |
disableContrChart | boolean | No | false | When true, hides the contribution chart that visualizes each player's share of the team's total for that statistic. |
activeTab | string | No | "id_tab_goals" | Specifies which category tab is initially active when the widget loads. Valid values:
categories parameter. |
Shows the default view of the Team Leaderboard widget.
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', 'team.leaderboard', {
teamUid: 48,
seasonId: 130281
});<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="team.leaderboard"
data-sr-team-uid="48"
data-sr-season-id="130281">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>