WebSocket API
Real-time financial news streaming through WebSocket connections. Endpoint:wss://api.byul.ai/news-v2
Features
- Real-time news delivery
- Event-based messaging
- Subscription filtering
- Automatic reconnection
- Error handling
Authentication
Authenticate using your API key in the connection options:Events
Client to Server:news:subscribe- Subscribe to news streamnews:unsubscribe- Unsubscribe from streamnews:unsubscribe:all- Unsubscribe from all
auth:success- Authentication confirmednews:data- Real-time news articlesnews:subscribed- Subscription confirmednews:error- Error notifications
Plan Requirements
WebSocket streaming requires Pro or Enterprise plan.
| Plan | Support | Connections |
|---|---|---|
| Test (Free) | No | - |
| Starter | No | - |
| Pro | Yes | 10 |
| Enterprise | Yes | 50 |