Skip to main content
The alerts endpoints expose two distinct alert types that StratAlerts generates in real time. In-force alerts fire when a setup becomes actionable — price is inside the trigger range on a given timeframe. Simultaneous break alerts fire when multiple index futures break the same direction within a detection window. Both endpoints share the alerts:read scope and support since_id-based incremental polling so you can efficiently retrieve only new events since your last request.

GET /alerts/in-force

Returns in-force setup alerts. An alert is “in force” when price has entered the actionable range of a setup on a given timeframe. Filter by symbol, timeframe, direction, and candle state to narrow the result set. GET https://app.stratalerts.com/api/market/v1/alerts/in-force
Requires scope: alerts:read

Request parameters

string
Comma-separated list of ticker symbols to filter by (e.g., AAPL,SPY). When omitted, alerts for all symbols are returned.
number
How far back in time (in minutes) to look for alerts. When omitted, the server’s default window applies.
number
Maximum number of alert items to return. Server-side clamping applies.
number
Return only alerts with an ID greater than this value. Use the highest id from your last response to implement incremental polling without re-fetching previously seen alerts.
string
default:"all"
Filter by timeframe. Pass all to return alerts across all timeframes, or a specific code such as D, W, M, Q, Y, 60, 30, 15.
string
default:"all"
Filter by alert direction. Valid values: all, bullish, bearish.
string
default:"all"
Filter by candle state (CC field). Pass all to skip filtering, or a specific candle state string.

Response fields

object[]
required
Array of in-force alert objects.

Code examples

Example response


GET /alerts/simultaneous-breaks

Returns simultaneous break alert events. A simultaneous break fires when multiple tracked index futures (ES, NQ, RTY, YM) all break the same direction within the detection window. Use this endpoint to identify moments when the broad market is moving in a coordinated fashion. GET https://app.stratalerts.com/api/market/v1/alerts/simultaneous-breaks
Requires scope: alerts:read

Request parameters

number
How far back in time (in minutes) to look for simultaneous break events. When omitted, the server’s default window applies.
number
Maximum number of events to return.
number
Return only events with an ID greater than this value. Use for incremental polling.
string
default:"all"
Filter by timeframe. Pass all or a specific timeframe code (e.g., D, W).
string
default:"all"
Filter by break direction. Valid values: all, bullish, bearish.
string
default:"all"
Filter by the number of participating instruments. Pass all to return all events, or a numeric string (2, 3, 4) to filter by the exact break count.

Response fields

object[]
required
Array of simultaneous break alert objects.

Code examples

Example response


Error codes

Both alerts endpoints use the same error format. Error responses use the following shape:
For real-time delivery, use the WebSocket channels alerts.in_force and alerts.simultaneous_breaks instead of polling. The REST endpoints are best suited for backfilling missed events or building an alert history log.