Get Exchange Data with KuCoin AI Agent | GPT-4o + Telegram
Access live KuCoin Spot Market data instantly in Telegram!
This workflow integrates the KuCoin REST API with Telegram and an optional GPT-4.1-mini formatter, delivering real-time insights like latest prices, 24h stats, order book depth, trades, and candlesticks β all structured into clean Telegram messages.
π How It Works
A Telegram Trigger listens for user commands. User Authentication validates the Telegram ID against an allowlist. A SessionId is generated from the chat ID to support memory across turns. The KuCoin AI Agent orchestrates API requests:
24h Stats β /api/v1/market/stats?symbol=BTC-USDT Order Book Depth β /api/v1/market/orderbook/level2_100?symbol=BTC-USDT Latest Price β /api/v1/market/orderbook/level1?symbol=BTC-USDT Best Bid/Ask β /api/v1/market/orderbook/level1?symbol=BTC-USDT Klines (Candles) β /api/v1/market/candles?symbol=BTC-USDT&type=15min&limit=20 Recent Trades β /api/v1/market/histories?symbol=BTC-USDT Average Price (via Ticker) β /api/v1/market/orderbook/level1?symbol=BTC-USDT Utility Tools process results:
Calculator β spreads, % changes, averages. Think β reshapes JSON, selects fields, formats outputs. Message Splitter breaks outputs >4000 chars (Telegram limit). Final report is sent back via Telegram SendMessage in human-readable format.
β What You Can Do with This Agent
Get 24h rolling statistics (open, high, low, close, last, volume). Retrieve full order book depth (20, 100 levels) or best bid/ask. Monitor real-time latest prices with spreads. Analyze candlestick data (OHLCV) across supported intervals. View recent public trades with price, size, side, and time. Use average price proxies from bid/ask + last trade. Receive structured Telegram reports β not raw JSON.
π οΈ Setup Steps
Create a Telegram Bot
Use @BotFather to create a bot and copy its token.
Configure in n8n
Import KuCoin AI Agent v1.02.json. Update User Authentication node with your Telegram ID. Add Telegram API credentials (bot token). Add OpenAI API key. (Optional) Add KuCoin API key
Deploy & Test
Activate the workflow in n8n. Send a query like BTC-USDT to your bot. Instantly receive structured KuCoin Spot Market insights in Telegram.
π€ Output Rules
Responses grouped into Price, 24h Stats, Order Book, Klines, Trades. No raw JSON (only human-readable summaries). No financial advice or predictions. Always fetch directly from KuCoinβs official API.
πΊ Setup Video Tutorial
Watch the full setup guide on YouTube:
If you want, I can also update embed links & thumbnails elsewhere to match this.
β‘ Unlock KuCoin Spot Market insights in Telegram β fast, reliable, 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