Currency Converter API
Convert any amount between 160+ currencies in a single REST call, with live mid-market rates refreshed every 60 seconds. The converter below runs on that same endpoint — try it, then take the call.
curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR&amount=1000" \
-H "Authorization: Bearer YOUR_API_KEY" Convert endpoint · Free API key · Official central bank rates
Exchange Rate Trend
Currency Converter API: the same rates, in one call
The rate above comes from the AllRatesToday API. Each call below is one HTTP request that returns JSON for USD/EUR.
The live rate needs a free API key, no card required.
Get a free API key Already registered? Copy your key from the dashboard.Live mid-market rate
The number shown on this page, refreshed every 60 seconds across 163 currencies. Use it for pricing, checkout and anything a customer sees.
curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR" \
-H "Authorization: Bearer art_live_your_key" Several targets in one call return one row per pair:
curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR,GBP,JPY" \
-H "Authorization: Bearer art_live_your_key" Official central bank rate
The rate a named institution published for a date, from 138 central banks and 66 tax authorities. It never changes after publication, which is what tax filings, customs and audits require.
curl "https://allratestoday.com/api/v1/central-bank/ecb/latest?source=USD&target=EUR" \
-H "Authorization: Bearer art_live_your_key" European Central Bank: live example responses · All 204 sources · Endpoint reference
- Historical (paid plans):
?time=YYYY-MM-DDfor one past day, or/api/historical-ratesfor a range. - Four formats: add
?format=csv,xmlorxlsxto get a file instead of JSON.
Official SDKs
npm install @allratestoday/sdk · pip install allratestoday · composer require allratestoday/sdk
For AI agents
An MCP server — @allratestoday/mcp-server — lets Claude, Cursor and other MCP clients pull these rates directly, no glue code.
Free tier
No credit card, no trial expiry. Paid plans start at €4.99/month for 5,000 requests a month.
Which one do you need? If a regulator, tax authority or auditor names the source, use the official rate — the two can differ by several percent on the same day. For everything a customer sees, use the mid-market rate. On weekends and holidays the official endpoints return the most recent published date, which is the figure compliance rules expect you to apply.
Packages and open data
- JavaScript: @allratestoday/sdk on npm — live rates for 160+ currencies, conversion and official central-bank tables.
- Python: allratestoday on PyPI · PHP: allratestoday/sdk on Packagist · Go: allratestoday-go · Rust: allratestoday on crates.io.
- Open dataset of official central-bank rates, refreshed daily: Hugging Face · Kaggle · GitHub (JSON and CSV).
- AI agents: hosted MCP server, @allratestoday/mcp-server on npm and the OpenClaw skill.
- WordPress: currency converter plugin on WordPress.org.
- All code: AllRates-Today on GitHub · SDK docs.