Forex Exchange Rate Scraper avatar

Forex Exchange Rate Scraper

Pricing

Pay per event

Go to Apify Store
Forex Exchange Rate Scraper

Forex Exchange Rate Scraper

Feed AI models and RAG pipelines with real-time forex data by scraping live exchange rates from open.er-api.com and calculating exact currency fluctuations.

Pricing

Pay per event

Rating

0.0

(0)

Developer

太郎 山田

太郎 山田

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

4 hours ago

Last modified

Share

💱 Exchange Rate Monitor

Enrich your LLM applications, vector databases, and RAG pipelines with real-time financial context by extracting live foreign exchange details for over 160 world currencies. Designed specifically for developers and AI engineers, this headless currency monitor fetches up-to-date forex data directly from open.er-api.com, entirely bypassing the hassle of premium API keys and restrictive rate limits.

Feeding AI models requires highly structured, consistent, and accurate data. When you schedule this tool to run daily, it reliably scrapes base currency values, target exchange rates, and precise update timestamps directly from the source. Beyond basic extraction, this monitor features intelligent state persistence—it actively remembers previous scraped results to automatically calculate the percentage change between your scheduled runs. This empowers your intelligent systems to instantly understand market volatility and trend direction without writing complex diffing logic.

It is the perfect utility for building autonomous financial agents, dynamic pricing engines, or custom automated alert systems that trigger when a specific currency pair fluctuates beyond a defined threshold. The scraper outputs clean, structured JSON data that seamlessly routes into backend systems, daily reporting dashboards, or custom trading algorithms, keeping your AI applications perfectly synced with the global economy.

Store Quickstart

Start with the Quickstart template (USD base, EUR/JPY/GBP targets). For daily monitoring, use Change Detection with enableChangeDetection=true.

Key Features

  • 💱 160+ currencies — All major and minor world currencies
  • 🔄 Change detection — Alert when rates move beyond threshold
  • 🌍 Open.er-api.com — Free, reliable, no key needed
  • 📊 Daily updates — Rates refreshed daily (24h cache)
  • 💾 State persistence — Track rate changes across runs
  • 🔑 No API key needed — Completely free API

Use Cases

WhoWhy
E-commerce platformsDynamic pricing in multiple currencies
International financeSettlement rate monitoring for cross-border payments
Travel industryDisplay converted prices for traveler markets
Treasury teamsMonitor forex exposure for multinational operations
Accounting softwareDaily rate feeds for invoicing and reporting

Input

FieldTypeDefaultDescription
baseCurrencystringUSDBase currency (ISO code)
targetCurrenciesstring[]["EUR","JPY","GBP"]Target currencies
enableChangeDetectionbooleanfalseTrack rate changes

Input Example

{
"baseCurrency": "USD",
"targetCurrencies": ["EUR", "JPY", "GBP"],
"enableChangeDetection": true
}

Input Examples

Example: Latest daily rates

{
"base": "USD",
"quote": [
"EUR",
"JPY",
"GBP"
]
}

Example: Historical range

{
"base": "USD",
"quote": [
"EUR"
],
"dateFrom": "2026-01-01",
"dateTo": "2026-04-30"
}

Example: Full ECB reference table

{
"source": "ecb",
"emitFullTable": true
}

Output

FieldTypeDescription
basestringBase currency code
targetstringTarget currency code
ratenumberCurrent exchange rate
previousRatenumberPrevious fetched rate (if available)
changePercentnumberPercent change since last fetch
alertedbooleanWhether change exceeded threshold
fetchedAtstringISO timestamp

Output Example

{
"base": "USD",
"rates": {"EUR": 0.92, "JPY": 148.50, "GBP": 0.79},
"changes": {"EUR": "+0.15%", "JPY": "-0.30%"},
"timestamp": "2026-04-05T00:00:00Z"
}

API Usage

Run this actor programmatically using the Apify API. Replace YOUR_API_TOKEN with your token from Apify Console → Settings → Integrations.

cURL

curl -X POST "https://api.apify.com/v2/acts/taroyamada~exchange-rate-monitor/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "baseCurrency": "USD", "targetCurrencies": ["EUR", "JPY", "GBP"], "enableChangeDetection": true }'

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("taroyamada/exchange-rate-monitor").call(run_input={
"baseCurrency": "USD",
"targetCurrencies": ["EUR", "JPY", "GBP"],
"enableChangeDetection": true
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript / Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('taroyamada/exchange-rate-monitor').call({
"baseCurrency": "USD",
"targetCurrencies": ["EUR", "JPY", "GBP"],
"enableChangeDetection": true
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Tips & Limitations

  • Set changeThreshold: 0.5 to alert on >0.5% movements.
  • Schedule hourly to track FX volatility for international transactions.
  • Use webhook delivery for real-time treasury management.
  • Combine with Crypto Price Tracker for comprehensive financial monitoring.

FAQ

How current are rates?

Daily close rates from Open.er-api.com. For sub-hourly rates, use a paid forex API.

Is this suitable for FX trading?

No — daily rates only. Trading requires live tick data from a broker.

What currencies are included?

160+ ISO currency codes. USD, EUR, JPY, GBP, plus all major minor currencies.

How does change detection work?

Compares current rate to stored previous rate per currency pair. Useful for alerts.

Which currencies are supported?

All ISO 4217 codes — USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, and 150+ more.

How accurate are the rates?

Mid-market rates suitable for monitoring. For execution, use a broker's quoted rate.

Market Data & Financial APIs cluster — explore related Apify tools:

Cost

Pay Per Event:

  • actor-start: $0.01 (flat fee per run)
  • dataset-item: $0.001 per output item

Example: 1,000 items = $0.01 + (1,000 × $0.001) = $1.01

No subscription required — you only pay for what you use.

⭐ Was this helpful?

If this actor saved you time, please leave a ★ rating on Apify Store. It takes 10 seconds, helps other developers discover it, and keeps updates free.

Bug report or feature request? Open an issue on the Issues tab of this actor.