Currency exchange rates API: live rates and conversion for 30 major currencies
fx_ratesCurrency exchange rates and conversion: rates from a base currency to one or many currencies (USD, EUR, GBP, JPY, CHF, SEK, CAD, AUD, CNY, INR and about 20 more), with an optional amount to convert, from European Central Bank reference rates. Use to convert prices, settle an invoice in another currency or show a rate in an agent's answer. Example: from=USD. Price $0.002/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) |