BNR rate on a day
rateFetch the National Bank of Romania reference exchange value for a currency and date, falling back to the last banking day for weekends, holidays, or before publication.
Instructions
The National Bank of Romania's reference rate in force on a day: RON per multiplier units of the currency (1, or 100 for HUF, JPY, KRW and a few others), as the exact text BNR published, with published_on, the date of the fixing it is. A weekend, a holiday, or today before BNR publishes (about 13:00 Bucharest) takes the last banking day's fixing. Use it for any EUR/RON or other conversion stated on a date.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"currency": "<currency>"
},
"name": "rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day, YYYY-MM-DD in Bucharest; default today. | |
| currency | Yes | ISO 4217 code: EUR, USD, GBP, CHF, ... (XAU gold, XDR SDR); case ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| date | Yes | ||
| note | No | ||
| rate | Yes | BNR's exact text, RON per `multiplier` units | |
| source | Yes | ||
| meaning | Yes | ||
| currency | Yes | ||
| multiplier | Yes | ||
| published_on | Yes | The date of the fixing this rate is |