ECB rate on a day
rateThe European Central Bank's euro foreign exchange reference rate in force on a day: units of the currency per 1 EUR, as the exact value the ECB published (1 EUR = 1.1052 USD), with fixing_date, the date of the fixing it is. The ECB fixes rates on TARGET working days around 16:00 CET; a weekend, a TARGET holiday, or today before 16:00 CET takes the last working day's fixing, so the answer always says which one it used. Covers every day since 1999-01-04, including currencies the ECB has since dropped (HRK, RUB, BGN, ...) on the days it published them.
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 Frankfurt; default today. | |
| currency | Yes | ISO 4217 code: USD, GBP, JPY, CHF, ...; EUR where the tool allows it; case ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| date | Yes | The day asked for | |
| note | No | ||
| rate | Yes | The ECB's exact value, units of the currency per 1 EUR | |
| source | Yes | ||
| meaning | Yes | ||
| currency | Yes | ||
| fixing_date | Yes | The date of the ECB fixing this rate is |