Retrieve Exchange Rate

Authorizations

Authorization
string
header
required

Use HTTP Basic authentication with api_key as username and api_secret as password. Obtain credentials in Portal > Settings > Developer.

Query Parameters

source_currency
string
required

Source currency code. Leading and trailing whitespace is removed and letters are converted to uppercase before validation. The normalized value must match [A-Z0-9]{2,16}. Valid format does not guarantee that the currency pair is permitted or supported.

destination_currency
string
required

Destination currency code. Leading and trailing whitespace is removed and letters are converted to uppercase before validation. The normalized value must match [A-Z0-9]{2,16}. Valid format does not guarantee that the currency pair is permitted or supported.

Response

200 - application/json

Exchange rate query successful.

code
string
Allowed value: "success"
message
string
trace_id
string

Trace ID used for troubleshooting.

timestamp
integer<int64>

Response time as a Unix timestamp in milliseconds.

data
object
success
boolean