Public API

Free, no-key REST API for self-serve spread alerts

Tutorial: subscribing to an alert

  1. Get a Discord webhook URL (or a Telegram chat ID). In Discord: Server Settings → Integrations → Webhooks → New Webhook → Copy Webhook URL. For Telegram, message the site's bot once and it will reply with your numeric chat ID.
  2. Create the subscription with a 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"}
  3. Save the 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.
  4. That's it. The alert fires once when |spread%| crosses your threshold, and re-arms once the spread drops back below it, so you won't get paged repeatedly for the same move.
  5. Cancel it whenever you want with a 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.

POST /api/subscriptions

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.

FieldTypeNotes
tickerstringmust exist in /api/tickers
thresholdPctnumber0–100
channelstring"discord" or "telegram"
targetstringDiscord webhook URL, or Telegram chat ID

DELETE /api/subscriptions/: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.