Documentation

API Reference

Everything you need to integrate free exchange rate data into your application. No authentication required.

1Getting Started

The ExchangeRate.fun API is completely free and requires no authentication. You can start making requests immediately.

✓ No API key needed✓ No registration✓ No rate limits✓ No cost

The only thing we ask is that you use the API responsibly and avoid unnecessary spam requests.

2Endpoint

Base URLhttps://api.exchangerate.fun
Endpoints
GET/latest?base={CURRENCY}

3Parameters

ParameterTypeRequiredDescription
basestringoptionalBase currency code (e.g., USD, EUR). Defaults to USD.

4Response Format

response.json
{
  "base": "USD",
  "date": "2024-01-15",
  "rates": {
    "AED": 3.6725,
    "AFN": 71.5432,
    "ALL": 96.4231,
    "AMD": 401.23,
    "ANG": 1.7900,
    "AOA": 834.50,
    "ARS": 833.45,
    "AUD": 1.5234,
    "AWG": 1.7900,
    "AZN": 1.7003,
    "BAM": 1.8012,
    "BBD": 2.0000,
    "BDT": 110.52,
    "BGN": 1.8012,
    "BHD": 0.3770,
    "BIF": 2854.00,
    "BMD": 1.0000,
    "BND": 1.3354,
    "BOB": 6.9100,
    "BRL": 4.9523,
    "BSD": 1.0000,
    "BTC": 0.0000234,
    "BTN": 83.12,
    "BWP": 13.65,
    "BYN": 3.2800,
    "BZD": 2.0000,
    "CAD": 1.3452,
    "CDF": 2765.00,
    "CHF": 0.8654,
    "CLF": 0.0327,
    "CLP": 902.50,
    "CNY": 7.1923,
    "COP": 3980.00,
    "CRC": 527.30,
    "CUC": 1.0000,
    "CUP": 25.75,
    "CVE": 101.23,
    "CZK": 22.89,
    "DJF": 177.72,
    "DKK": 6.8923,
    "DOP": 58.45,
    "DZD": 134.50,
    "EGP": 30.85,
    "ERN": 15.00,
    "ETB": 56.82,
    "EUR": 0.9185,
    "FJD": 2.2456,
    "FKP": 0.7862,
    "GBP": 0.7862,
    "GEL": 2.6500,
    "GGP": 0.7862,
    "GHS": 12.35,
    "GIP": 0.7862,
    "GMD": 67.50,
    "GNF": 8625.00,
    "GTQ": 7.8234,
    "GYD": 209.50,
    "HKD": 7.8234,
    "HNL": 24.65,
    "HRK": 6.9231,
    "HTG": 132.45,
    "HUF": 353.20,
    "IDR": 15645.00,
    "ILS": 3.6945,
    "IMP": 0.7862,
    "INR": 83.12,
    "IQD": 1310.00,
    "IRR": 42000.00,
    "ISK": 138.50,
    "JEP": 0.7862,
    "JMD": 155.20,
    "JOD": 0.7090,
    "JPY": 148.52,
    "KES": 158.50,
    "KGS": 89.35,
    "KHR": 4085.00,
    "KMF": 451.20,
    "KPW": 900.00,
    "KRW": 1325.60,
    "KWD": 0.3082,
    "KYD": 0.8330,
    "KZT": 449.50,
    "LAK": 20850.00,
    "LBP": 15000.00,
    "LKR": 324.50,
    "LRD": 189.50,
    "LSL": 18.75,
    "LYD": 4.8234,
    "MAD": 10.0234,
    "MDL": 17.85,
    "MGA": 4520.00,
    "MKD": 56.52,
    "MMK": 2100.00,
    "MNT": 3425.00,
    "MOP": 8.0523,
    "MRO": 357.00,
    "MUR": 44.25,
    "MVR": 15.42,
    "MWK": 1685.00,
    "MXN": 17.12,
    "MYR": 4.6523,
    "MZN": 63.25,
    "NAD": 18.75,
    "NGN": 1520.00,
    "NIO": 36.85,
    "NOK": 10.5234,
    "NPR": 133.00,
    "NZD": 1.6234,
    "OMR": 0.3850,
    "PAB": 1.0000,
    "PEN": 3.7823,
    "PGK": 3.7234,
    "PHP": 56.32,
    "PKR": 279.50,
    "PLN": 4.0234,
    "PYG": 7345.00,
    "QAR": 3.6400,
    "RON": 4.5923,
    "RSD": 107.50,
    "RUB": 92.35,
    "RWF": 1265.00,
    "SAR": 3.7500,
    "SBD": 8.3234,
    "SCR": 13.65,
    "SDG": 601.50,
    "SEK": 10.4523,
    "SGD": 1.3354,
    "SHP": 0.7862,
    "SLL": 19850.00,
    "SOS": 571.50,
    "SRD": 35.25,
    "STD": 22281.00,
    "SVC": 8.7500,
    "SYP": 2512.00,
    "SZL": 18.75,
    "THB": 35.23,
    "TJS": 10.95,
    "TMT": 3.5100,
    "TND": 3.1234,
    "TOP": 2.3523,
    "TRY": 30.45,
    "TTD": 6.7823,
    "TWD": 31.23,
    "TZS": 2512.00,
    "UAH": 37.85,
    "UGX": 3785.00,
    "USD": 1.0000,
    "UYU": 39.25,
    "UZS": 12450.00,
    "VEF": 35.50,
    "VND": 24350.00,
    "VUV": 119.50,
    "WST": 2.7234,
    "XAF": 602.50,
    "XAG": 0.04234,
    "XAU": 0.000493,
    "XCD": 2.7020,
    "XDR": 0.7523,
    "XOF": 602.50,
    "XPF": 109.50,
    "YER": 250.35,
    "ZAR": 18.75,
    "ZMK": 9001.20,
    "ZMW": 26.35,
    "ZWL": 322.35
  }
}
basestring

The base currency code

datestring

Date of last update (YYYY-MM-DD)

ratesobject

Map of currency codes to exchange rates

5Code Examples

curl
curl "https://api.exchangerate.fun/latest?base=USD"

6Notes & Usage Policy

Rates are updated hourly from multiple data sources.

The API is free for personal and commercial use.

Please cache responses on your end to reduce load.

HTTPS is required. HTTP requests are not supported.

The owner is committed to keeping this free for 10+ years.

Have a question or found an issue? Open an issue on GitHub

Want to try it live?

Use our interactive currency converter to test the API right now.

Try Converter →