NBA Injuries widget displays a comprehensive injury report for an NBA season, listing all injured or unavailable players across league teams. The widget provides detailed information about each player's injury status, including the type of injury, expected return date, and current status. It is designed for sports platforms that need to provide up-to-date injury information for fantasy leagues, betting platforms, or general fan engagement. The widget supports two display modes (by team or by date), includes team filtering via dropdown, and offers flexible header customization for seamless integration into existing layouts.

Shows the default view of the NBA Injuries widget.

Shows the NBA Injuries widget with a team-specific table, displaying only injuries for the specified team.
See the NBA Injuries widget demo.
season.basketball.injuriesThe widget requires one of four identifiers to determine the NBA season.
Required identifiers (choose one):
See Getting Identifiers.
Environment Requirements
Supported Sports
The NBA Injuries widget supports the following sports:
| Sport | Sport ID |
|---|---|
| Basketball | 2 |
This widget only works with NBA. The widget includes validation that checks if the tournament is NBA and displays an error if used with other leagues: "Only NBA is supported".
* Conditional Requirement: One of matchId, seasonId, tournamentId, or uniqueTournamentId must be provided.
Illustrations of main feature 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| Property | Type | Default | Description |
|---|---|---|---|
matchId | number | Conditional* | The unique identifier for the match. See Getting Identifiers |
seasonId | number | Conditional* | Season identifier. See Getting Identifiers |
tournamentId | number | Conditional* | Tournament identifier. See Getting Identifiers |
uniqueTournamentId | number | Conditional* | NBA unique tournament identifier (132).See Getting Identifiers |
uniqueTeamId | number | undefined | When provided, filters the injury report to show only injuries for the specified team. See Getting Identifiers |
sortBy | string | "team" | Initial sort/grouping mode. Options: "team" (group by team alphabetically) or "date" (group by injury date chronologically). Users can toggle between modes using header buttons. |
disableWidgetHeader | boolean | false | When true, hides the widget header displaying season name and "Injuries Report" title. |
disableHeader | boolean | false | When true, hides the control header containing sort toggle buttons and team filter dropdown. Use for embedded or minimal displays. |
Shows the default view of the NBA Injuries widget.
Sample Configuration:
string|numberdatefilters.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.basketball.injuries', {
matchId: 123,
sortBy: 'date'
});<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.basketball.injuries"
data-sr-match-id="123"
data-sr-sort-by="date">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>