Convert
POST
/rates/convert.json
{
"from": "USD",
"to": "EUR",
"amount": 100,
"market": "mid"
}
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.Request
Body Params application/json