fx_rate
Currency exchange rates and conversion from the European Central Bank: about 30 currencies, latest or any date since 1999, several target currencies in one call. Paid via x402 ($0.0033 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment. Free trial: 3 unpaid calls/day per IP on this tool (HTTP: header X-Free-Trial: 1; MCP: automatic when no payment is sent).
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>"
},
"name": "fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target code(s), comma-separated (e.g. MXN or USD,MXN,JPY); "*" for all. | |
| date | No | YYYY-MM-DD (since 1999-01-04); omit for the latest fixing. | |
| from | No | Base ISO 4217 code (default EUR), e.g. USD. | |
| amount | No | Amount of `from` to convert (default 1). |