Scoring Probability Per Period widget visualizes the likelihood of each team scoring during different time segments of a soccer match using an innovative circular polar chart. The widget divides the match into six equal periods (typically 15-minute segments for a 90-minute match) and displays probability percentages in a visually striking radial layout. Each time segment shows comparative scoring probabilities for both teams using colored arc segments, with left-side arcs representing one team and right-side arcs representing the opponent. The visualization includes an animated clock pointer indicating current match time for live games, percentage labels on each segment, and outer time markers showing the minutes for each period boundary (15', 30', 45', 60', 75', 90'). Probabilities are calculated using historical data from current and previous seasons, requiring a minimum number of matches (default 6) to ensure statistical accuracy. The widget automatically scales segments proportionally to the highest probability value, with special handling for zero or very small probabilities to maintain visual clarity. This widget is essential for betting platforms analyzing goal-scoring patterns, match prediction applications, statistical analysis tools, and providing insights into team attacking tendencies across different match periods.
Shows the default view of the Scoring Probability Per Period widget.
See the Scoring Probability Per Period widget demo.
match.scoringProbabilityPerPeriodEnvironment Requirements
Supported Sports
The Scoring Probability Per Period widget supports the following sports:
| Sport | Sport ID |
|---|---|
| Soccer | 1 |
Illustrations of main feature variants with relevant property values below.
Shows the default view of the Scoring Probability Per Period widget.
See Scoring Probability Per Period 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 | Required | The unique identifier for the match. See Getting Identifiers |
minMatchesThisSeason | number | 6 | Minimum number of matches required per team per season for statistical validity. Higher values increase accuracy but may result in insufficient data errors for teams with fewer matches. |
allowLast | boolean | true | When true, includes previous season data if current season has insufficient matches. When false, uses only current season data. |
disableWidgetHeader | boolean | false | When true, hides the match info header (competition name, date, venue, status). Use when embedding in contexts where match information is already displayed. |
disableMatchHeader | boolean | false | When true, hides the team header with crests, names, and score. Use for minimal display or when team information is shown elsewhere. |
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', 'match.scoringProbabilityPerPeriod', {
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="match.scoringProbabilityPerPeriod"
data-sr-match-id="123">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>