Currency exchange rates (ECB)
currency_ratesLatest and historical euro foreign exchange reference rates from the European Central Bank, with conversion between any two of its currencies. Cost: 1 credit per call. Output: JSON. latest: {base, date, rates}; convert: {amount, from, to, rate, result, date_used}; history: {base, quote, series[{date, rate}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | latest | |
| to | No | Currency to convert to | |
| base | No | Base currency (latest, history); for convert the alias of 'from' | EUR |
| date | No | YYYY-MM-DD; non-business days use the previous business day. Default: latest day | |
| days | No | history: calendar days ending at 'date' (default the latest day) | |
| from | No | Currency to convert from (default EUR) | |
| quote | No | Quote currency (history; latest filter; convert alias of 'to') | |
| amount | No | Amount of the 'from' currency (convert) | |
| quotes | No | Several quote currencies for latest; omit for all |