Price alerts
Get a message by email, Telegram or WhatsApp when a symbol crosses a price.
A price alert watches one symbol and messages you when its price crosses your target. Alerts belong to one customer. Every call except the stop link needs a token and a username on the account. Your plan sets how many alerts you may hold.
Endpoints
| Operation | What it does | Auth |
|---|---|---|
GET/ | List your alerts, newest first, each with the current price. Cursor-paginated. | Token and username |
POST/ | Create an alert. Answers 201. Declares Idempotency-Key. | Token and username |
GET/ | Read one alert. | Token and username |
PATCH/ | Change target, direction, mode or channels, or pause or resume. | Token and username |
DELETE/ | Delete an alert. Answers 204. Past fires stay. | Token and username |
GET/ | List the times your alerts fired, newest first. Cursor-paginated. | Token and username |
POST/ | Stop an alert from the link in its message: {"token": "..."}. | None |
Without a username, calls that need one answer 409 profile_incomplete. See Account. POST /api/v1/price-alerts declares an Idempotency-Key header, so a retry replays the first answer. Any mutating call accepts it. See Idempotency.
Example: create an alert
Find the symbol id with GET /api/v1/symbols, see Symbols.
curl -X POST "$BASE/api/v1/price-alerts" \
-H "Authorization: Bearer $TOKEN" \
-H "Idempotency-Key: 5b1d7c0e-3f9a-4c7e-8d21-0a6f4b9e1c33" \
-H "Content-Type: application/json" \
-d '{
"symbol_id": "ed6621c0-5979-526b-8ba1-452bf82b80c0",
"direction": "above",
"target_price": "200.00",
"mode": "single",
"channels": ["telegram", "email"]
}'The answer is 201:
{
"id": "6ca4458e-77ae-5441-b992-1b389fe10186",
"symbol": {
"id": "ed6621c0-5979-526b-8ba1-452bf82b80c0",
"slug": "aapl-nasdaq",
"ticker": "AAPL",
"display_name": "Apple Inc.",
"exchange": "NASDAQ",
"asset_class": "equity",
"is_active": true
},
"direction": "above",
"target_price": 200,
"mode": "single",
"channels": ["telegram", "email"],
"state": "active",
"current_price": 187.42,
"price_observed_at": "2026-11-04T15:42:10Z",
"price_replayed": false,
"distance_percent": 6.71,
"created_at": "2026-11-04T13:30:00Z",
"updated_at": "2026-11-04T13:30:00Z"
}An alert also has pause_reason, paused_at and last_fired_at. They are null until they apply.
Rules and edge cases
- Fields.
directionisabove(fires when the price rises to the target) orbelow(when it falls).modeissingle(fires once, the default) orcontinuous(fires on every new cross). - Target. Send
target_priceas a string to keep every digit. It must be above 0, with at most 30 digits and 12 decimals. - Channels.
channelsis a list oftelegram,whatsappandemail, one to three entries. Email needs no setup. Telegram and WhatsApp need a connected chat. WhatsApp also needs a paid plan: from the free plan the call answers403notification_channel_locked. A connected customer on a paid plan can always choose WhatsApp, even while Meta has paused the alert template. In that time the alert still fires, the WhatsApp message is skipped, and the other channels still send.price_alerts_availableonGET /api/v1/notifications/channelsisfalseforwhatsappin that time, so you can warn the customer. A channel that is not connected answers422price_alert_channel_not_connected. See Notifications. - Message gaps. A
continuousalert is checked every 5 minutes. Email and WhatsApp get at most one message an hour for the same alert. - States.
stateisactive,pausedordone.doneis asinglealert that has fired.PATCHacceptsstateofactiveorpausedonly. - Re-arming. Sending
state: "active"on a fired alert re-arms it. Changing the target or direction resets the last fire, so the alert may fire again at once, but adonealert comes back only withstate: "active". Changingmodere-arms nothing. - Paused by Renzo. An alert pauses by itself when no chosen channel can reach you any more, or when its symbol is retired.
pause_reasonsays why:user,inactive,no_channelorsymbol_inactive. - Plan limit. The cap is the
price_alerts.max_activecapability. Active and paused alerts both count. The free plan allows 5. One more answers409price_alert_limit_reached, withlimit,heldandproduct_codein the body. Re-arming a fired alert counts against the cap too. See Plans and limits. - No price yet.
current_price,price_observed_atanddistance_percentarenullwhen no price is available.distance_percentis (target - price) / price x 100. A positive value means the target is above the price. - Filters. The list takes
symbol_idandstate. The fired list takessymbol_idandalert_id.limitdefaults to 20 and may not pass 100. See Pagination. - Fires. Each fire holds the target and the
priceat that time, anddeliverieswith achanneland astatus:sent,sending,failedorskipped.alert_idisnullonce the alert was deleted. - Delete. Deleting an alert keeps its fires in the fired list.
- Stop link. The link in an alert message carries a signed token.
POST /api/v1/price-alerts/stoppauses that alert and answers200withalert_id,ticker,direction,target_priceandstate. A second click answers the same. A damaged token answers400price_alert_stop_token_invalid. - Other people's alerts. An ID that is not yours answers
404price_alert_not_found, the same as an unknown ID.
Errors
| Code | Status | When |
|---|---|---|
price_alert_limit_reached | 409 | Your plan's alert limit is reached. |
price_alert_not_found | 404 | No alert with that ID is yours. |
price_alert_symbol_not_found | 404 | No active symbol has this ID. |
price_alert_channel_not_connected | 422 | A chosen channel, such as Telegram or WhatsApp, is not connected. |
notification_channel_locked | 403 | WhatsApp needs a paid plan. |
price_alert_stop_token_invalid | 400 | The stop link is damaged or not issued by Renzo. |
profile_incomplete | 409 | The account has no username yet. |
Sign-in and request errors, such as token_expired and validation_failed, can come from any call. See Errors.