Darmowy szablon automatyzacji

Uzyskaj informacje o giełdzie i nastrojach dzięki agentowi CoinMarketCap AI

905
26 dni temu
12
bloków

Analiza danych giełdowych, indeksów i nastrojów społeczności z CoinMarketCap

Ten sub-agent zapewnia dostęp do list giełd, tokenów, metadanych oraz kluczowych wskaźników, takich jak CMC 100 Index i Fear & Greed Index. Może być używany jako część większego systemu analitycznego CoinMarketCap AI Analyst lub jako samodzielny workflow.

Obsługiwane narzędzia (5)

  • Exchange Map - Pobieranie ID, nazw i slugów giełd (używane jako wstępne wyszukiwanie).
  • Exchange Info - Metadane, w tym data uruchomienia, linki społecznościowe, kraj i status operacyjny.
  • Exchange Assets - Salda tokenów, adresy portfeli i całkowita wartość w USD przechowywana przez wybraną giełdę.
  • CoinMarketCap 100 Index - Skład i wagi indeksu CMC 100, aktualizowane na żywo.
  • Fear & Greed Index - Wskaźnik nastrojów rynkowych aktualizowany codziennie, od "Extreme Fear" do "Extreme Greed".

Przykłady zastosowań

Ten agent automatyzacji może być wykorzystany w różnych scenariuszach związanych z analizą rynku kryptowalut. Oto kilka potencjalnych zastosowań:

  • Śledzenie zmian w portfelach giełd w czasie rzeczywistym
  • Monitorowanie globalnych nastrojów rynkowych poprzez Fear & Greed Index
  • Porównywanie metadanych różnych giełd centralizowanych (CEX)
  • Analiza składu i wag indeksu CMC 100 pod kątem dywersyfikacji portfela
  • Automatyczne generowanie raportów o aktywności giełd
  • Wykrywanie anomalii w przepływach tokenów między giełdami
  • Integracja danych CoinMarketCap z innymi systemami analitycznymi

Przykładowe zapytania

  • "Jaka jest aktualna wartość Fear and Greed Index?"
  • "Pobierz listę wszystkich giełd na CoinMarketCap."
  • "Jakie tokeny posiada Binance?"
  • "Pobierz metadane dla Coinbase."
  • "Pokaż główne aktywa w indeksie CMC 100."

Architektura agenta

  • AI Brain: GPT-4o-mini
  • Pamięć: Window buffer memory używające sessionId
  • Narzędzia: 5 węzłów podłączonych do API
  • Wyzwalacz: Zewnętrzne wejście poprzez message i sessionId

Instrukcja konfiguracji

  1. Pobierz klucz API CoinMarketCap: https://coinmarketcap.com/api/
  2. Skonfiguruj dane uwierzytelniające w n8n: Użyj HTTP Header Auth do przechowywania klucza API CoinMarketCap.
  3. Opcjonalnie: Połącz z nadrzędnym agentem używając Execute Workflow z wejściami message i sessionId.
  4. Przetestuj przykładowe zapytania: "Pobierz wszystkie giełdy", "Pobierz indeks CMC", "Pokaż tokeny Binance".

Dodatkowe materiały

  • Przewodnik po giełdach i społeczności - Wyjaśnia cel agenta i połączenia między komponentami
  • Przykłady użycia - Instruktaż dla przykładowych przypadków użycia
  • Obsługa błędów i licencjonowanie - Zawiera referencję kodów błędów API i szczegóły licencji

