Eu fx
eu_fxUse for euro exchange rates: ECB reference rates or cross rates via EUR (optional base, symbols, amount, date) with change versus the previous publication (calculated by P0) and a stale flag. Returns the paid x402 request for your input (GET /eu/fx, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Latest rates only; for one currency's daily history (up to 30 days) use eu_fx_history; for SOFR, euro short-term rate or Treasury yields use rates_reference. First call each day returns the data itself, free; later calls return the paid request.
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": "eu_fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ISO 4217 code of the base currency: EUR (default) or any currency the ECB publishes; other bases are cross rates via EUR, calculated by P0 | EUR |
| date | No | YYYY-MM-DD, not in the future and not before the first date held (about 30 days back); the ECB publication on or before it is used (requestedDate and isExactDate say whether it matched) | |
| amount | No | positive decimal amount of the base currency; adds converted = amount x rate for each symbol (calculated by P0) | |
| symbols | No | comma-separated ISO 4217 codes to return (EUR or ECB currencies); default all published currencies except the base |