CurrencyFreaks
v1.0.1Real-time and historical exchange rates and currency conversion for 1000+ currencies.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_currencies List supported currencies
Returns the currencies supported by CurrencyFreaks: 1000+ fiat currencies, cryptocurrencies, and precious metals (XAU gold, XAG silver, XPT platinum, XPD palladium). Use it to find a currency code before calling rate or conversion tools. No API key needed. By default returns a compact code → name map. Pass 'search' to filter by code, name, or country (e.g. 'rupee', 'PK', 'bitcoin'). Pass detailed=true for country, status (AVAILABLE/DEPRECATED), and the availableFrom/availableUntil date range of historical data per currency — combine with 'search' because the full detailed catalogue is very…
| Parameter | Type | Description |
|---|---|---|
detailed | boolean | Return full details per currency (country, status, historical availability range, icon). Default false. |
search | string | Case-insensitive substring to match against currency code, name, or (with detailed=true) country name. |
get_latest_rates Get latest exchange rates
Returns the latest exchange rates for one or more currencies against a base currency (USD by default). Covers fiat, crypto, and metals. Rates are returned as strings; refresh frequency depends on the plan (daily on Developer/free, hourly on Starter, every 10 minutes on Growth, every 60 seconds on Professional). Omit 'symbols' to get all 1000+ currencies.
| Parameter | Type | Description |
|---|---|---|
base | string | Base currency code the rates are expressed against (e.g. 'EUR'). Default is USD. Changing the base requires the Starter plan or above (any paid plan). |
symbols | string | Comma-separated currency codes to return, e.g. 'EUR,GBP,PKR' or 'BTC,ETH' or 'XAU,XAG'. Case-insensitive. Omit to get every supported currency (1000+ entries) — prefer passing symbols to keep respon… |
convert_currency Convert an amount between currencies
Converts an amount from one currency to another using the latest rate, or the rate on a past date if 'date' is given. Returns the rate used, the given amount, and the converted amount. Starter plan and above (any paid plan).
| Parameter | Type | Description |
|---|---|---|
from * | string | Currency code to convert from, e.g. 'USD'. |
to * | string | Currency code to convert to, e.g. 'EUR'. |
amount | number | Amount to convert. Must be greater than 0. Default is 1.0. |
date | string | Optional past date (YYYY-MM-DD) to convert at that day's rate instead of the latest rate. |
get_historical_rates Get historical exchange rates
Returns exchange rates for a specific past date. Major fiat currencies go back to 1984-11-28; newer currencies and crypto start from their own listing date (see list_currencies with detailed=true). Starter plan and above (any paid plan).
| Parameter | Type | Description |
|---|---|---|
date * | string | Date in YYYY-MM-DD format. |
base | string | Base currency code the rates are expressed against (e.g. 'EUR'). Default is USD. Changing the base requires the Starter plan or above (any paid plan). |
symbols | string | Comma-separated currency codes to return, e.g. 'EUR,GBP,PKR' or 'BTC,ETH' or 'XAU,XAG'. Case-insensitive. Omit to get every supported currency (1000+ entries) — prefer passing symbols to keep respon… |
get_time_series Get daily exchange rate time series
Returns daily exchange rates for one or more currencies between two dates, one entry per day. Professional plan and above.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date in YYYY-MM-DD format. |
startDate * | string | Start date in YYYY-MM-DD format. |
base | string | Base currency code the rates are expressed against (e.g. 'EUR'). Default is USD. Changing the base requires the Starter plan or above (any paid plan). |
symbols | string | Comma-separated currency codes to return, e.g. 'EUR,GBP,PKR' or 'BTC,ETH' or 'XAU,XAG'. Case-insensitive. Omit to get every supported currency (1000+ entries) — prefer passing symbols to keep respon… |
get_fluctuation Get exchange rate fluctuation
Returns how currencies moved between two dates: start rate, end rate, absolute change, and percent change for each symbol against the base. Note the sign convention: change = startRate - endRate, so a POSITIVE change means fewer units per base, i.e. the symbol currency strengthened against the base, and a NEGATIVE change means the rate rose and the symbol currency weakened. Professional plan and above.
| Parameter | Type | Description |
|---|---|---|
startDate * | string | Start date in YYYY-MM-DD format. |
base | string | Base currency code the rates are expressed against (e.g. 'EUR'). Default is USD. Changing the base requires the Starter plan or above (any paid plan). |
endDate | string | End date in YYYY-MM-DD format. Defaults to the day before today. |
symbols | string | Comma-separated currency codes to return, e.g. 'EUR,GBP,PKR' or 'BTC,ETH' or 'XAU,XAG'. Case-insensitive. Omit to get every supported currency (1000+ entries) — prefer passing symbols to keep respon… |
ip_to_currency Convert to the local currency of an IP address
Resolves the local currency from an IP address's geolocation and converts an amount into it using the latest rate. Useful for localizing prices for a visitor. The target currency is returned in the 'to' field. Growth plan and above.
| Parameter | Type | Description |
|---|---|---|
from * | string | Currency code to convert from, e.g. 'USD'. |
amount | number | Amount to convert. Must be greater than 0. Default is 1.0. |
ip | string | IPv4 or IPv6 address to geolocate. Omit to use the caller's own IP address. |