Exchangerate Api avatar

Exchangerate Api

Pricing

from $0.00005 / actor start

Go to Apify Store
Exchangerate Api

Exchangerate Api

Fetch real-time currency exchange rates from ExchangeRate-API. Supports multiple base currencies and specific currency pair lookups.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Share

Exchange Rate API

What does Exchange Rate API do?

Exchange Rate API fetches real-time currency exchange rates from Frankfurter, a free, open-source API based on European Central Bank reference rates. Simply provide a base currency and get exchange rates for 30+ currencies. Use it to power financial applications, e-commerce platforms, or data analysis workflows.

The Actor accepts a 3-letter ISO 4217 currency code (like USD, EUR, GBP) and returns current exchange rates. You can filter results to specific target currencies or retrieve rates for all available currencies.

Why use Exchange Rate API?

  • 📊 Real-time data - Get the latest exchange rates updated daily around 16:00 CET
  • 🌍 30+ currencies - Support for major currency pairs from ECB reference rates
  • ⚡ Fast & lightweight - No browser required, uses direct HTTP requests
  • 🔧 Flexible filtering - Get all rates or filter to specific currencies
  • 💰 Pay only for what you use - Transparent pay-per-event pricing
  • 🔓 No API keys required - Frankfurter is free and open-source with no usage caps

Common use cases

  • E-commerce price conversion
  • Financial reporting and analysis
  • Currency conversion tools
  • Trading application data feeds
  • Multi-currency accounting systems

How much does it cost to use Exchange Rate API?

The Actor uses pay-per-event pricing with a single event:

EventPriceDescription
Exchange Rates Fetched$0.0075Per successful run with rates fetched and saved

Example: Fetching EUR rates for all 30+ currencies costs $0.0075 per run.

On the Apify free plan ($5 monthly credit), you can make approximately 660+ runs per month at no cost.

How to use Exchange Rate API

Quick start

  1. Create a free Apify account at apify.com
  2. Open Exchange Rate API in Apify Console
  3. Set the base currency (e.g., USD)
  4. Click Start to run the Actor
  5. Download results in JSON, CSV, or Excel format

Step-by-step tutorial

  1. Go to the Input tab and configure:

    • Base Currency: Enter a 3-letter currency code (default: EUR)
    • Target Currencies: Optionally filter to specific currencies
    • Include Metadata: Toggle to include provider info
  2. Click Start & Run to execute the Actor

  3. Monitor progress in the Log tab

  4. View results in the Output tab or download from the Dataset

Input

FieldTypeRequiredDefaultDescription
baseCurrencystringYesEURISO 4217 currency code (e.g., USD, EUR, GBP)
targetCurrenciesarrayNo[]Specific currencies to filter (empty = all)
includeMetadatabooleanNotrueInclude provider and timestamp info

Input example

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

Output

The Actor outputs exchange rates to the dataset with the following structure:

{
"baseCurrency": "EUR",
"targetCurrency": "USD",
"rate": 1.08,
"date": "2026-02-22",
"provider": "https://frankfurter.dev"
}

Output fields

FieldTypeDescription
baseCurrencystringThe base currency code
targetCurrencystringThe target currency code
ratenumberExchange rate (1 base = X target)
datestringDate of the exchange rate (YYYY-MM-DD)
providerstringAPI provider URL (when metadata enabled)

Run summary (KeyValueStore OUTPUT)

{
"baseCurrency": "EUR",
"totalRates": 4,
"date": "2026-02-22",
"provider": "https://frankfurter.dev",
"requestedTargetCurrencies": ["USD", "GBP", "JPY", "CHF"]
}

Supported currencies

The API supports 30+ currencies from European Central Bank reference rates:

Major currencies: EUR, USD, GBP, JPY, CHF, CAD, AUD, NZD

European currencies: NOK, SEK, DKK, PLN, CZK, HUF, RON, BGN

Asian currencies: INR, KRW, SGD, HKD, TWD, THB, MYR, PHP, IDR

Americas: MXN, BRL

Others: ZAR, ILS, TRY

For a complete list, see the Frankfurter currencies endpoint.

API usage

Via Apify API

curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~exchangerate-api/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"baseCurrency": "USD", "targetCurrencies": ["EUR", "GBP"]}'

Via JavaScript/TypeScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('YOUR_USERNAME/exchangerate-api').call({
baseCurrency: 'USD',
targetCurrencies: ['EUR', 'GBP', 'JPY']
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Via Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_API_TOKEN')
run = client.actor('YOUR_USERNAME/exchangerate-api').call(
run_input={
'baseCurrency': 'USD',
'targetCurrencies': ['EUR', 'GBP', 'JPY']
}
)
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

Integrations

Exchange Rate API works with Apify's built-in integrations:

  • Zapier - Automate workflows with exchange rate triggers
  • Make (Integromat) - Connect to 1000+ apps
  • Webhooks - Get notified when runs complete
  • Scheduling - Run daily or hourly for fresh rates
  • API - Full REST API access

FAQ

How often are exchange rates updated?

Exchange rates are updated daily around 16:00 CET by the European Central Bank.

Is there a rate limit?

No! Frankfurter is free and open-source with no usage caps. For high-volume applications, you can also self-host.

What happens if I provide an invalid currency code?

The Actor validates input and returns a clear error message if the currency code doesn't match ISO 4217 format or isn't supported by the API.

Can I use this for commercial applications?

Yes! Frankfurter is free for commercial use with no restrictions.

How accurate are the rates?

Rates are published by the European Central Bank and are suitable for informational purposes and many business applications. For financial trading, verify with your data provider's requirements.

Support

Data source

Exchange rates provided by Frankfurter, based on European Central Bank reference rates.


Note: This Actor is for informational purposes. Exchange rates may not reflect real-time market conditions. Always verify rates for critical financial decisions.