get_currency_rate
Retrieve the official NBP mid-market exchange rate for any currency against PLN, with optional historical date lookup. Uses Table A first, falling back to Table B for exotic currencies.
Instructions
Get the official NBP mid-market exchange rate for a single currency against PLN. Tries Table A first and falls back to Table B for exotic currencies.
Args: currency_code: ISO 4217 code, e.g. "EUR", "USD", "GBP". date: Optional ISO date (YYYY-MM-DD) for a historical rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| currency_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |