Migration from APIv3 to APIv4
The new version of API has the same authorization as in APIv3, so you do not have to change the code too much. But there are other changes that you should know in order to easily migrate to the new version of API.
It is strongly recommended that you read General API information before you begin your migration.
API keys
If you have the old API keys, then you do not need to change them in order to use authorization with a signature. To use authorization with a single API key, you will need to create new keys.
New headers
We changed the name of the headers that need to pass for a successful request:
Body style
The body of the request and the body of the response use lowerCamelCase style.
New URLs
We kept the features of APIv3 and tried to improve them in APIv4.
Below we provide a table showing the old and new URLs. If you click on the URL, you will be redirected to the documentation for that endpoint:
WebSocket API
WebSocket API has been added with APiv4. Now you can get real-time data about changes in the markets or changes in your account. Therefore, you can significantly reduce the number of requests using APIv4 endpoints and increase your productivity on our service.
Read more about WebSocket API.
We will assist you!
If you have any additional questions, please contact our support team: @KunaSupport_bot, we will assist you!
Updated over 1 year ago