fx_history
Retrieve ECB reference-rate history for one currency pair or up to 10 targets over a date range up to 2 years, with daily points and summary statistics.
Instructions
Official ECB reference-rate time series for a currency pair (or up to 10 targets) over a date range up to 2 years: daily points plus first/last/min/max/mean/% change. Costs 0.002 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
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": {
"to": "<to>",
"start": "<start>"
},
"name": "fx_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target(s), comma-separated | |
| end | No | YYYY-MM-DD, default today | |
| from | No | Base ISO 4217, default EUR | |
| start | Yes | YYYY-MM-DD |