Access Real-time Binance Market Data with GPT-4o Formatting in Telegram
Instantly access real-time Binance Spot Market data in Telegram!
This workflow connects the Binance REST API with Telegram and optional GPT-4.1-mini formatting, delivering structured insights such as latest prices, 24h stats, order book depth, trades, and candlesticks directly into chat.
π How It Works
A Telegram Trigger listens for incoming user requests. User Authentication validates the Telegram ID to restrict access. A Session ID is generated from chat.id to manage session memory. The Binance AI Agent executes HTTP calls to the Binance public API:
Latest Price (Ticker) β /api/v3/ticker/price?symbol=BTCUSDT 24h Statistics β /api/v3/ticker/24hr?symbol=BTCUSDT Order Book Depth β /api/v3/depth?symbol=BTCUSDT&limit=50 Best Bid/Ask Snapshot β /api/v3/ticker/bookTicker?symbol=BTCUSDT Candlestick Data (Klines) β /api/v3/klines?symbol=BTCUSDT&interval=15m&limit=200 Recent Trades β /api/v3/trades?symbol=BTCUSDT&limit=100 Utility Tools refine outputs:
Calculator β computes spreads, midpoints, averages, % changes. Think β extracts and reformats JSON into human-readable fields. Simple Memory β saves symbol, sessionId, and user context. Message Splitter ensures outputs >4000 characters are chunked for Telegram. Final structured reports are sent back to Telegram.
β What You Can Do with This Agent
Get real-time Binance Spot prices with 24h stats. Fetch order book depth and liquidity snapshots. View best bid/ask quotes. Retrieve candlestick OHLCV data across timeframes. Check recent trades (up to 100). Calculate spreads, mid-prices, % changes automatically. Receive clean, structured messages instead of raw JSON.
π οΈ Setup Steps
Create a Telegram Bot
Use @BotFather and save the bot token.
Configure in n8n
Import Binance AI Agent v1.02.json. Update the User Authentication node with your Telegram ID. Add Telegram credentials (bot token). Add OpenAI API key (Optional) Add Binance API key
Deploy & Test
Activate the workflow in n8n. Send BTCUSDT to your bot. Instantly receive Binance Spot Market insights inside Telegram.
π€ Output Rules
Group outputs by Price, 24h Stats, Order Book, Candles, Trades. Respect Telegramβs 4000-char message limit (auto-split enabled). Only structured summaries β no raw JSON.
πΊ Setup Video Tutorial
Watch the full setup guide on YouTube:
β‘ Unlock Binance Spot Market insights instantly in Telegram β clean, fast, and API-key free.
π§Ύ Licensing & Attribution
Β© 2025 Treasurium Capital Limited Company Architecture, prompts, and trade report structure are IP-protected.
No unauthorized rebranding permitted.
π For support: Don Jayamaha β LinkedIn
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
π€ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments