Skip to main content
GET
https://api.xchangeapi.com/
latest?base=
{base}
Latest rates
curl --request GET \
  --url 'https://api.xchangeapi.com/latest?base={base}' \
  --header 'api-key: <api-key>'
{
  "timestamp": 1766925449,
  "base": "USD",
  "rates": {
    "NEO": 0.26667,
    "BAT": 4.5435,
    "IOT": 11.54078,
    "GHS": 11.46,
    "EGP": 47.5229,
    "IDR": 16763,
    "XLM": 4.48923,
    "BGN": 1.6615,
    "USD": 1,
    "AED": 3.6721,
    "GBP": 0.74083,
    "UNI": 0.15882,
    "ETH": 0.00034,
    "DKK": 6.3514,
    "DOT": 0.53382,
    "CAD": 1.3675,
    "MXN": 17.904,
    "HUF": 328.8,
    "RON": 4.47025,
    "BIF": 2945.69,
    "MYR": 4.04849,
    "ZMW": 22.46,
    "UAH": 42.2481,
    "XMR": 0.00224,
    "FIL": 0.74159,
    "EUR": 0.84964,
    "SEK": 9.154,
    "SGD": 1.28395,
    "HKD": 7.77115,
    "AUD": 1.4886,
    "CHF": 0.78953,
    "XAU": 2.20632,
    "CNY": 7.00415,
    "LTC": 0.01263,
    "TRX": 3.51822,
    "NZD": 1.71352,
    "BNB": 0.00117,
    "TRY": 42.88678,
    "THB": 34.4565,
    "XAF": 556.9,
    "XAG": 1.26226,
    "ZEC": 0.00193,
    "OMG": 3.33337,
    "RWF": 1447.83,
    "KZT": 505.21,
    "BDT": 122.1494,
    "RUB": 77.27701,
    "ZAR": 16.6621,
    "NOK": 10.00901,
    "INR": 89.8812,
    "JPY": 156.58849,
    "CZK": 20.606,
    "ADA": 2.69766,
    "BRL": 5.5444,
    "BTC": 0.00001,
    "PLN": 3.58082,
    "PHP": 58.7051,
    "KES": 128.85,
    "ILS": 3.18846
  }
}
Fetch the most recent exchange rates for all available currencies. This is our most popular endpoint, providing real-time data ideal for currency conversion tools, financial dashboards, and e-commerce pricing. Rates are updated frequently to ensure you have the most current market data available according to your plan.

Query parameters

base
string
default:"USD"
The currency code of the base currency to quote rates against (e.g., USD, EUR). If not provided, defaults to USD.

Response

Note on Precision: Some currency pairs are returned with a multiplier (e.g., 100 or 1000) to ensure high precision.
timestamp
string
The Unix timestamp (epoch) of when the rates were collected.
base
string
The base currency used for the returned rates.
rates
object
A JSON object containing the exchange rates, where keys are currency codes and values are the rates relative to the base currency.
{
  "timestamp": 1766925449,
  "base": "USD",
  "rates": {
    "NEO": 0.26667,
    "BAT": 4.5435,
    "IOT": 11.54078,
    "GHS": 11.46,
    "EGP": 47.5229,
    "IDR": 16763,
    "XLM": 4.48923,
    "BGN": 1.6615,
    "USD": 1,
    "AED": 3.6721,
    "GBP": 0.74083,
    "UNI": 0.15882,
    "ETH": 0.00034,
    "DKK": 6.3514,
    "DOT": 0.53382,
    "CAD": 1.3675,
    "MXN": 17.904,
    "HUF": 328.8,
    "RON": 4.47025,
    "BIF": 2945.69,
    "MYR": 4.04849,
    "ZMW": 22.46,
    "UAH": 42.2481,
    "XMR": 0.00224,
    "FIL": 0.74159,
    "EUR": 0.84964,
    "SEK": 9.154,
    "SGD": 1.28395,
    "HKD": 7.77115,
    "AUD": 1.4886,
    "CHF": 0.78953,
    "XAU": 2.20632,
    "CNY": 7.00415,
    "LTC": 0.01263,
    "TRX": 3.51822,
    "NZD": 1.71352,
    "BNB": 0.00117,
    "TRY": 42.88678,
    "THB": 34.4565,
    "XAF": 556.9,
    "XAG": 1.26226,
    "ZEC": 0.00193,
    "OMG": 3.33337,
    "RWF": 1447.83,
    "KZT": 505.21,
    "BDT": 122.1494,
    "RUB": 77.27701,
    "ZAR": 16.6621,
    "NOK": 10.00901,
    "INR": 89.8812,
    "JPY": 156.58849,
    "CZK": 20.606,
    "ADA": 2.69766,
    "BRL": 5.5444,
    "BTC": 0.00001,
    "PLN": 3.58082,
    "PHP": 58.7051,
    "KES": 128.85,
    "ILS": 3.18846
  }
}