BNR reference exchange rate
get_fx_rateThe reference exchange rate of the National Bank of Romania (BNR) for a day, in lei (RON) per unit of currency, for all currencies or one. By default the latest published. The archive starts in 2005.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day as YYYY-MM-DD, for example 2026-10-02. Default: the latest banking day. | |
| currency | No | The currency's code, for example EUR. Without it, all currencies. |