Currency exchange rates from the European Central Bank
fxCurrency exchange rates from the European Central Bank (about 30 currencies, back to 1999): latest or a given date, amount conversion, or a daily time series between two dates. Source: ECB reference rates via Frankfurter. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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": "fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target currencies, comma-separated (default: all) | |
| end | No | YYYY-MM-DD: time series end (default today) | |
| date | No | YYYY-MM-DD for a past day | |
| from | No | Base currency, default USD | |
| start | No | YYYY-MM-DD: time series start | |
| amount | No | Amount to convert, default 1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| date | No | ||
| rates | No | ||
| amount | No | ||
| source | No | ||
| converted | No |