---
title: "Currency Converter API — Free Live Exchange Rates"
description: "Free currency converter API — convert any amount between 160+ currencies in one REST call, with live mid-market rates refreshed every 60 seconds. Try it below."
canonical: https://allratestoday.com/currency-converter/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-27T22:44:11.341Z
---

# 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](https://allratestoday.com/docs#convert) · [Free API key](https://allratestoday.com/register) · [Official central bank rates](https://allratestoday.com/central-bank-rates-api/)

## Exchange Rate Trend

             Loading chart data...    Current Rate: Loading...   7-Day Change: --

## 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](https://allratestoday.com/register) [Already registered? Copy your key from the dashboard.](https://allratestoday.com/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 [124 central banks](https://allratestoday.com/central-bank-rates-api/institutions/) 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](https://allratestoday.com/central-bank-rates-api/ecb/) · [All 190 sources](https://allratestoday.com/central-bank-rates-api/) · [Endpoint reference](https://allratestoday.com/docs#central-bank)

- **Historical** (paid plans): `?time=YYYY-MM-DD` for one past day, or `/api/historical-rates` for a range.
- **Four formats**: add `?format=csv`, `xml` or `xlsx` to 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](https://allratestoday.com/mcp) — `@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.

## Popular Currency Pairs

  [→   USD/EUR US Dollar to Euro](https://allratestoday.com/currency-converter/usd-to-eur-rate)[→   GBP/USD British Pound to US Dollar](https://allratestoday.com/currency-converter/gbp-to-usd-rate)[→   USD/INR US Dollar to Indian Rupee](https://allratestoday.com/currency-converter/usd-to-inr-rate)[→   EUR/GBP Euro to British Pound](https://allratestoday.com/currency-converter/eur-to-gbp-rate)[→   USD/JPY US Dollar to Japanese Yen](https://allratestoday.com/currency-converter/usd-to-jpy-rate)[→   GBP/EUR British Pound to Euro](https://allratestoday.com/currency-converter/gbp-to-eur-rate)[→   USD/CAD US Dollar to Canadian Dollar](https://allratestoday.com/currency-converter/usd-to-cad-rate)[→   AUD/USD Australian Dollar to US Dollar](https://allratestoday.com/currency-converter/aud-to-usd-rate)[→   USD/CHF US Dollar to Swiss Franc](https://allratestoday.com/currency-converter/usd-to-chf-rate)[→   GBP/INR British Pound to Indian Rupee](https://allratestoday.com/currency-converter/gbp-to-inr-rate)[→   USD/MXN US Dollar to Mexican Peso](https://allratestoday.com/currency-converter/usd-to-mxn-rate)[→   EUR/USD Euro to US Dollar](https://allratestoday.com/currency-converter/eur-to-usd-rate)

## South Asia

  [→   GBP/INR British Pound to Indian Rupee](https://allratestoday.com/currency-converter/gbp-to-inr-rate)[→   USD/PKR US Dollar to Pakistani Rupee](https://allratestoday.com/currency-converter/usd-to-pkr-rate)[→   GBP/LKR British Pound to Sri Lankan Rupee](https://allratestoday.com/currency-converter/gbp-to-lkr-rate)[→   AED/INR UAE Dirham to Indian Rupee](https://allratestoday.com/currency-converter/aed-to-inr-rate)[→   USD/BDT US Dollar to Bangladeshi Taka](https://allratestoday.com/currency-converter/usd-to-bdt-rate)[→   GBP/PKR British Pound to Pakistani Rupee](https://allratestoday.com/currency-converter/gbp-to-pkr-rate)

## Southeast Asia

  [→   USD/PHP US Dollar to Philippine Peso](https://allratestoday.com/currency-converter/usd-to-php-rate)[→   SGD/MYR Singapore Dollar to Malaysian Ringgit](https://allratestoday.com/currency-converter/sgd-to-myr-rate)[→   USD/THB US Dollar to Thai Baht](https://allratestoday.com/currency-converter/usd-to-thb-rate)[→   USD/IDR US Dollar to Indonesian Rupiah](https://allratestoday.com/currency-converter/usd-to-idr-rate)[→   SGD/INR Singapore Dollar to Indian Rupee](https://allratestoday.com/currency-converter/sgd-to-inr-rate)[→   AUD/PHP Australian Dollar to Philippine Peso](https://allratestoday.com/currency-converter/aud-to-php-rate)

## Middle East & Africa

  [→   AED/PKR UAE Dirham to Pakistani Rupee](https://allratestoday.com/currency-converter/aed-to-pkr-rate)[→   SAR/INR Saudi Riyal to Indian Rupee](https://allratestoday.com/currency-converter/sar-to-inr-rate)[→   USD/NGN US Dollar to Nigerian Naira](https://allratestoday.com/currency-converter/usd-to-ngn-rate)[→   GBP/NGN British Pound to Nigerian Naira](https://allratestoday.com/currency-converter/gbp-to-ngn-rate)[→   USD/KES US Dollar to Kenyan Shilling](https://allratestoday.com/currency-converter/usd-to-kes-rate)[→   USD/EGP US Dollar to Egyptian Pound](https://allratestoday.com/currency-converter/usd-to-egp-rate)

## Americas

  [→   USD/MXN US Dollar to Mexican Peso](https://allratestoday.com/currency-converter/usd-to-mxn-rate)[→   USD/BRL US Dollar to Brazilian Real](https://allratestoday.com/currency-converter/usd-to-brl-rate)[→   USD/COP US Dollar to Colombian Peso](https://allratestoday.com/currency-converter/usd-to-cop-rate)[→   CAD/USD Canadian Dollar to US Dollar](https://allratestoday.com/currency-converter/cad-to-usd-rate)[→   USD/ARS US Dollar to Argentine Peso](https://allratestoday.com/currency-converter/usd-to-ars-rate)[→   USD/PEN US Dollar to Peruvian Sol](https://allratestoday.com/currency-converter/usd-to-pen-rate)

## Packages and open data

- JavaScript: [@allratestoday/sdk](https://www.npmjs.com/package/@allratestoday/sdk) on npm — live rates for 160+ currencies, conversion and official central-bank tables.
- Python: [allratestoday](https://pypi.org/project/allratestoday/) on PyPI · PHP: [allratestoday/sdk](https://packagist.org/packages/allratestoday/sdk) on Packagist · Go: [allratestoday-go](https://pkg.go.dev/github.com/AllRates-Today/allratestoday-go) · Rust: [allratestoday](https://crates.io/crates/allratestoday) on crates.io.
- Open dataset of official central-bank rates, refreshed daily: [Hugging Face](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) · [Kaggle](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates) · [GitHub (JSON and CSV)](https://github.com/AllRates-Today/central-bank-exchange-rates).
- AI agents: [hosted MCP server](https://allratestoday.com/mcp/), [@allratestoday/mcp-server](https://www.npmjs.com/package/@allratestoday/mcp-server) on npm and the [OpenClaw skill](https://allratestoday.com/openclaw/).
- WordPress: [currency converter plugin](https://allratestoday.com/wordpress/) on [WordPress.org](https://wordpress.org/plugins/allratestoday-currency-converter/).
- All code: [AllRates-Today on GitHub](https://github.com/AllRates-Today) · [SDK docs](https://allratestoday.com/docs/sdks/).
