Nbu Currency Rate
nbu_currency_rateOfficial NBU rate for a SINGLE currency on one day. Pass valcode as an ISO-4217 code (e.g. USD, EUR, GBP). rate is UAH per 1 unit of that currency. Omit date for today. For a time series of one currency across a date range, use nbu_currency_history instead.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"valcode": "USD"
},
"name": "nbu_currency_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day to fetch, format YYYYMMDD, e.g. "20240115". Omit for the latest/today. | |
| valcode | Yes | ISO-4217 currency code, e.g. "USD", "EUR", "PLN". |