Swap Rate
This endpoint allows you to fetch real-time swap rates for cryptocurrency pairs supported by OxaPay. It’s ideal for applications that need the latest cryptocurrency prices to ensure accurate and timely calculations.
POST
https://api.oxapay.com/v1/general/swap/rate
Authentication
You must include the General API Key in the request header to authenticate your access to the API.
general_api_key*
string
Your General API Key for authentication and authorization.
Request Body
from_currency*
string
to_currency*
string
API Request Sample Codes
These example code snippets demonstrate how to request the "Swap Rate" endpoint using different programming languages. You can customize the data parameters according to your specific requirements.
API Response Example
The response example above is provided to help you understand the format and structure of the response. If you have any further questions or need assistance, please feel free to contact to your account manager.
Last updated