fx
Convert between 30+ fiat currencies at the official ECB reference rate and retrieve optional historical rate dates for 0.001 USDC per successful Base call.
Instructions
Currency conversion at the official European Central Bank reference rate (via Frankfurter), with rate date. 30+ fiat currencies. Costs 0.001 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": {
"from": "<from>",
"to": "<to>"
},
"name": "fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | to | |
| date | No | optional YYYY-MM-DD historical rate | |
| from | Yes | from | |
| amount | No | amount |