Gives you the exchange rates of one currency, today or on a past day, and converts an amount when you send one.
https://api.opensolr.com/solr_manager/api/currency_ratesemail and api_key of your account, as GET or POST parameters: Authentication.01 · Parameters
baseRequiredThe currency to convert from, an ISO 4217 code such as EUR.
toOptionalThe currencies you want, such as USD,GBP. Without it: every currency known that day.
dateOptionalA past day, YYYY-MM-DD. Default today (UTC). Never a future day.
amountOptionalAn amount in the base currency to convert.
02 · Example
curl -s "https://api.opensolr.com/solr_manager/api/currency_rates?email=YOUR_EMAIL&api_key=YOUR_API_KEY&base=EUR&to=USD,GBP&amount=100"
03 · Answer
{ "status": true, "contract_version": 1, "base": "EUR", "date": "2026-10-11", "rates": { "USD": 1.0912, "GBP": 0.8441 }, "amount": 100, "converted": { "USD": 109.12, "GBP": 84.41 } }
One base is worth rate of each currency. A currency asked for and not known that day is listed in unknown. Values shown are an example.
04 · Errors
ERROR_INVALID_CURRENCYHTTP 200base is not a three-letter code.
ERROR_INVALID_DATEHTTP 200date is not a real past day.
ERROR_NO_RATESHTTP 200No rates for that currency on that day.
ERROR_RATES_UNAVAILABLEHTTP 200The rates could not be read. Retry later.
WRONG_API_HOSTHTTP 404Called on opensolr.com. The answer carries the right URL.
ERROR_AUTHENTICATION_FAILEDHTTP 403The email and API key do not match.
ERROR_RATE_LIMIT_PER_MINUTEHTTP 429Too many calls. Wait for the Retry-After seconds.
Each call counts once toward your per-minute and per-hour limits, whatever the number of items: Rate limits. Lookups never use the AI allowance.
05 · Related
VAT rates: vat_rates.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.