Developers — real-time alert stream

Darkmen pushes every alert you're eligible for as Server-Sent Events (SSE). Plug the stream into your own dashboard, bot or script. Available on every plan — the volume of events reflects your tier and enabled modules.

1. Get your stream token

Sign in, then request a token (it is minted once and reused):

GET /ar/api/me/sse-token  →  { "token": "dk_..." }

2. Connect to /api/stream

curl -N "https://darkmen.app/api/stream?token=YOUR_TOKEN"
const es = new EventSource('/api/stream?token=' + token);
es.onmessage = (e) => console.log(JSON.parse(e.data));

3. Event format

The first frame confirms the connection; then each alert arrives as a JSON envelope. Signals above your tier arrive as locked teasers. A : ping comment is sent every 30s to keep the connection alive.

{"type":"connected","tier":"pro"}
{"id":"ev-123","module":"polymarket_crypto_whales","ts":"14:02", ...}