Exchange Rate
Last updated
Last updated
The endpoint allows users to obtain real-time exchange rates for cryptocurrency pairs supported by OxaPay. This feature is particularly useful for applications that require up-to-date cryptocurrency prices.
POST
https://api.oxapay.com/exchange/rate
Name | Type | Description |
---|---|---|
By providing the `fromCurrency` and `toCurrency` parameters, you can retrieve the exchange rate between the specified cryptocurrencies. For example, if you set `fromCurrency` to "BTC" and `toCurrency` to "USDT," the response will provide the real-time exchange rate for converting Bitcoin (BTC) to Tether (USDT).
Please note that the exchange rate provided in the response may fluctuate over time due to the volatile nature of cryptocurrency markets.
fromCurrency*
string
The currency code of the cryptocurrency you want to convert from
toCurrency*
string
The currency code of the cryptocurrency you want to convert to