Currency Converter (ECB)
fx_convertRead-onlyIdempotent
Currency converter (ECB reference rates): convert an amount from one currency to one or more others, e.g. 250 USD to EUR, GBP and JPY, at the latest European Central Bank rate or any day in the last 90 days. Returns the rate, converted amount and rate date for each target. 30 currencies. Reference rates, not transaction rates. Source: ECB. Signed receipt. Price: $0.001 per call via x402 (USDC on Base or XRP on XRPL). Example arguments: {"from":"USD","to":"EUR,GBP,JPY","amount":"250"}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Comma-separated target currencies (ISO 4217), 1-10 | |
| date | No | Rate date YYYY-MM-DD within the last 90 days; default latest | |
| from | Yes | Source currency (ISO 4217) | |
| amount | Yes | Amount to convert |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Converted amounts and rates per target currency at the ECB rate date | |
| receipt | No | Ed25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt |