Create a BTC/ETH price & USD exchange rate API with CoinGecko & ExchangeRate-API
Ready for 3.0What this workflow does
This workflow has 6 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.exchangerate-api.com and api.coingecko.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Get Fiat Exchange Rates (HTTP Request): calls api.exchangerate-api.com
- Get Crypto Prices (HTTP Request): calls api.coingecko.com
- Merge: merges the data from its input branches
- Build JSON (Code): runs custom JavaScript code
- Respond (Respond to Webhook): sends the response back to the webhook caller
HTTP calls to: api.exchangerate-api.com, api.coingecko.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
🌐 Crypto + FX Micro-API (Webhook JSON) 📌 Overview Spin up a tiny, serverless-style API from n8n that returns BTC/ETH prices & 24h changes plus USD→EUR and USD→NGN from public, no-key data sources. Ideal for dashboards, low-code apps, or internal tools that…