# Roleta ao Vivo live results in real time, in your code

> Evolution's Roleta ao Vivo results in your code the instant of the spin: /stream, the timestamps of each delivery step and two roulettes in the same program.

Source: https://lynxmetrics.com/en/blog/roleta-ao-vivo/roleta-ao-vivo-live-results · Published on 2026-11-21, updated on 2026-11-21

**Roleta ao Vivo results** are free to see on the table's [public page](https://lynxmetrics.com/live/roleta-ao-vivo), which updates on its
own. For a program, the way in is the `/stream` of the [Roleta ao Vivo API](https://lynxmetrics.com/apis/roleta-ao-vivo): every spin arrives
the moment it is stored, and with it the timestamps of each delivery step, so you can measure the real delay instead of
taking our word for it.

## The spin and its timestamps

Each `round` event of `/stream` carries the spin in `data` and, in `timing`, when the API received the spin and
when it sent it to you:

```text
event: round
id: e18e9e22398b85f609d10f16e
data: {"data":{"id":"e18e9e22398b85f609d10f16e","game":"roleta-ao-vivo","settledAt":"2026-11-20T23:44:07.115Z",
data:   "outcome":"black","data":{"number":24,"color":"black","parity":"even","half":"high","dozen":2,"column":3}},
data:  "timing":{"receivedAt":"2026-11-20T23:44:07.262Z","sentAt":"2026-11-20T23:44:07.271Z"}}
```

At Roleta ao Vivo, `settledAt` is the **table's own** time. So the difference between it and `receivedAt` is the
time from the ball stopping to the spin being in the API: on the first night, it was around **0.15 seconds**. Add the
path to you, and the number usually reaches your program in under a second.

## Measuring the delay on your side

```python
import json
from datetime import datetime, timezone

import httpx

def parse(iso):
    return datetime.fromisoformat(iso.replace("Z", "+00:00"))

URL = "https://api.lynxmetrics.com/v1/roleta-ao-vivo/stream"
with httpx.stream("GET", URL, headers={"x-api-key": "YOUR_KEY"}, timeout=httpx.Timeout(10, read=60)) as r:
    event, data = None, []
    for line in r.iter_lines():
        if line.startswith("event:"):
            event = line[6:].strip()
        elif line.startswith("data:"):
            data.append(line[5:])
        elif line == "" and data:
            if event == "round":
                body = json.loads("".join(data))
                spin, now = body["data"], datetime.now(timezone.utc)
                delay = (now - parse(spin["settledAt"])).total_seconds()
                print(spin["data"]["number"], spin["outcome"], f"{delay:.2f}s after the table")
            event, data = None, []
```

A delay measured this way includes your computer's clock: if it runs fast or slow, the number comes out skewed. A
server with a synchronized clock (NTP) gives the right measure.

## Both roulettes in the same program

Each `/stream` is for one table, with that API's key. To follow Roleta ao Vivo and
[Roleta Brasileira](https://lynxmetrics.com/apis/roleta-brasileira) together, open two connections, one with each key; since the format is
the same, the same function handles the spins from both. The difference between the tables is in
[Brazilian Roulette or Roleta ao Vivo](https://lynxmetrics.com/blog/roleta-brasileira/brazilian-roulette-vs-roleta-ao-vivo).

## Without an open connection

If your environment cannot hold a connection (some function hosts cut it within seconds), use `/latest?wait=20`: it
waits up to 20 seconds for the next spin and answers the instant it comes up. And if what you need are spins from hours
ago, the way is `/results`: [Roleta ao Vivo history](https://lynxmetrics.com/blog/roleta-ao-vivo/roleta-ao-vivo-history).

## Frequently asked questions

### Where can I see Roleta ao Vivo results for free?

On the LynxMetrics public Roleta ao Vivo results page, with the latest spins, no sign-up, updating on its own.

### How long after the spin does the Roleta ao Vivo number reach the API?

Around 0.15 seconds between the table closing the spin and the spin being in the API, as measured on the first night. The time of each step comes in the /stream event itself.

### Can I follow Roleta ao Vivo and Roleta Brasileira together?

Yes: one /stream connection per table, each with its own API key. The spin format is the same at both.
