Get Real-time Crypto Market Data from Bybit with GPT-4.1-mini in Telegram
Instantly access live Bybit Spot Market data in Telegram!
This workflow integrates the Bybit REST v5 API with Telegram and optional GPT-4.1-mini formatting, delivering real-time crypto market insights such as latest prices, order books, trades, and candlesticks โ all presented in clean, structured Telegram messages.
๐ How It Works
A Telegram Trigger node listens for incoming user requests. User Authentication checks the Telegram ID against an allowlist. A Session ID is created from chat.id for lightweight memory across interactions. The Bybit AI Agent orchestrates multiple API requests via HTTP nodes:
Latest Price & 24h Stats (/v5/market/tickers?category=spot&symbol=BTCUSDT) Order Book Depth (/v5/market/orderbook?category=spot&symbol=BTCUSDT&limit=50) Best Bid/Ask Snapshot (from order book top levels) Candlestick Data (Klines) (/v5/market/kline?category=spot&symbol=BTCUSDT&interval=15&limit=200) Recent Trades (/v5/market/recent-trade?category=spot&symbol=BTCUSDT&limit=100) Utility Nodes process and format the response:
Calculator โ computes spreads, mid-prices, % changes. Think โ transforms JSON into human-readable reports. Simple Memory โ stores symbol, sessionId, and previous inputs. Message Splitter ensures responses over 4000 characters are broken into chunks. Final results are sent back to Telegram in structured, readable format.
โ What You Can Do with This Agent
Get real-time Bybit prices & 24h statistics. Retrieve spot order book depth and liquidity snapshots. Analyze candlesticks (OHLCV) across multiple timeframes. View recent trades for market activity. Monitor bid/ask spreads & mid-prices with calculated values. Receive Telegram-ready reports, cleanly formatted and auto-split when long.
๐ ๏ธ Setup Steps
Create a Telegram Bot
Use @BotFather to create a bot and get a token.
Configure in n8n
Import Bybit AI Agent v1.02.json. Update the User Authentication node with your Telegram ID. Add your Telegram API credentials (bot token). Add OpenAI API key (Optional) Add Bybit API key if you want AI-enhanced formatting.
Deploy and Test
Activate the workflow in n8n. Send a message like BTCUSDT to your bot. Instantly receive Bybit Spot data inside Telegram.
๐บ Setup Video Tutorial
Watch the full setup guide on YouTube:
โก Unlock Bybit Spot Market insights in Telegram โ fast, structured, 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