Skip to content

Developers

Alerts and webhooks

Account alerts on email, Telegram, Discord, app push and HMAC-signed webhooks, with verification code.

Signed-in users can create alert rules. A rule has:

  • firms (or all firms)
  • event kinds: payout, big_payout, firm_daily, rule_change, firm_status, runway (treasury runway warning: a firm's payout wallets fall to under 4 weeks of payouts, or to half their usual level, only for firms whose runway the site shows), deal, launch
  • minimum amount, watched wallets (any payout to those wallets), quiet hours
  • digest mode: instant, hourly or daily
  • delivery channels

Channels are email, Telegram (via our bot), Discord (your webhook URL), push to the Fundedlytics app and generic webhook for developers. Free accounts get alerts on up to 3 firms in one daily email digest. Fundedlytics Pro ($9.99/month) adds instant delivery, every firm (including "all firms" rules) and every channel. Each channel is verified before use, and every message has an unsubscribe link or command.

Alerts need an account. API keys and the MCP server cannot create alerts for a user.

Webhook delivery

We POST JSON to your HTTPS URL:

POST /your/endpoint HTTP/1.1
Content-Type: application/json
User-Agent: Fundedlytics-Webhooks/1
X-Fundedlytics-Delivery: dlv_1042
X-Fundedlytics-Event: payout
X-Fundedlytics-Timestamp: 1764590400
X-Fundedlytics-Signature: sha256=5f2b…e9

{"deliveryId":"dlv_1042","digest":"instant","rule":{"id":"rule_Xc2k9QpL0vYt3bNa","name":"Big Tradeify payouts"},
 "events":[{"id":"payout:104","type":"payout","at":"2026-12-01T10:12:00Z","firm":"tradeify","url":"https://fundedlytics.com/firms/tradeify","payout":{…}}],
 "unsubscribeUrl":"https://fundedlytics.com/hub/unsubscribe?t=…"}
  • events holds FeedEvent objects (schema in the OpenAPI spec). Event ids are stable strings such as payout:104, big_payout:104, rule_change:tradeify:<hash> or firm_daily:tradeify:2026-11-30. Instant deliveries carry one event. Hourly and daily digests carry several, with digest set to hourly or daily.
  • X-Fundedlytics-Event is the event type, digest, or test.
  • Reply 2xx within 10 s. Network errors, 429 (honouring Retry-After) and 5xx are retried with exponential backoff (30 s doubling, capped at 1 h) for up to 6 attempts. Other 4xx answers are not retried, redirects are not followed, and 410 Gone switches the channel off. Retries use the same X-Fundedlytics-Delivery, so de-duplicate on it.
  • A test delivery (X-Fundedlytics-Event: test, "test": true, empty events, rule: null) is sent when you save the channel; the channel is only added if it answers 2xx.
  • unsubscribeUrl turns this channel off (a POST to it is a one-click unsubscribe).

Verify the signature

signature = hex(HMAC_SHA256(secret, "<X-Fundedlytics-Timestamp>.<raw request body>"))

Use the raw body bytes, not re-serialized JSON. Compare in constant time, and reject timestamps more than 5 minutes old to stop replays. The secret is shown once when you create the webhook channel.

Node

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

export function verifyFundedlytics(rawBody, headers, secret) {
  const ts = headers['x-fundedlytics-timestamp'];
  const sig = String(headers['x-fundedlytics-signature'] || '').replace(/^sha256=/, '');
  if (!ts || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
  const expected = createHmac('sha256', secret).update(`${ts}.`).update(rawBody).digest('hex');
  const a = Buffer.from(sig, 'hex'), b = Buffer.from(expected, 'hex');
  return a.length === b.length && timingSafeEqual(a, b);
}

// Express: app.post('/hook', express.raw({ type: 'application/json' }), (req, res) => {
//   if (!verifyFundedlytics(req.body, req.headers, process.env.FUNDEDLYTICS_WEBHOOK_SECRET)) return res.sendStatus(401);
//   const { events } = JSON.parse(req.body); /* … */ res.sendStatus(204);
// });

Python

import hashlib, hmac, time

def verify_fundedlytics(raw_body: bytes, headers, secret: str) -> bool:
    ts = headers.get("X-Fundedlytics-Timestamp", "")
    sig = headers.get("X-Fundedlytics-Signature", "").removeprefix("sha256=")
    if not ts.isdigit() or abs(time.time() - int(ts)) > 300:
        return False
    expected = hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(sig, expected)

# Flask: verify_fundedlytics(request.get_data(), request.headers, SECRET)