CoinMarketCap Telegram Price Bot

n8n AI Data Management Internet of Things

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

Get real-time cryptocurrency prices directly in Telegram! This workflow integrates the CoinMarketCap API with Telegram, allowing users to request live crypto prices simply by sending a message to the bot.

Ideal for crypto traders, analysts, and enthusiasts who need quick and easy access to market data.

How It Works

A Telegram bot listens for user input (e.g., "BTC" for Bitcoin).

The workflow sends a request to the CoinMarketCap API to fetch the latest price.

The response is processed using an AI-powered language model (GPT-4o-mini) for structured messaging.

The workflow logs session data using a memory buffer for better response tracking.

The latest price is sent back to the user via Telegram.

Set Up Steps

1. Create a Telegram Bot

Use @BotFather on Telegram to create a bot and obtain an API token.

2. Get a CoinMarketCap API Key

Sign up at CoinMarketCap and retrieve your API key.

3. Configure API Credentials in n8n

Add the CoinMarketCap API key under HTTP Header Auth.

Add your Telegram bot token under Telegram API credentials.

4. Deploy and Test

Send a message (e.g., "BTC") to your Telegram bot and receive live price updates instantly!

Automate your crypto price tracking today with this powerful Telegram bot!

Tools used: CoinMarketCap, Telegram, OpenAI ChatGPT

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.