Skip to main content

Access real-time Binance market data with GPT-4o formatting in Telegram

Workflow preview

Workflow preview
100%
Access real-time Binance market data with GPT-4o formatting in Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Crypto Trading automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.telegram, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.

Original n8n.io source

1.1 Workflow description

Title
Access real-time Binance market data with GPT-4o formatting in Telegram
Workflow name
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

  1. A Telegram Trigger listens for incoming user requests.

  2. User Authentication validates the Telegram ID to restrict access.

  3. A Session ID is generated from chat.id to manage session memory.

  4. 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
  5. 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.
  6. Message Splitter ensures outputs >4000 characters are chunked for Telegram.

  7. 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

  1. Create a Telegram Bot

  2. 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
  1. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 3 - User Authentication (Replace Telegram ID)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Adds "SessionId"

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Splits message is more than 4000 characters

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 18 - Binance AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 19 - Price (Latest)

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 20 - 24h Stats

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 21 - Order Book Depth

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 22 - Best Bid/Ask

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 23 - Klines (Candles)

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 24 - Average Price

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Access real-time Binance market data with GPT-4o formatting in Telegram
Complexity advanced
Nodes 35
Categories Crypto Trading, AI Chatbot
Author Don Jayamaha Jr
Published 15 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8614/8614.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Access real-time Binance market data with GPT-4o formatting in Telegram do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Chatbot use case.