# Lightning Roulette API: JSON integration

> Get the latest Evolution Lightning Roulette spin with its lucky numbers, browse history and statistics, or receive new spins over the LynxMetrics stream.

Source: https://lynxmetrics.com/en/blog/lightning-roulette/lightning-roulette-api · Published on 2026-12-04, updated on 2026-12-04

The [Lightning Roulette API](https://lynxmetrics.com/apis/lightning-roulette) delivers JSON results from this Evolution table. Each spin has an ID, a UTC timestamp, a number from 0 to 36 and a color. The `data` object also includes parity, half, dozen and column. Those four fields are `null` when the result is zero.

## The lucky numbers of each spin

What sets this table apart comes in three fields. `data.lightning` is the list of the spin's lucky numbers, 1 to 5 of them, each with `number` and `multiplier` (50x to 500x). `data.lightningHit` is `true` when the winning number is one of them, and `data.multiplier` carries the multiplier paid in that case, or `null` when the winning number was not a lucky number.

```json
"lightning": [
  { "number": 3, "multiplier": 200 },
  { "number": 16, "multiplier": 500 }
]
```

## Make your first request

Create a trial key in the dashboard and pass it in the `x-api-key` header. Keep the key on your application server.

```bash
curl 'https://api.lynxmetrics.com/v1/lightning-roulette/latest' \
  -H 'x-api-key: YOUR_KEY'
```

## Choose an endpoint

Use `/latest` for the latest available spin, `/results` to page through history, `/stats` to summarize a sample and `/stream` to receive new spins over an open connection. In `/stats`, `flags.lightningHit` counts the spins where the winning number was a lucky number, and `numbers.multiplier` summarizes the multiplier paid in those spins. Pro covers up to seven days of history. Business gives you access to the full available archive.

Store the spin `id` as its key and query `/results` after reconnecting to check the interval since your last event. The [Lightning Roulette docs](https://lynxmetrics.com/docs/lightning-roulette) cover filters, limits and response formats.
