Okapi Okapi

KuCoin API GET /api/v1/margin/trade/last endpoint removal

Deprecated, no dateSubscribe to KuCoin APIShare

KuCoin deprecated the GET /api/v1/margin/trade/last endpoint without announcing a shutdown date. KuCoin API announced on September 22, 2023, that it would abandon this interface. Requests made to this endpoint fail.


Calls it hits

  • GET /api/v1/margin/trade/last

What to use instead of these calls

Remove the call, as it answers 404. KuCoin documents no API replacement, and its Lending Market endpoints left the Classic REST docs on October 21, 2026.

KuCoin documents no API replacement: its Lending Market endpoints left the Classic REST docs on 2026-10-21.

In KuCoin API's words

Deprecated: Get Margin Trade Data, abandon the "GET /api/v1/margin/trade/last" interface

KuCoin API, Announcement

Facts

API
KuCoin API api.kucoin.com
Kind
Endpoint removal
Announced
September 22, 2023
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against KuCoin API's own pages

Questions

When does this change take effect?

KuCoin API deprecated GET /api/v1/margin/trade/last without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: KuCoin API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from KuCoin API 10

  1. GET /api/v1/isolated/account/{id}Endpoint removal Stopped working
  2. GET /api/v1/isolated/accountsEndpoint removal Stopped working
  3. POST /api/v1/margin/orderEndpoint removal Stopped working
  4. POST /api/v1/margin/order/testEndpoint removal Stopped working
  5. POST /api/v1/hf/orders*Parameter removal Stopped working
  6. POST /api/v3/hf/margin/order*Parameter removal Stopped working
  7. POST /api/v1/hf/orders*Parameter removal Stopped working
  8. POST /api/v3/hf/margin/order*Parameter removal Stopped working
  9. No date /api/v1/margin/lend*Endpoint removal Deprecated, no date
  10. No date GET /api/v1/hf/orders/activeEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to KuCoin API

Hear about each breaking change KuCoin API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • KuCoin API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.