# Replay Server

The Betradar System provides a replay server. Using the replay server, you can replay all messages sent for a particular sport event. The sport event has to be older than 48 hours. The matches are replayable forever. Betradar reserves the right to remove events that are older than 2 years.

**Server address**: [*global.replaymq.betradar.co*](http://global.replaymq.betradar.com/)*m*

The replay server is a message queue server. On this server, you will only receive messages for matches you have in your replay list that you are currently replaying. The replay server is controlled through a separate RESTful API. Here you first set up what matches you want to have replayed, then you start the replay and the messages will start arriving.

You can control the speed of the replay with a parameter when you start replaying. This allows you to for example replay the messages 10x faster than they were recorded (This is also the default replay speed).

Furthermore, you can also control the maximum delay between messages. This means that if the delay between two messages would be more than this much, the delay will be shortened to the maximum delay. The default value here is 10 seconds. This guarantees that no two messages ever arrive more than 10 seconds apart. Typically, this is very valuable for prematch odds when there can be a long time between updates.

{% hint style="info" %}
**Note**:&#x20;

The messages replayed are the messages sent to a special replay-user, so they may not 100% reflect the odds-values you receive (in particular not your odds-key). This is also means that you may have the ability to replay matches that you did not have access to yourself.
{% endhint %}

**Alive message**: When a replay is being started (either a scenario or a match), the replay server will send out alive messages for product 1 and product 3, every 10 seconds in the current time.

XML Example

```xml
<alive product="1" subscribed="1" timestamp="1521709923892"/>
<alive product="3" subscribed="1" timestamp="1521709923893"/>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/uof/replay-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
