POST
/
api
/
service
/
fx
/
retrieve-rate
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": "USDC",
  "sourceAmount": "<string>"
}'
{
  "rate": "<string>",
  "targetAmount": "<string>",
  "sourceAmount": "<string>"
}

Authorizations

X-Ivy-Api-Key
string
header
required

Body

application/json

Response

200 - application/json
Returns the current exchange rate for the given currency pair.

The response is of type object.