Free, no-key REST API for self-serve spread alerts
POST to /api/subscriptions,
passing the ticker you want to watch and the spread threshold that should trigger it:
curl -X POST https://www.dynamiclab.space/api/subscriptions \
-H "Content-Type: application/json" \
-d '{
"ticker": "AAPL",
"thresholdPct": 0.5,
"channel": "discord",
"target": "https://discord.com/api/webhooks/…"
}'
{"id":"a1b2c3d4","secret":"9f8e7d6c5b4a…","ticker":"AAPL","thresholdPct":0.5,"channel":"discord"}
id and secret from the response. The secret is shown
exactly once and is required to cancel the subscription later — there's no way to recover it if lost.
DELETE, using the id and
secret from step 3:
curl -X DELETE "https://www.dynamiclab.space/api/subscriptions/a1b2c3d4?secret=9f8e7d6c5b4a…"
Base URL: https://www.dynamiclab.space — no API key or account needed. Rate-limited
per IP.
Create a self-serve alert. Fires once when |spread%| crosses your threshold, re-arms once it drops back below.
curl -X POST https://www.dynamiclab.space/api/subscriptions \
-H "Content-Type: application/json" \
-d '{
"ticker": "AAPL",
"thresholdPct": 0.5,
"channel": "discord",
"target": "https://discord.com/api/webhooks/…"
}'
{"id":"a1b2c3d4","secret":"9f8e7d6c5b4a…","ticker":"AAPL","thresholdPct":0.5,"channel":"discord"}
secret is shown once — save it, it's required to delete the subscription. For
channel: "telegram", target is your numeric chat ID (message the site's bot once to get it);
Telegram alerts only work once the site owner has configured a bot. Rate-limited per IP.
| Field | Type | Notes |
|---|---|---|
ticker | string | must exist in /api/tickers |
thresholdPct | number | 0–100 |
channel | string | "discord" or "telegram" |
target | string | Discord webhook URL, or Telegram chat ID |
Cancel a subscription. Requires the secret returned when it was created.
curl -X DELETE "https://www.dynamiclab.space/api/subscriptions/a1b2c3d4?secret=9f8e7d6c5b4a…"
Returns 204 on success, 403 if the secret doesn't match, 404 if the id doesn't exist.