Convert currency
convert_currencyConvert an amount between major currencies using European Central Bank reference rates to compare fares or prices quoted in different currencies.
Instructions
Convert an amount between currencies using European Central Bank reference rates (published once per working day). Good for comparing fares quoted in different currencies. Free and keyless; rates are cached for 12 hours. Covers about 30 major currencies (USD, EUR, GBP, INR, TRY, CNY, JPY, ...); currencies the ECB does not publish (e.g. PKR, AED, SAR) are not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency, ISO 4217, e.g. USD. | |
| from | Yes | Source currency, ISO 4217, e.g. GBP. | |
| amount | Yes | Amount to convert, e.g. 450. |