Fetch real-time Coinbase spot market data with GPT-4o + Telegram
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Coinbase AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram Trigger
n8n-nodes-base.telegramTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Think Tool
@n8n/n8n-nodes-langchain.toolThink - AI Agent
@n8n/n8n-nodes-langchain.agent - Http Request Tool
n8n-nodes-base.httpRequestTool
What it does
Coinbase AI Agent instantly fetches real-time market data directly in Telegram! This workflow integrates the Coinbase REST API with Telegram (plus optional AI-powered formatting) to deliver the latest crypto price, order book, candles, and trade stats in seconds. Perfect for crypto traders, analysts, and investors who want actionable market data at their fingertips—without API keys. How It Works 1. A Telegram bot listens for user requests (e.g., BTC-USD). 2. The workflow calls Coinbase public endpoints (no key required) to fetch real-time data: Latest price (ticker) 24h stats (open, high, low, close, volume) Order book snapshots (best bid/ask + depth) Candlestick data (OHLCV for multiple intervals) Recent trades (executed orders) 3. A Calculator node derives useful values like mid-price and spread. 4. An AI or “Think” node reshapes JSON into clear, human-readable messages. 5. A splitter ensures long messages are broken into safe Telegram chunks. 6. The final market insights are sent instantly back to Telegram. What You Can Do with This Agent This Telegram bot gives you: ✅ Get instant price & 24h stats for any Coinbase spot pair. ✅ Monitor live order books with top bids/asks. ✅ Analyze candle data (e.g., 15m, 1h, 4h, 1d). ✅ Track recent trades to see market activity. ✅ Receive clean, structured reports—optionally AI-enhanced. Set Up Steps 1. Create a Telegram Bot Use @BotFather on Telegram to create your bot and get an API token. 2. Configure in n8n Import the provided workflow JSON. Add your Telegram credentials (bot token + your Telegram ID for authentication). (Optional) Add an OpenAI key if you want AI-enhanced formatting. 3. Deploy and Test Send a query like BTC-USD to your bot. Instantly receive Coinbase spot data in Telegram! 🚀 Unlock powerful, real-time Coinbase market insights directly in Telegram—no Coinbase API key required! 📺 Setup Video Tutorial Watch the full setup guide on YouTube: https://www.youtube.com/watch?v=AnLG0tnnhSs --- 🧾 Licensing & Attribution © 2025 Treasurium Capital Limited Company Architecture, prompts, and trade report structure are IP-protected. No unauthorized rebranding or resale permitted. 🔗 For support: LinkedIn – Don Jayamaha