Currency Convert API - Free Exchange Rate Converter
Converts an amount from one ISO 4217 currency to another using the Frankfurter.dev ECB exchange-rate feed. Returns the converted amount rounded to 10 decimal places, the exchange rate, and a timestamp. Same-currency conversions return the original amount with rate 1.
Code examples
curl -X POST https://api.botoi.com/v1/currency/convert \
-H "Content-Type: application/json" \
-d '{"amount":100,"from":"USD","to":"EUR"}'When to use this API
Show prices in the visitor's local currency
Combine with /v1/ip-lookup to detect the visitor country and convert your USD-listed price into the local currency on page load. Clearer pricing signals boost international conversion rates.
Normalize multi-currency revenue in BI dashboards
When your business books revenue in 5+ currencies via Stripe, convert each transaction to a single base currency (USD or EUR) at the booking-date rate before feeding into your data warehouse.
Fixed-price invoicing across borders
Let contractors invoice in their local currency while your business pays in USD. Call the endpoint at invoice issue time and store the snapshot rate on the invoice for audit reproducibility.
Frequently asked questions
Where do the rates come from?
How many currencies are supported?
Are historical rates supported?
How precise is the result?
What is returned for same-currency conversion?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.