Skip to main content
Logo
Explore APIsContact Us
  • Home
  • BET 3-in-1
  • Match Preview
  • Tournament Preview
  • Virtual Stadium
  • StatsHub
  1. Resources
  2. Engagement Tools
  3. Bet Assist Standalone

Bet Assist Standalone

Widgets, Engagement Tools, BET
Bet Assist - ButtonAvailable Markets
Last updated 19 days ago
Is this site helpful?
On this page
  • Supported Content and Environment
  • Required Parameters
  • Supported Markets
  • API Reference
  • Integration Examples
  • JavaScript (Programmatic)
  • HTML (Declarative)
  • Related Resources

Bet Assist Standalone widget displays statistics and betting suggestions depending on a selected market. The widget presents analytical data including historical trends, team performance metrics, head-to-head statistics in a standalone container that can be embedded anywhere on your page. Unlike the button variant that opens in a popover, the standalone widget is always visible and provides users with immediate access to information. This makes it ideal for analysis sections, match detail pages, or betting strategy hubs.

![Bet Assist Standalone/img/bet-assist/standalone.png)

See the Bet Assist Standalone widget demo.

#Supported Content and Environment

#Required Parameters

  • widget-name: betAssist.standalone
  • matchId: The Sportradar match identifier. See Getting Identifiers
  • market: The specific betting market type for which to display insights. See Supported Markets

Environment Requirements

Supported Browsers

BrowserVersionMobile Support
Chrome60+✅ Chrome Mobile 60+
Firefox55+✅ Firefox Mobile 55+
Safari12+✅ iOS Safari 12+
Edge79+✅ Edge Mobile 79+
Internet ExplorerAll versions❌ Not Supported

Technical Requirements:

  • JavaScript enabled
  • XMLHttpRequest support for data fetching
  • CSS3 support for styling and animations

Supported Sports

  • American Football NFL only (including NCAA)
  • Baseball & MLB
  • Basketball & NBA (including NCAA)
  • Futsal
  • Handball
  • Ice Hockey & NHL
  • Soccer
  • Tennis

#Supported Markets

Bet Assist provides predictions for a comprehensive range of betting markets. Market availability varies by sport.

For the complete list of supported markets per sport, see Available Markets.

#API Reference

PropertyTypeRequiredDefaultDescription
matchIdnumberYes-Sportradar match identifier. See Getting Identifiers
marketstringYes-Betting market type for predictions. Must be one of the supported market types. See Supported Markets

#Integration Examples

Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:

JavaScript/Programmatic Integration

  • Property names remain unchanged in camelCase
  • Properties become members of the 4th parameter object in SIR() call
  • Example: cardVariant: "compact"
info

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

HTML/Declarative Integration

  • Convert camelCase to lowercase with dashes, e.g. cardVariant becomes card-variant
  • Add data-sr- prefix
  • Example: cardVariant →

#JavaScript (Programmatic)

Initialize the widget programmatically using the JavaScript API.

javascript
(function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e]||[]).push(arguments)},i.l=1*








#HTML (Declarative)

html
<div
  id="bet-assist-standalone"
  data-sr-widget="betAssist.standalone"
  data-sr-match-id="63684665"
  data-sr-market="bothTeamsToScore"
></div>

<script
  type="application/javascript"
  src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
  async
></script>

#Related Resources

Getting Identifiers

Learn how to obtain match IDs required for widget configuration.

Learn More

Widget Theming

Customize widget appearance, colors, fonts, and styling to match your brand.

Learn More

Tracking Guide

Implement analytics and monitoring for widget interactions and performance.

Learn More
data-sr-card-variant
  • Example: filters.sport.hidden → Complex objects must be passed as JSON strings
  • info

    In HTML integration, the properties go into the parent HTML object as object properties, prefixed with data-sr- as explained above.

    Only base property support

    This method supports only simple (base) properties and does not support properties that require functions.

    info

    In all examples replace sportradar in the widgetloader URL path with your clientId.

    Example if your clientId is client1:

    • This URL: https://widgets.sir.sportradar.com/sportradar/widgetloader
    • becomes: https://widgets.sir.sportradar.com/client1/widgetloader
    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', '#bet-assist-standalone', 'betAssist.standalone', {
    matchId: 61591316,
    market: 'bothTeamsToScore'
    });

    Integration Best Practices

    Performance optimization, security considerations, and deployment strategies.

    Learn More

    Bet Assist Button

    Compact button variant that opens predictions in a popover for space-efficient integration.

    Learn More