> ## Documentation Index
> Fetch the complete documentation index at: https://docs.taap.it/llms.txt
> Use this file to discover all available pages before exploring further.

# Realtime

> Retrieve the number of active visitors in a rolling window

Returns the number of active visitors in a rolling window for the project bound to your API key.

**Request:**

```bash cURL theme={null}
curl -X GET 'https://taap.it/api/v1/radar/realtime?windowMinutes=30' \
  -H 'Authorization: Bearer taapit_your_api_key_here'
```

**Response:**

```json theme={null}
{
  "data": {
    "active_visitors": 17
  }
}
```

## Authorization

<ParamField header="Authorization" type="string" required>
  Bearer token with your Radar API key. Format: `Bearer taapit_...`
</ParamField>

## Query Parameters

<ParamField query="windowMinutes" type="integer" default="30">
  Rolling window size in minutes. Must be a positive number. Defaults to `30`.
</ParamField>

## Response Fields

<ResponseField name="data" type="object" required>
  <Expandable title="Realtime" defaultOpen>
    <ResponseField name="active_visitors" type="integer">
      Number of visitors active within the window.
    </ResponseField>
  </Expandable>
</ResponseField>
