WebSocket
Real-time news WebSocket feed
WebSocket endpoint for receiving real-time news updates.
Connection: wss://ai.gloriaterminal.com/ws/feed?token=<jwt>
Subscribe to a category:
{ "type": "SUBSCRIBE", "feed_category": "crypto" }
Unsubscribe:
{ "type": "UNSUBSCRIBE", "feed_category": "crypto" }
Keep-alive (ping/pong):
{ "type": "PING" }
Server messages:
- CONNECTED — connection established
- SUBSCRIBED / UNSUBSCRIBED — subscription confirmation
- PONG — keep-alive response with timestamp
- ERROR — error message
- News items are broadcast as NewsItem objects to subscribed categories.
get/ws/feed
Request
- Base URL: https://ai.gloriaterminal.com
- URL: https://ai.gloriaterminal.com/ws/feed
- Auth: one of:
- HTTP bearer
- API key in query parameter token
Query parameters
tokenstring required
JWT access token
Changes
No recorded changes to this operation across all 1 revision of this API.