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

0
Downloads
0
Views
8.43
Quality Score
intermediate
Complexity
Author:Don Jayamaha Jr(View Original β†’)
Created:9/28/2025
Updated:11/13/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments