Webhooks

Market events delivered to your server

Instead of polling exchanges and computing indicators yourself, receive a signed HTTP request with the values the moment your condition is true.

Subtrigger sends signed webhooks when market conditions match. Instead of polling seven exchanges and Nasdaq and computing indicators in your own code, receive an HTTP request with the values the moment your condition is true: the full event as JSON, or a message in your own format.

What your server receives

Full event (default): the alert, the stream that fired, the latest value of every input and each comparison with its result.

{
  "alert": "…",
  "name": "ETH breakout",
  "fired_at": 1794750979080,
  "input": "ethusdt_close",
  "inputs": { "ethusdt_close": { "stream": "atom:binance.miniticker:ETHUSDT:close", "value": 3912.4, "ts": 1794750978000 } },
  "conditions": [ { "left": { "input": "ethusdt_close", "value": 3912.4 }, "op": "gt", "right": { "value": 3900 }, "result": true } ],
  "text": "ETH breakout: 3,912.4"
}

Message only: just the alert's message, with Content-Type matching its format: your own JSON (application/json), Markdown or text. With JSON messages, values are inserted as JSON, so the body is always valid:

{ "symbol": "ETHUSDT", "price": {{ethusdt_close.value}}, "at": {{alert.time}} }

Verify the signature

import { createHmac, timingSafeEqual } from "node:crypto";

function verify(header, body, secret) {
  const { t, v1 } = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = createHmac("sha256", secret).update(`${t}.${body}`).digest("hex");
  return Math.abs(Date.now() / 1000 - Number(t)) < 300 && timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}

Subtrigger-Event-Id is the same for retries of one message, so you can drop duplicates.

Typical uses

  • Feed a trading bot or a risk dashboard with indicator events instead of raw prices.
  • Post to Slack, Discord or any service with an incoming webhook.
  • Trigger automations in n8n, Make or Zapier.
  • Call an AI agent, or let it manage alerts over MCP.

Alert idea

ETHUSDT BB 20 %B · 1m · Binance > 1

Create this alert

Safety

Webhooks go only to public https addresses: private networks, localhost, cloud metadata addresses and redirects are refused. Header values and the signing secret are stored as secrets and never shown in the browser again.

FAQ

Can I test a webhook before saving it?

Yes. Send test delivers a test message and shows your server's answer.

What if my server is down?

Temporary failures are retried with growing pauses; permanent ones (4xx) are not. Every attempt is in the sink's history.

Can I send proxy streams, not only alerts?

Yes. A proxy sends every value of one stream to a sink, at most once per period you choose.

Is it free?

Webhooks are part of Pro, which is free during the pilot: nothing to pay and no card to add.

Market events delivered to your server

Free to start, Pro free during the pilot. No card, no exchange keys.

Create an alert