Access the Free Currency Exchange Rates API
mainThe Exchange API provides free, fast access to exchange rates for over 200 currencies, including cryptocurrencies and metals. Data is updated daily and has no rate limits.
To use the API, construct a URL using the following structure:
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@{date}/{apiVersion}/{endpoint}
URL Components:
{date}: Uselatestfor the most recent data or a specific date inYYYY-MM-DDformat (e.g.,2024-03-06).{apiVersion}: Currentlyv1.{endpoint}: The specific resource you want to access (e.g.,currenciesorcurrencies/{currencyCode}).
Response Formats:
The API supports HTTP GET and returns JSON in two formats:
/{endpoint}.json: Standard prettified JSON./{endpoint}.min.json: Minified JSON for reduced payload size.
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies.json