n8n

How to Automate CoinMarketCap Market Intelligence?

Get clear crypto market answers on demand. The system turns short questions into rich insights about exchanges, assets, index data, and sentiment. It suits finance teams, analysts, and product leads who need fast, reliable market context.

It is called by another workflow and accepts a message and a sessionId. An AI agent with memory chooses from five CoinMarketCap tools to fetch the right data. It maps an exchange slug to an id, then pulls profile details or asset holdings. It can also return the latest CMC 100 index and the fear and greed score. All results come back as structured JSON for direct use in apps or reports.

Set up requires an OpenAI key and a CoinMarketCap API key. Expect faster research, fewer copy paste steps, and up to 80 percent less manual checking. Great for weekly market briefs, real time chat assistants, or dashboard backends.

What are the key features?

  • Runs when executed by another workflow and accepts message and sessionId as inputs
  • Uses an OpenAI chat model to interpret the question and choose tools
  • Stores short term context with a memory window keyed by sessionId
  • Looks up exchange ids from slugs using the exchange map tool
  • Retrieves exchange metadata like description, links, and country
  • Lists token holdings for a selected exchange using the assets tool
  • Fetches the latest CMC 100 index and the fear and greed score
  • Uses API key header auth for CoinMarketCap and returns clean JSON

What are the benefits?

  • Reduce manual market research from 2 hours to 10 minutes per request
  • Automate 80 percent of exchange profile checks and asset lookups
  • Improve data accuracy by using direct API responses
  • Handle more requests by running as a child workflow
  • Combine AI reasoning with CoinMarketCap data in one place

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and CoinMarketCap. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a credential for OpenAI. If unsure, double click the OpenAI node, choose the credential dropdown, select Create new credential, then follow the on screen steps and paste your API key.
  4. In the n8n credentials manager, create a credential for CoinMarketCap using HTTP Header Auth. If unsure, double click each CoinMarketCap tool node, choose the credential dropdown, select Create new credential, then follow the on screen steps to add your API key.
  5. Open the agent node and confirm the language model is selected. Keep the memory node connected so the agent can use sessionId for short term context.
  6. Open the Exchange Map tool and add a test slug such as binance to verify a sample call. Check the execution data to confirm an id is returned.
  7. Open the Exchange Info and Exchange Assets tools and confirm the query field expects id. The agent will first run exchange map to resolve the slug into the correct id.
  8. Test the index and sentiment tools by running a sample execution. Look for the latest CMC 100 index data and the most recent fear and greed score.
  9. From your main supervisor workflow, call this workflow using Execute Workflow and pass both message and sessionId fields. Use a stable sessionId to keep context across turns.
  10. Review runs in the n8n execution log. If you see rate limit or auth errors, rotate keys, add wait times, or refine the input message to reduce large responses.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

CoinMarketCap

Sign up

Basic (Free): $0 / mo, 10,000 credits / mo

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Credits:
Created by Treasurium Capital Limited Company. Contact on LinkedIn: donjayamahajr.

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.