---
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`

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

**Connection**: `wss://therundown.io/api/v1/ws?key=YOUR_API_KEY`

**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.net/therundown/apis/therundown-sports-api.md) · [All operations](https://skmtc.net/therundown/apis/therundown-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/therundown/therundown-sports-api/revisions/f069d4e82f52/schema)
