This endpoint allows the conversion of a specified amount from one currency to another. It uses current exchange rates to calculate the equivalent value of the source currency in the target currency.Body Example:
This endpoint accepts a JSON body containing three key fields:
from (string): The currency code of the source currency (e.g., "USD" for US Dollar).
to (string): The currency code of the target currency (e.g., "EUR" for Euro).
amount (integer): The amount to be converted.
market We support three rates: official, mid, and parallel, with mid as the default. Note that some rates may not be available in a particular market (which may result in an error response), use the Latest endpoint to see all rates available in a market.