Skip to content

How do I list alerts?

Use GET /api/v1/alerts. It returns AlertDto[].

QueryRule
limit1 to 200; default 100
symbolOptional ticker
sinceOptional event ID from 0 up
Terminal window
curl 'https://api.squeeze.plus/api/v1/alerts?symbol=NVDA&limit=20'

Each event has ruleVersion, historyStatus, and comparable. An event can have historyStatus: "invalid". The app keeps the row as a past fact. Do not match its old values with new ones.

FieldTypeMeaning
id, tsnumberEvent ID and Unix time.
typestringOne of the five event types.
severityinfo, warn, or hotRule tier.
symbolstringStock-token ticker.
poolIdstring or nullRelated pool, when there is one.
title, bodystringSaved event text.
dataobjectFacts saved when the rule fired.
ruleVersionnumberRule set that made the event.
historyStatuscurrent, legacy, or invalidPast-row state.
comparablebooleanSafe to compare with the current rule.

Use since=120 to ask for events after event ID 120. Keep the newest ID if you poll.

Read all event types.