Endpoint
Path parameters
Source currency code (e.g., USD, EUR, GBP). Must be 3-5 characters in length.
Target currency code (e.g., USD, EUR, GBP). Must be 3-5 characters in length.
Amount to convert. Must be greater than 0 with up to 2 decimal places.
Example request
Response
Source currency code
Target currency code
Original amount requested
Converted amount
Exchange rate used for conversion
When the rate was fetched
Providers of rates
Example response
Status codes
200- Successful conversion400- Invalid currency code (currency not supported)422- Invalid parameters (e.g., negative amount, invalid format)500- Internal server error503- Exchange rate service unavailable (all providers failed)
