Binance WebSocket BTC Price Alert
Subscribe to the Binance public WebSocket ticker stream and trigger a price alert when BTC/USDT crosses your target threshold — no API key required.
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
7 nodes · Free & source-available
Binance WebSocket BTC Price Alert
Connect to Binance's public market data WebSocket and react to live BTC/USDT price movements in real time — no API key or account needed for public ticker streams.
What this workflow does
- WebSocket Trigger subscribes to the Binance BTC/USDT 24-hour ticker stream
- Condition compares the current last price against a configurable threshold
- On breach → Set formats the alert payload with symbol, price, and percent change
- Output returns the structured alert ready for downstream use (Slack, Telegram, email, etc.)
- Non-breach ticks fall through to a lightweight Output for run tracking
Use cases
- Personal price alert bot that fires when BTC crosses a target
- Automated DCA (dollar-cost averaging) entry signal
- Portfolio rebalancing trigger on price breach
- Trading journal or analytics event source
- Webhook bridge to Slack, Telegram, or a dashboard
Setup
The Binance ticker WebSocket (wss://stream.binance.com:9443/ws/btcusdt@ticker) is public and unauthenticated — no credential is needed. Change the coin pair by swapping btcusdt in the URL for any listed pair (e.g. ethusdt, solusdt, bnbusdt).
Adjust the threshold in the Condition node ($int($BinanceFeed.message.data.c.substring(0,5)) > $int(78500)) to your target price. The field c is the last traded price as a string (e.g. "78523.45") — substring(0,5) strips the decimal part and $int() casts both sides before comparing.
Key ticker fields:
| Field | Meaning |
|---|---|
c | Last traded price |
p | Absolute price change (24 h) |
P | Price change percent (24 h) |
h / l | 24 h high / low |
v | Base asset volume (24 h) |
Tip: For multiple pairs at once, use the combined stream URL:
wss://stream.binance.com:9443/stream?streams=btcusdt@ticker/ethusdt@tickerEach message will include astreamkey identifying the pair.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
- 4Add your API keys in the node config panels and click Run.
Discover more automations
- IntegrationJina Web FetcherFetch clean, LLM-ready text from any URL using the Jina Reader API.
- IntegrationOpen-Meteo Weather SnapshotPull live weather (no API key) from Open-Meteo for any city coordinates — great for travel bots and dashboards.
- IntegrationZenQuotes Random QuoteFetch a random inspirational quote as JSON from the free ZenQuotes API — no API key, ideal for bots and UI demos.
- IntegrationSlack + Postgres MCP Answer AgentAnswer Slack channel questions by letting an Agent query Postgres through MCP, then post the answer back to Slack.
- IntegrationDiscord Incoming WebhookPost a message to a Discord channel with a single HTTP node — structured text input and webhook JSON body.
- IntegrationGoogle Sheets AI EnricherRead new rows from Google Sheets, classify or enrich them with an LLM, and write the results back automatically.
- IntegrationRealtime WebSocket Alert RelayListen to an external WebSocket feed, audit critical events, and forward them to another realtime channel.
- IntegrationDrive Share Link MailerFetch a remote file into Drive, return the download link immediately, and email the same link asynchronously.