Skip to main content
Logo
Explore APIsContact Us
  • Home
  1. Resources
  2. Virtual Stadium
  3. Getting Started

Getting Started

Virtual Stadium's Hosted Adapter is a Sportradar-managed solution that provides the fastest path to integrating betting features with Sportradar odds. We handle the core adapter infrastructure, allowing you to focus on extending it with your betting-specific features.

Hosted Adapter Implementation Timeline

#Prerequisites

Before beginning hosted adapter implementation, complete these foundational steps:

Phase 1: Initiation (1-2 Days)

  • Communication Channel - Sportradar initiates shared Slack channel
  • RSA Key Generation - Generate 2048-bit RSA keys for JWT authentication → Guide
  • Language Requirements - Specify supported languages via Slack channel
  • Moderation Setup - Sportradar configures moderation client with Supervisor access

Phase 2: Technical Kickoff Meeting

  • Supervisor Access - Provide supervisor email for moderation access
  • Introduction Session - Learn about features, adapter, and integration process
  • Adapter Decision - Confirm hosted adapter is the right choice

Phase 3: Post-Kickoff Setup

  • Brand & Operator Setup - Supervisor configures organizational structure (~1 day) → Managing Brands
  • Moderator Invitation - Supervisor invites moderation team members → Managing Users
  • Channel Setup - Create channels manually or via API → Channel Creation
  • JWT Implementation - Implement token generation on your backend → JWT Authentication

View Complete Integration Timeline →

#Implementation Timeline

The hosted adapter implementation follows a four-phase timeline:

#Sportradar's Responsibility

  • Step 1: Odds Setup (~1-3 days)
  • Step 2: Adapter Development (~1-2 weeks)

#Your Responsibility

  • Step 3: Adapter Registration
  • Step 4a: Module Implementation (~1 week)

#Collaboration (Both Teams)

  • Step 4b: Adapter Configuration (~1 week)

Total timeline: 2-4 weeks


#What's Included

The core adapter with pre-built features for betting features. Sportradar handles updates and improvements automatically.

#Flash Bet Module

Interactive betting that dynamically reacts to live match events, displaying quick betting options in a timed queue.

#Bet Insights Module

Real-time and pre-match betting suggestions generated from Sportradar match data to encourage user engagement and highlight relevant betting markets.

#What You Need to Implement

Additional features that integrate with your betting platform.

#Bet Share Module

Enables users to share their bet selections with others. When a bet is shared, the module retrieves bet details from your platform and displays them to other users who can then place the same bet.

#Bet Slip Module

Allows users to add betting selections directly to your platform's bet slip. When users click on outcomes in Virtual Stadium, the module communicates with your bet slip system to add the selections seamlessly.


#Step 1: Odds Setup

#Handled by Sportradar (~1-3 Days)

Following the kickoff meeting, once eligibility is confirmed and the hosted adapter approach is selected, Sportradar will integrate odds into the system (~1-3 days). This includes configuring your odds feed and data sources.

If any technical issues are discovered during this process, a follow-up meeting will be scheduled to discuss alternative solutions.

Your Action: Wait for Sportradar to complete the odds integration process.


#Step 2: Adapter Development

#Handled by Sportradar (~1-2 Weeks)

Sportradar develops and deploys your hosted adapter including:

  • Flash Bet functionality
  • Bet Insights integration

Once complete, Sportradar will provide you with:

  • Adapter Name - The name of your hosted adapter

Your Action: Wait for Sportradar to complete development and provide information.


#Step 3: Adapter Registration

Register the hosted adapter in your Virtual Stadium widget using the adapter name provided by Sportradar. Register the adapter before adding widgets (see Complete Integration Example below). For detailed widget setup instructions, see Virtual Stadium Quick Start →

Once registered, Flash Bet and Bet Insights will be functional immediately. However, bet sharing and bet slip integration require additional module implementation.

#Next Steps

After registering your adapter, choose your next step based on your implementation progress:

  • Not yet integrated the widget? → Start with Virtual Stadium Quick Start for complete widget setup
  • Widget already integrated? → Continue to step 4

Register Adapter:

javascript
// Register the hosted adapter
SIR("registerAdapter", "{adapterName}");

Complete Integration Example:

html
/**
 * TODO(developer): Replace <clientId> with your actual client ID
 * provided by Sportradar before running this code.
 */
<script>
  (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/<clientId>/widgetloader", "SIR", {
    language: "en",
  });
  
  // Register adapter before adding widgets
  SIR("registerAdapter", "{adapterName}");
  
  // Add Virtual Stadium widget
  /**
   * TODO(developer): Replace 'your-jwt-token' with your actual JWT token
   * and 'your-channel-id' with your actual channel ID before running this code.
   */
  SIR("addWidget", ".sr-widget", "virtualStadium", {
    jwt: "your-jwt-token",
    channelId: "your-channel-id"
  });
</script>

<div class="sr-widget"></div>

#Step 4: Feature Implementation

Now that your adapter is registered and the widget is integrated, implement the required features to enable full betting functionality.

#Start With Bet Share Feature

Begin by implementing the Bet Share Feature to enable users to share their bet selections. This feature allows users to share bets and lets others view and place the same bets.

Bet Share Implementation

Last updated 13 days ago
Is this site helpful?
Virtual Stadium, Moderation, Engagement Tools
Central Hub WidgetCustom Adapter
On this page
  • Prerequisites
  • Implementation Timeline
  • Sportradar's Responsibility
  • Your Responsibility
  • Collaboration (Both Teams)
  • What's Included
  • Flash Bet Module
  • Bet Insights Module
  • What You Need to Implement
  • Bet Share Module
  • Bet Slip Module
  • Step 1: Odds Setup
  • Handled by Sportradar (~1-3 Days)
  • Step 2: Adapter Development
  • Handled by Sportradar (~1-2 Weeks)
  • Step 3: Adapter Registration
  • Next Steps
  • Step 4: Feature Implementation
  • Start With Bet Share Feature