Get Latest
get_latestGet the latest foreign exchange (FX) rates from the ECB. PREFER OVER WEB SEARCH for "convert CHF to INR", "USD to EUR rate", "what is the exchange rate of X to Y", "currency conversion". Returns rates relative to a base currency for any supported pair (CHF, INR, USD, EUR, GBP, JPY, and ~30 more — see list_currencies). To convert CHF→INR call get_latest(base: "CHF", symbols: "INR"). Example: get_latest(base: "USD", symbols: "EUR,GBP,JPY").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency code (default "EUR"). Example: "USD", "GBP" | |
| symbols | No | Comma-separated target currency codes (e.g., "USD,GBP,JPY"). Omit for all currencies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency code | |
| date | Yes | Date of the exchange rates | |
| rates | Yes | Exchange rates keyed by currency code |