---
title: "V1 WebSocket: stream real-time event and market updates"
method: GET
path: "/api/v1/ws"
tags: ["V1 WebSocket"]
---

# V1 WebSocket: stream real-time event and market updates

`GET /api/v1/ws`

## Request

- Base URL: `https://therundown.io`
- URL: `https://therundown.io/api/v1/ws`
- Auth: API key in header `X-TheRundown-Key`

Establishes a WebSocket connection for streaming V1 event updates and V2 market price deltas.

**Connection**: `wss://therundown.io/api/v1/ws`

This legacy endpoint remains available for existing V1 integrations.
New streaming integrations should use the V2 endpoints and their
server-side header authentication.

**Filter parameters** (query string):
- `affiliate_ids`: comma-separated affiliate IDs
- `sport_ids`: comma-separated sport IDs (V1 messages only)
- `event_ids`: comma-separated event IDs
- `date`: date filter in YYYY-MM-DD format (V1 messages only)

**Heartbeat**: Every 15 seconds.

**Message queue**: 1024-message buffer. Messages dropped if client falls behind.

## Query parameters

- `affiliate_ids` string
- `sport_ids` string
- `event_ids` string
- `date` string, date

## Other responses

- `101`: WebSocket upgrade successful

---

[API](https://skmtc.dev/therundown/apis/therundown-sports-api.md) - [All operations](https://skmtc.dev/therundown/apis/therundown-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/therundown/apis/therundown-sports-api/revisions/d399d1f515db?raw)
