n8n

How to Expose Webhook Euro FX Rates Data?

Need a simple way to get daily euro exchange rates in JSON? This setup gives you a ready to use webhook that returns either all currencies or a single rate when you pass a currency code. It suits pricing engines, finance dashboards, and back office tools.

A call to the webhook path triggers a fetch from the official source and appends a random number to bypass caching. The feed is XML, so the flow converts it to JSON and splits it into one item per currency with code and rate. If the URL includes a query like currency=USD, the data is filtered to that symbol and a single result is returned. If no query is present, the full list is sent back. Two response nodes handle both cases so callers always get a clean reply. The webhook waits for the response node before closing the request, so the client receives the freshest data.

No external accounts or API keys are needed. Expect quick setup, fast returns, and fewer manual tasks. Teams often spend significant time building a small rates API. Here you can ship in minutes and cut manual rate checks while keeping your apps and reports in sync.

What are the key features?

  • Incoming webhook endpoint that serves JSON euro exchange rates on request
  • HTTP fetch of the latest daily rates with a random parameter to prevent caching
  • XML to JSON conversion so downstream apps get clean structured data
  • Split out one item per currency to enable filtering and simple mapping
  • URL query check to decide whether to return all rates or a single currency
  • Filter by currency code when a query like currency=USD is present
  • Two response nodes return either one item or the full list as a proper HTTP response
  • No credentials required so setup is fast and maintenance is low

What are the benefits?

  • Reduce manual rate checks from 30 minutes to under 1 minute per update
  • Automate 100 percent of daily exchange rate retrieval
  • Improve data consistency by pulling directly from the official source
  • Connect internal apps with one simple webhook endpoint
  • Handle growing traffic without adding manual work

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. Open the Incoming Webhook Trigger node and confirm the path is set to eu-exchange-rate and the response mode is set to use a response node.
  3. Click Activate to enable the workflow. Copy the Production URL or use the Test URL for initial checks.
  4. Open the HTTP Request node and review the URL. A random number is already added to the end so the source does not return cached data. Leave authentication empty.
  5. Check the XML to JSON node settings. Keep the default structure so you get a clean JSON output.
  6. Open the Split Out Data node and confirm the field path points to the list of currency items so each currency becomes a separate item.
  7. Review the If node that checks the request URL for a query. This decides whether to filter by currency or return everything.
  8. Open the Filter node and confirm it matches the currency code to the value from the query parameter named currency. Use uppercase codes like USD or GBP.
  9. Deploy the workflow. In a browser or with curl, call the webhook URL without any query to get the full list of currencies.
  10. Test a symbol lookup by calling the webhook with a query such as ?currency=USD. You should receive a single JSON item with the USD rate.
  11. If you see old data, verify the random number is present in the source URL and try again. If a symbol returns no result, check the code spelling and case.

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.

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.