Currency Converter & Exchange Rates for AI Agents
Pricing
from $1.00 / 1,000 results
Currency Converter & Exchange Rates for AI Agents
Real-time currency, FX & crypto conversion tool for AI agents & LLMs. Convert between 30+ fiat currencies and thousands of cryptocurrencies with live and historical rates. MCP-callable real-time grounding for finance & travel agents.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Haketa
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
13 days ago
Last modified
Categories
Features
Share
Currency Converter & Exchange Rates API — Live FX + Crypto for AI Agents 💱
A high-speed, keyless currency converter and exchange-rate API designed for AI agents, LLM applications, fintech platforms, and automation workflows.
Convert effortlessly between 30+ official fiat currencies backed by the European Central Bank (ECB) and thousands of cryptocurrencies tracked by CoinGecko. Whether you need live real-time spot rates, 24-hour crypto price changes, or historical forex rates dating back to 1999, this actor delivers precise, mathematically verified conversion records without requiring subscription API keys or complex setups.
Export every result to JSON, CSV, Excel (XLSX), or invoke it directly as an MCP (Model Context Protocol) tool from Claude, ChatGPT, LangChain, CrewAI, and Cursor.
⚡ At a glance
| Feature | Specification |
|---|---|
| Data Sources | European Central Bank (ECB) reference rates + CoinGecko crypto market feeds |
| Supported Assets | 30+ major fiat currencies (EUR, USD, GBP, JPY, CHF, etc.) + 10,000+ crypto coins |
| Conversion Directions | Fiat ↔ Fiat, Crypto → Fiat, Fiat → Crypto, and Crypto ↔ Crypto (cross-rated via USD) |
| Historical Data | Daily official ECB historical fiat exchange rates dating back to January 1999 |
| AI Agent Compatibility | Fully compatible with MCP (Model Context Protocol), LangChain, and LlamaIndex |
| Authentication | 100% Keyless — no paid API keys, no monthly SaaS credits |
| Latency & Speed | Sub-second response times with parallel multi-currency basket resolution |
| Batch Scalability | Unlocked batch processing via maxItems: 0 (unlimited) or custom targets |
| Export Formats | JSON, CSV, Excel (XLSX), XML, RSS, or direct Apify Dataset API |
🔎 Why use a currency converter API?
Large language models (LLMs) and generative AI systems suffer from fixed training cutoffs and lack real-time financial awareness. An LLM cannot inherently know today's EUR/USD exchange rate, Bitcoin's live spot price, or the historical conversion value of the British Pound on a specific date in 2015. Attempting to generate these numbers without grounding leads to hallucinated financial figures and broken calculations.
Building custom multi-source integrations is tedious and maintenance-heavy:
- Disparate APIs: Central banks publish fiat feeds on distinct schedules, while crypto market platforms use different JSON schemas, rate limits, and endpoint structures.
- Key Requirements & SaaS Costs: Commercial FX APIs (like Fixer, CurrencyLayer, or OpenExchangeRates) enforce restrictive rate limits and high monthly subscription tiers.
- Cross-Rate Complexity: Computing crypto-to-crypto pairings (such as Solana to Bitcoin or Ethereum to Japanese Yen) requires multi-hop mathematical cross-rating through fiat bridges.
- Rate Limit Handling: Free crypto feeds enforce strict burst throttles that trigger HTTP 429 errors when querying broad currency baskets.
This Currency Converter & Exchange Rates API solves all of these challenges in a single, unified interface. It routes fiat requests through official ECB data pipelines and handles crypto conversions with internal call pacing, request deduplication, and automatic exponential back-off, delivering clean, reliable financial grounding on demand.
✨ Key features
- 🔄 Four Conversion Modes in One Tool:
- Fiat ↔ Fiat: Convert between global reserve and emerging market currencies (e.g., EUR→USD, GBP→JPY, USD→TRY).
- Crypto → Fiat: Evaluate crypto assets in sovereign currencies (e.g., BTC→USD, ETH→EUR, SOL→GBP).
- Fiat → Crypto: Calculate exact fractional purchasing power (e.g., $500 USD → BTC).
- Crypto ↔ Crypto: Direct asset-to-asset cross-rates computed via real-time USD index pegs (e.g., BTC→ETH, SOL→DOGE).
- 🧺 Multi-Currency Basket Resolution: Convert one base currency into a dozen target currencies simultaneously (
to: ["USD", "GBP", "JPY", "BTC", "ETH"]). - 📅 Deep Historical Fiat Archives: Access daily official exchange rates for any business day from 1999 to the present using the
dateparameter (format:YYYY-MM-DD). - 📈 24-Hour Price Momentum: Includes the 24-hour price change percentage (
change24h) for all cryptocurrency source conversions. - 🎯 Extended CoinGecko ID Support: Access exotic altcoins, DeFi tokens, and meme coins using custom CoinGecko IDs via
fromCustomandtoCustom. - ⚡ Zero-Config Diverse Sample Run: Launching with empty input
{}immediately returns a diverse benchmark sample of ~100 popular fiat and crypto rates. - 🛡️ Autonomous Rate-Limit Protection: Smart queuing and burst spacing prevent HTTP 429 rate limits, ensuring 100% completion on large baskets.
🎯 High-impact use cases
1. Real-Time Grounding for AI Agents & LLMs
Equip conversational AI agents, travel concierges, and customer support bots with verified live financial exchange rates. Enable agents to answer queries like "How much is 250 EUR in Japanese Yen right now?" with sourced, authoritative figures.
2. Multi-Currency E-Commerce & Invoicing
Normalize global sales transactions, international invoices, or cross-border vendor expenses into a single company reporting currency (USD, EUR, GBP) for accounting consolidation.
3. Cryptocurrency Portfolio & Treasury Tracking
Monitor live crypto valuations, liquidity reserves, and cross-asset ratios with real-time 24-hour market change tracking for institutional or personal portfolios.
4. Historical Financial Audits & Backtesting
Retrieve official historical forex reference rates for tax reporting, regulatory compliance audits, or quantitative trading algorithm backtesting across 25+ years of daily ECB data.
5. Automated Price Normalization Pipelines
Integrate with Make, Zapier, or Google Sheets to automatically update product catalogs, subscription pricing tables, and overseas shipping estimates on a daily cron schedule.
📥 Input parameters
The actor offers flexible, clean input parameters suitable for both manual console testing and automated programmatic calls:
| Parameter | Type | Default | Description |
|---|---|---|---|
from | Select | "EUR" | Source fiat currency code or crypto symbol (e.g., USD, EUR, GBP, BTC, ETH, SOL). |
to | Array | ["USD", "GBP", "BTC"] | One or more target currencies or cryptos to convert into. Each produces an individual dataset record. |
amount | Number | 1 | Quantity of the source currency to convert (e.g., 100, 2500). |
date | String | "" | Optional historical date for fiat rates (YYYY-MM-DD, e.g., 2024-01-15). Omit for live rates. |
maxItems | Integer | 0 | Maximum conversion records to output (0 = all requested / unlimited). |
fromCustom | String | "" | Advanced: Custom CoinGecko coin ID (e.g., the-open-network, kaspa) overriding from. |
toCustom | Array | [] | Advanced: Additional custom CoinGecko coin IDs to append to target conversions. |
proxyConfiguration | Object | Disabled | Optional proxy settings. Off by default as keyless APIs require no proxies for standard usage. |
Example 1: Multi-Currency Basket Conversion (Live Spot Rates)
{"from": "EUR","to": ["USD", "GBP", "JPY", "CHF", "BTC", "ETH"],"amount": 100,"maxItems": 0}
Example 2: Historical Forex Rate Lookup
{"from": "USD","to": ["EUR", "GBP", "JPY"],"amount": 1000,"date": "2023-06-15"}
Example 3: Crypto Cross-Rate with Custom Altcoins
{"from": "SOL","to": ["USD", "EUR", "BTC"],"toCustom": ["kaspa", "injective-protocol"],"amount": 10}
📤 Output data structure
Each conversion produces a clean, standardized JSON record pushed directly to the Apify dataset.
Example JSON Record (Fiat ↔ Fiat)
{"from": "EUR","to": "USD","amount": "100","rate": "1.0845","result": "108.4500","fromType": "fiat","toType": "fiat","change24h": null,"date": "2026-11-10","source": "frankfurter","scrapedAt": "2026-11-10T14:50:00.000Z"}
Example JSON Record (Crypto → Fiat)
{"from": "BTC","to": "USD","amount": "1","rate": "88450.00","result": "88450.00","fromType": "crypto","toType": "fiat","change24h": "3.42","date": "2026-11-10","source": "coingecko","scrapedAt": "2026-11-10T14:50:00.000Z"}
Output Fields & Coverage Reference
💵 Conversion Attributes
| Field | Type | Coverage | Description |
|---|---|---|---|
from | String | 🟢 High (100%) | Source currency or cryptocurrency symbol (e.g. EUR, BTC) |
to | String | 🟢 High (100%) | Target destination currency or crypto symbol (e.g. USD, ETH) |
amount | String | 🟢 High (100%) | The source currency amount submitted for conversion |
rate | String | 🟢 High (100%) | Calculated unit exchange rate (1 from = rate to) |
result | String | 🟢 High (100%) | Final converted value (amount × rate) |
fromType | String | 🟢 High (100%) | Asset category of the source asset (fiat or crypto) |
toType | String | 🟢 High (100%) | Asset category of the target asset (fiat or crypto) |
📊 Market & Metadata Attributes
| Field | Type | Coverage | Description |
|---|---|---|---|
change24h | String | 🟡 Conditional | 24-hour percentage price change (populated for crypto sources) |
date | String | 🟢 High (100%) | Effective date of the exchange rate (YYYY-MM-DD) |
source | String | 🟢 High (100%) | Authoritative rate origin (frankfurter or coingecko) |
scrapedAt | String | 🟢 High (100%) | ISO 8601 UTC timestamp of rate extraction |
🌐 Supported currencies & crypto assets
Supported Sovereign Fiat Currencies (ECB Reference Series)
- Americas:
USD(US Dollar),CAD(Canadian Dollar),BRL(Brazilian Real),MXN(Mexican Peso) - Europe:
EUR(Euro),GBP(British Pound),CHF(Swiss Franc),SEK(Swedish Krona),NOK(Norwegian Krone),DKK(Danish Krone),PLN(Polish Zloty),CZK(Czech Koruna),HUF(Hungarian Forint),RON(Romanian Leu),BGN(Bulgarian Lev),ISK(Icelandic Krona) - Asia-Pacific:
JPY(Japanese Yen),CNY(Chinese Yuan),HKD(Hong Kong Dollar),SGD(Singapore Dollar),AUD(Australian Dollar),NZD(New Zealand Dollar),KRW(South Korean Won),INR(Indian Rupee),IDR(Indonesian Rupiah),MYR(Malaysian Ringgit),PHP(Philippine Peso),THB(Thai Baht) - Middle East & Africa:
ILS(Israeli Shekel),TRY(Turkish Lira),ZAR(South African Rand)
Popular Cryptocurrency Assets
BTC(Bitcoin),ETH(Ethereum),SOL(Solana),USDT(Tether),USDC(USD Coin),BNB(BNB),XRP(Ripple),ADA(Cardano),DOGE(Dogecoin),TRX(TRON),TON(Toncoin),DOT(Polkadot),MATIC(Polygon),LTC(Litecoin),SHIB(Shiba Inu),AVAX(Avalanche),LINK(Chainlink),XLM(Stellar),UNI(Uniswap),ATOM(Cosmos),XMR(Monero),NEAR(NEAR Protocol),SUI(Sui),PEPE(Pepe), and thousands more via custom IDs.
🤖 MCP & AI agent grounding integration
This actor natively supports Apify's MCP (Model Context Protocol) server, making it directly callable as an external tool inside Claude Desktop, Cursor, and agent frameworks.
Connecting via Claude Desktop / Cursor (claude_desktop_config.json)
{"mcpServers": {"apify-currency": {"command": "npx","args": ["-y","@apify/mcp-server","--actors","haketa/currency-converter"],"env": {"APIFY_TOKEN": "YOUR_APIFY_TOKEN"}}}}
Python LangChain Agent Tool Example
from langchain.agents import initialize_agent, AgentTypefrom langchain_community.tools.apify.tool import ApifyActorsToolfrom langchain_openai import ChatOpenAIllm = ChatOpenAI(model="gpt-4o", temperature=0)currency_tool = ApifyActorsTool(name="CurrencyConverter",description="Real-time fiat and crypto currency conversion tool with live exchange rates.",actor_id="haketa/currency-converter",)agent = initialize_agent(tools=[currency_tool],llm=llm,agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,verbose=True,)response = agent.run("Convert 2500 EUR into USD and BTC at current rates.")print(response)
💻 API & programmatic integration
Call the currency converter directly from your application using Python, Node.js, or cURL:
Python Example
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"from": "USD","to": ["EUR", "GBP", "JPY", "BTC"],"amount": 250,"maxItems": 0}run = client.actor("haketa/currency-converter").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['amount']} {item['from']} = {item['result']} {item['to']} (Rate: {item['rate']})")
Node.js Example
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('haketa/currency-converter').call({from: 'EUR',to: ['USD', 'GBP', 'BTC', 'ETH'],amount: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.table(items, ['from', 'to', 'amount', 'rate', 'result', 'date']);
cURL Example
curl -X POST "https://api.apify.com/v2/acts/haketa~currency-converter/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"from": "EUR","to": ["USD", "GBP", "BTC"],"amount": 100}'
💡 Best practices for currency conversion
- Batch Targets in a Single Run: When converting a base currency into multiple target currencies, list all targets in
to: ["USD", "GBP", "JPY"]. This resolves the basket in parallel and reuses single API responses. - Inspect the Date Field: Central bank reference rates are published once per business day around 16:00 CET. On weekends and market holidays, the
datefield reflects the most recent active trading day. - Format Large Amounts Accurately: All outputs are formatted as clean numerical strings. Large crypto numbers or tiny fractional rates are rendered with full precision without truncation.
- Schedule Hourly FX Refreshes: Use Apify Schedules to automatically push daily closing or hourly spot rates into a Google Sheet or internal database.
❓ Frequently asked questions
Do I need to provide an API key for exchange rates?
No! Both the ECB fiat feed and CoinGecko crypto feeds are keyless. You only pay standard Apify platform compute units (CUs) for your execution time.
How fast does a conversion run?
Because the actor uses lightweight HTTP requests without browser rendering, a typical multi-currency basket completes in 1 to 3 seconds.
Can I convert between two cryptocurrencies?
Yes! Converting between cryptocurrencies (such as BTC to ETH or SOL to ADA) is automatically calculated by cross-rating each coin against its real-time USD index price.
What happens if I launch the actor with empty input?
When launched with empty input {}, the actor executes a built-in benchmark sample mode, outputting a rich multi-directional snapshot of popular live fiat and crypto rates.
Are historical cryptocurrency rates supported?
Historical date lookups (date: "YYYY-MM-DD") apply to official ECB fiat currencies dating back to 1999. Cryptocurrency rates always reflect current live spot prices.
How are micro-penny cryptocurrency exchange rates represented?
Micro-cap tokens or meme coins with values below $0.0001 are formatted with up to 8 decimal places or standard scientific notation (e.g. 1.24e-7), preserving full mathematical accuracy for tokenomics calculations.
Can I use this actor in production financial systems?
Yes. Official fiat rates are derived directly from the European Central Bank (ECB) reference publications, widely recognized for institutional reporting, financial statements, and cross-border invoicing.
Does this tool require residential proxies?
No. Because neither rate source enforces anti-bot blocking against standard HTTP queries, residential proxies are completely unnecessary, keeping compute execution costs close to zero ($0.01 per 1,000 requests).
Can I export results to Google Sheets automatically?
Yes. Apify provides native integrations with Google Sheets, allowing you to append newly converted exchange rates directly into specified spreadsheet tabs on a recurring cron schedule.
Is there a rate-limiting threshold for crypto requests?
The actor includes an intelligent internal pacing queue for CoinGecko queries. This ensures that even when querying hundreds of cryptocurrency targets, requests are safely paced to prevent HTTP 429 throttling errors.
📋 Changelog
Version 1.2 — November 2026
- Added
buildTag: latest: Ensured actor manifests consistently deploy to latest platform tags. - Unlocked
maxItemsControl: Added explicit maximum records configuration supporting unlimited conversions (maxItems: 0). - Enhanced Number Precision: Improved high-precision decimal representation for micro-cap altcoins and fractional crypto prices.
- Documentation Overhaul: Added rich shields badges, MCP AI agent integration guide, and comprehensive currency dictionaries.
Version 1.1 — October 2026
- Added support for 24-hour price momentum on all cryptocurrency conversions.
- Optimized CoinGecko rate-limit gating and parallel basket resolution.
Version 1.0 — Initial Release
- Core ECB fiat and CoinGecko crypto conversion engine.
- Historical date lookups dating back to 1999.