API access requires a separate API Access subscription plan. Your standard StratAlerts subscription does not include API access. Subscribe at app.stratalerts.com to get started.
Delivery modes
REST
Request historical data, current snapshots, and batch lookups over HTTPS. Best for periodic polling, backtesting, and on-demand queries.
WebSocket
Maintain a persistent connection and receive pushed updates as they happen. Best for live dashboards, execution systems, and alert ingestion.
Base URLs
REST endpoints
Every endpoint requires a valid API key with the appropriate scope. See Authentication for how to pass your key.WebSocket channels
After connecting towss://app.stratalerts.com/ws/market/v1, you subscribe to channels by sending a JSON message with "op": "subscribe". Your key must have ws:connect scope plus the scope corresponding to each channel.
Quick example
The following request fetches the current market status usingcurl. Replace YOUR_API_KEY with your actual key.
Error format
All error responses use a consistent JSON envelope regardless of the endpoint or HTTP status code.Next steps
Authentication
Learn how to obtain an API key, pass it in requests, and understand scope requirements.
Rate limits
Understand per-key throughput limits, burst behavior, and WebSocket connection rules.