cURL
curl --request POST \ --url https://api.sand.getivy.de/api/service/fx/retrieve-rate \ --header 'Content-Type: application/json' \ --header 'X-Ivy-Api-Key: <api-key>' \ --data '{ "sourceCurrency": "EUR", "targetCurrency": "EUR", "sourceAmount": "<string>" }'
{ "rate": "<string>", "targetAmount": "<string>", "sourceAmount": "<string>" }
Retrieve the current exchange rate for a given currency pair. The rate is not guaranteed for any following transactions.
API key for authentication
Returns the current exchange rate for the given currency pair.
The response is of type object.
object