Uwaga końcowa: Ten agent jest częścią większego systemu CoinMarketCap AI Analyst. Odwiedź profil twórcy, aby pobrać wszystkie dostępne sub-agenty i przepływy nadzorujące.

   Skopiuj kod szablonu   
{"id":"kbJb4VMD3SZlcS2u","meta":{"instanceId":"a5283507e1917a33cc3ae615b2e7d5ad2c1e50955e6f831272ddd5ab816f3fb6","templateCredsSetupCompleted":true},"name":"CoinMarketCap_Exchange_and_Community_Agent_Tool","tags":[],"nodes":[{"id":"c055762a-8fe7-4141-a639-df2372f30060","name":"When Executed by Another Workflow","type":"n8n-nodes-base.executeWorkflowTrigger","position":[-160,340],"parameters":{"workflowInputs":{"values":[{"name":"sessionId"},{"name":"message"}]}},"typeVersion":1.1},{"id":"3609967c-f7c4-4be5-8cf5-1213dcf8cd39","name":"CoinMarketCap Exchange and Community Agent","type":"@n8n/n8n-nodes-langchain.agent","position":[300,340],"parameters":{"text":"={{ $json.message }}","options":{"systemMessage":"You are a **digital asset intelligence agent** designed to provide deep insights into the cryptocurrency ecosystem by querying CoinMarketCap's API. You support data retrieval across exchanges, community sentiment, and index tracking.nn---nn### 🛠️ Available Tools & Capabilitiesnn#### 1. 🔍 **Exchange Map**n- **Purpose:** Retrieve a list of all registered cryptocurrency exchanges.n- **Endpoint:** `https://pro-api.coinmarketcap.com/v1/exchange/map`n- **Query Parameters:** n - `slug` (recommended starting point)n - `listing_status`, `start`, `limit`, `crypto_id`n- **Returns:** Exchange ID, name, slug — essential for identifying exchanges.n- **Usage:** Use first to acquire the `id` needed by other tools.nn---nn#### 2. 🧾 **Exchange Info**n- **Purpose:** Obtain metadata for a specific exchange.n- **Endpoint:** `https://pro-api.coinmarketcap.com/v1/exchange/info`n- **Required Parameter:** `id` (from Exchange Map)n- **Returns:** Description, launch year, country, website/Twitter links, and status.nn---nn#### 3. 💰 **Exchange Assets**n- **Purpose:** View on-chain token holdings of an exchange.n- **Endpoint:** `https://pro-api.coinmarketcap.com/v1/exchange/assets`n- **Required Parameter:** `id` (from Exchange Map)n- **Returns:** Token balances, wallet addresses, blockchain platform, and USD value.nn---nn#### 4. 📈 **CMC 100 Index**n- **Purpose:** Get the latest CoinMarketCap 100 Index data.n- **Endpoint:** `https://pro-api.coinmarketcap.com/v3/index/cmc100-latest`n- **Returns:** Constituents of the index and their weights.nn---nn#### 5. 😱 **Fear and Greed Index (Latest)**n- **Purpose:** Access current crypto market sentiment.n- **Endpoint:** `https://pro-api.coinmarketcap.com/v3/fear-and-greed/latest`n- **Returns:** Sentiment index score and classification (e.g., Fear, Greed).nn---nn### ⚠️ Error Trap: API Response OverloadnIf the API response returns **too much data** and exceeds the GPT model's token limit:n- Notify the user with the message: n **"⚠️ The requested data exceeds the processing capacity of this model. Please refine your query by limiting results or filtering data."**n- Suggest parameters like `limit`, `start`, or using a specific `id` or `slug` to reduce data size.nn---nnKeep responses structured, insightful, and performant. Always validate if required parameters are available before invoking a tool. Prioritize `Exchange Map` for ID resolution before calling `Exchange Info` or `Exchange Assets`.nn"},"promptType":"define"},"typeVersion":1.8},{"id":"811480ce-f2c9-4400-b585-1a3609b5bef0","name":"Exchange and Community Agent Brain","type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","position":[-320,620],"parameters":{"model":{"__rl":true,"mode":"list","value":"gpt-4o-mini","cachedResultName":"gpt-4o-mini"},"options":{}},"credentials":{"openAiApi":{"id":"yUizd8t0sD5wMYVG","name":"OpenAi account"}},"typeVersion":1.2},{"id":"007b07fd-2abe-4bdd-80ef-8883e0cbfcec","name":"Exchange and Community Agent Memory","type":"@n8n/n8n-nodes-langchain.memoryBufferWindow","position":[-140,620],"parameters":{},"typeVersion":1.3},{"id":"669566d0-3dc5-413e-a8b5-80cf4aeaa54d","name":"Exchange Map","type":"@n8n/n8n-nodes-langchain.toolHttpRequest","position":[60,620],"parameters":{"url":"https://pro-api.coinmarketcap.com/v1/exchange/map","sendQuery":true,"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","parametersQuery":{"values":[{"name":"slug"}]},"toolDescription":"Get a map of all crypto exchanges with CoinMarketCap ID, name, and slug.nn1st query with only the slug only, if error then try others.","parametersHeaders":{"values":[{"name":"Accept"}]}},"credentials":{"httpHeaderAuth":{"id":"OKXROn8aWkgAOvvV","name":"CoinMarketCap Standard"}},"typeVersion":1.1},{"id":"03b3e44f-a740-414c-a011-de4d571b7968","name":"Exchange Info","type":"@n8n/n8n-nodes-langchain.toolHttpRequest","position":[280,620],"parameters":{"url":"https://pro-api.coinmarketcap.com/v1/exchange/info","sendQuery":true,"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","parametersQuery":{"values":[{"name":"id"}]},"toolDescription":"Get metadata for a crypto exchange including description, launch date, country, and links.","parametersHeaders":{"values":[{"name":"Accept"}]}},"credentials":{"httpHeaderAuth":{"id":"OKXROn8aWkgAOvvV","name":"CoinMarketCap Standard"}},"typeVersion":1.1},{"id":"65c2b8ab-7d6d-415e-a436-0a9c14af2457","name":"CMC 100 Index","type":"@n8n/n8n-nodes-langchain.toolHttpRequest","position":[740,620],"parameters":{"url":"https://pro-api.coinmarketcap.com/v3/index/cmc100-latest","sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","toolDescription":"Returns the latest CoinMarketCap 100 Index value, including constituents and their weights.","parametersHeaders":{"values":[{"name":"Accept"}]}},"credentials":{"httpHeaderAuth":{"id":"OKXROn8aWkgAOvvV","name":"CoinMarketCap Standard"}},"typeVersion":1.1},{"id":"51a94f35-4405-4e53-9fa5-91911759802d","name":"Fear and Greed Latest","type":"@n8n/n8n-nodes-langchain.toolHttpRequest","position":[980,620],"parameters":{"url":"https://pro-api.coinmarketcap.com/v3/fear-and-greed/latest","sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","toolDescription":"Returns the latest value from the CMC Crypto Fear and Greed Index.","parametersHeaders":{"values":[{"name":"Accept"}]}},"credentials":{"httpHeaderAuth":{"id":"OKXROn8aWkgAOvvV","name":"CoinMarketCap Standard"}},"typeVersion":1.1},{"id":"26240549-9b41-4b6a-bf24-d61c8ee155ca","name":"Exchange Assets","type":"@n8n/n8n-nodes-langchain.toolHttpRequest","position":[520,620],"parameters":{"url":"https://pro-api.coinmarketcap.com/v1/exchange/assets","sendQuery":true,"sendHeaders":true,"authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","parametersQuery":{"values":[{"name":"id"}]},"toolDescription":"Returns token holdings of a specific exchange including wallet addresses, platform, balance, and USD value.","parametersHeaders":{"values":[{"name":"Accept"}]}},"credentials":{"httpHeaderAuth":{"id":"OKXROn8aWkgAOvvV","name":"CoinMarketCap Standard"}},"typeVersion":1.1},{"id":"22b5608c-467e-41ff-81d9-559d110b872d","name":"Exchange & Community Guide","type":"n8n-nodes-base.stickyNote","position":[-1520,-680],"parameters":{"width":1200,"height":720,"content":"# 🧠 CoinMarketCap_Exchange_and_Community_Agent_Tool GuidennThis agent handles **exchange-level** data, **community sentiment**, and **index insights** using CoinMarketCap API endpoints.nn## 🔌 Supported Toolsn1. `/v1/exchange/map` – Get exchange ID, name, and slugn2. `/v1/exchange/info` – Metadata: launch date, social, locationn3. `/v1/exchange/assets` – Token holdings of exchangen4. `/v3/index/cmc100-latest` – CoinMarketCap 100 Index infon5. `/v3/fear-and-greed/latest` – Sentiment index (0–100)nn## 🧠 Agent Components:n- **🧠 Brain**: GPT-4o Minin- **💾 Memory**: Conversation state handlern- **⚙️ Tools**: 5 direct API endpointsnn## 🧩 Trigger Parameters:n- `message` – Main query promptn- `sessionId` – Contextual memory keynn## 🔑 Notes:n- Use `Exchange Map` to get valid `id` before calling `Exchange Info` or `Assets`n- Fear & Greed index returns daily updated data pointsn- Index tools return structured component weights"},"typeVersion":1},{"id":"dd38cd37-bff7-4200-94e4-a7f2a0f3b979","name":"Usage & Examples","type":"n8n-nodes-base.stickyNote","position":[-80,-680],"parameters":{"color":5,"width":840,"height":920,"content":"## 📌 Usage Instructionsnn### ✅ Step 1: Provide InputsnUse `slug` for exchanges or `id` for metadata/assets. nn### ✅ Step 2: Trigger from Supervisor AgentnThe main workflow will send `message` and `sessionId`.nn### ✅ Step 3: Results OutputnReturns JSON with insights on exchanges or index data.nn---nn## 🔍 Example Promptsnn### 1️⃣ Show latest Fear & Greed scoren```plaintextnGET /v3/fear-and-greed/latestn```nn### 2️⃣ Get Binance exchange token holdingsn```plaintextn1. GET /v1/exchange/map?slug=binancen2. Use ID to query /v1/exchange/assets?id=...n```nn### 3️⃣ What coins make up the CMC 100 Index?n```plaintextnGET /v3/index/cmc100-latestn```nn### 4️⃣ Show info on Coinbasen```plaintextn1. /v1/exchange/map?slug=coinbasen2. /v1/exchange/info?id=...n```"},"typeVersion":1},{"id":"ce0e7093-9fe0-4b9c-8cf5-50cdfef45d94","name":"Errors & Licensing","type":"n8n-nodes-base.stickyNote","position":[1020,-680],"parameters":{"color":3,"width":640,"height":500,"content":"## ⚠️ Error Handling Tipsnn| Error Code | Meaning |n|------------|---------|n| `400` | Bad Request – missing/invalid param |n| `401` | Unauthorized – check API key |n| `429` | Rate Limit Exceeded |n| `500` | CoinMarketCap server error |nn### ⚠️ Large Response WarningnIf result data exceeds memory limits:n- Prompt: _“⚠️ Data too large, refine query with limit or filters.”_nn---nn**Need Help?** n🌐 Connect on LinkedIn: n🔗 [http://linkedin.com/in/donjayamahajr](http://linkedin.com/in/donjayamahajr)nn© 2025 Treasurium Capital Limited Company. All rights reserved.nThis AI workflow architecture, including logic, design, and prompt structures, is the intellectual property of Treasurium Capital Limited Company. Unauthorized reproduction, redistribution, or resale is prohibited under U.S. copyright law. Licensed use only."},"typeVersion":1}],"active":false,"pinData":{},"settings":{"executionOrder":"v1"},"versionId":"faf44acc-2d07-4185-877c-b57f9c8c88bb","connections":{"Exchange Map":{"ai_tool":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_tool","index":0}]]},"CMC 100 Index":{"ai_tool":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_tool","index":0}]]},"Exchange Info":{"ai_tool":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_tool","index":0}]]},"Exchange Assets":{"ai_tool":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_tool","index":0}]]},"Fear and Greed Latest":{"ai_tool":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_tool","index":0}]]},"When Executed by Another Workflow":{"main":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"main","index":0}]]},"Exchange and Community Agent Brain":{"ai_languageModel":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_languageModel","index":0}]]},"Exchange and Community Agent Memory":{"ai_memory":[[{"node":"CoinMarketCap Exchange and Community Agent","type":"ai_memory","index":0}]]}}}
  • LangChain
  • Chat
  • Conversational
  • Plan and Execute
  • ReAct
  • Tools
Planeta AI 2025 
magic-wandmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram