Complete reference for the Hydra WebSocket real-time stream.
WebSocket Stream Reference
The Hydra WebSocket stream provides real-time intelligence data as it's collected. Connect to receive live aircraft positions, vessel tracks, OSINT signals, missile alerts, and market updates.
Endpoint
wss://api.hydra.fast/v1/stream
Authentication is required. Pass your API key as a query parameter or header — see the Connection guide for details.
How It Works
- Connect — open an authenticated WebSocket to
wss://api.hydra.fast/v1/stream - Receive snapshot — the server sends the current state (aircraft, vessels, signals, alerts, markets) scoped to your API key's permissions
- Stream updates — incremental updates arrive as JSON messages with a
typefield - Stay alive — the server pings every 15 seconds; respond with pong to keep the connection open
Rate Limits
- Maximum 10 concurrent connections per IP address
- Exceeding this returns HTTP
429 Too Many Connectionson the upgrade request
Message Format
Every message is a JSON object with type and data fields:
{
"type": "aircraft",
"data": { ... }
}
See Event Types for the full list of message types and their payloads.