Currency exchange rates and conversion
fxForeign exchange rates from the European Central Bank for about 30 major currencies (USD, EUR, GBP, JPY, CHF, SEK, CAD, AUD, CNY, INR, BRL and more). Give a base currency, optionally the target currencies and an amount, and get the rates, the converted amounts and the date the rates apply to. Use for currency conversion, invoice and price calculations, and reporting in another currency. Example: from=USD, to=EUR,GBP,SEK, amount=100. Price $0.003/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional comma-separated target currency codes, e.g. EUR,GBP; default is all available currencies | |
| from | Yes | Base currency as a three-letter ISO 4217 code, e.g. USD | |
| amount | No | Optional amount of the base currency to convert (default 1) |