Currency exchange rate
fx_rateDaily mid-market exchange rate between two fiat currencies (ISO 4217, e.g. USD, EUR, ARS, BRL, JPY) with optional amount conversion, from blended central-bank reference rates (ECB and others, via Frankfurter). Send {from, to, amount}. Unsupported currency = no charge. Paid tool: 0.002 USDC per call via x402 (USDC on Base, Polygon or Solana, no account or key). An unpaid call returns a payment-required result (isError, structuredContent with x402Version 2 and accepts); sign one of the accepts and retry the same call with the PaymentPayload in params._meta["x402/payment"]. Returns JSON text; the settlement is in result._meta["x402/payment-response"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Quote currency ISO 4217 code | |
| from | No | Base currency ISO 4217 code | USD |
| amount | No | Amount in the base currency to convert |