fx
[$0.001 USDC per call via x402] Fiat exchange rates and conversion from ECB reference data (USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, INR, and ~20 more), latest or any date since 1999.
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 | Comma-separated target codes (default all) | |
| date | No | YYYY-MM-DD for historical rates (default latest) | |
| from | No | Base currency code (default USD) | |
| amount | No | Optional amount to convert |