Skip to content
🎉 Welcome to atWallets Ecosystem! Visit AirDrop Rewards
Kucoin

Kucoin

Kucoin API Information

Kucoin API Link: https://www.kucoin.com/docs/basic-info/base-url

Base Endpoints

  • Base Endpoint: https://api.kucoin.com
  • Futures Endpoint: https://api-futures.kucoin.com

Timestamps

  • Unless otherwise specified, all timestamps returned from the API are in milliseconds (e.g., 1546658861000). Most modern languages and libraries can handle this without issues.
  • However, please note that the timestamps between the matching engine and the order system are in nanoseconds.
  • The KC-API-TIMESTAMP header must be a number in milliseconds in UTC since Unix Epoch, i.e., Unix Time.
  • The difference between your timestamp and the API server time must be less than 5 seconds, otherwise your request will be considered expired and rejected. If there could be a time difference between your server and the API server, it is recommended to query the API server time using the time endpoint.

Rate Limit

The new rate limit 2.0 has been introduced. Compared to 1.0, users can exceed the rate limit of a single interface more freely according to strategy and coordinate interfaces freely, allowing strategies that depend heavily on certain interfaces to operate smoothly. For example, in the 1.0 rate limit, high-frequency users’ order cancel interface was relatively limited. Under the new logic, as long as other interfaces are not heavily requested, order cancellation can be 2-3 times higher than before, meeting higher rate limit requirements. In other words, the new rate limit rules allow resource allocation and configure the interface optimally according to user needs.

LevelSpotFuturesManagementPublicEarn
VIP04000/30s2000/30s2000/30s2000/30s2000/30s
VIP16000/30s2000/30s2000/30s2000/30s2000/30s
VIP28000/30s4000/30s4000/30s2000/30s2000/30s
VIP310000/30s5000/30s5000/30s2000/30s2000/30s
VIP413000/30s6000/30s6000/30s2000/30s2000/30s
VIP516000/30s7000/30s7000/30s2000/30s2000/30s
VIP620000/30s8000/30s8000/30s2000/30s2000/30s
VIP723000/30s10000/30s10000/30s2000/30s2000/30s
VIP826000/30s12000/30s12000/30s2000/30s2000/30s
VIP930000/30s14000/30s14000/30s2000/30s2000/30s
VIP1033000/30s16000/30s16000/30s2000/30s2000/30s
VIP1136000/30s18000/30s18000/30s2000/30s2000/30s
VIP1240000/30s20000/30s20000/30s2000/30s2000/30s

Pagination

Pagination allows retrieving results based on the current page and is especially suitable for real-time data. Endpoints such as /api/v1/deposit-list, /api/v1/orders, and /api/v1/fills return the latest items by default. To fetch more results, users must specify the currentPage number in subsequent requests, based on the data returned from previous requests.

ParameterDefaultDescription
currentPage1Current request page.
pageSize50Number of results per request. Minimum is 10, maximum is 500.

HTTP Errors Code

CodeMeaning
400Bad Request – Invalid request format.
401Unauthorized – Invalid API Key.
403Forbidden or Too Many Requests – The request is forbidden or Access limit breached.
404Not Found – The specified resource could not be found.
405Method Not Allowed – You tried to access the resource with an invalid method.
415Unsupported Media Type. You need to use: application/json.
500Internal Server Error – We had a problem with our server. Try again later.
503Service Unavailable – We’re temporarily offline for maintenance. Please try again later.

RCXT Kucoin API Information