Okapi Okapi

Binance Spot API POST /api/v3/order/oco endpoint removal

Deprecated, no dateSubscribe to Binance Spot APIShare

Binance Spot API deprecated the POST /api/v3/order/oco endpoint on April 2, 2024, without a shutdown date. This change affects calls to POST /api/v3/order/oco on the REST API. Once removed, these requests will fail.


Calls it hits

  • POST /api/v3/order/oco

What to use instead of these calls

Use POST /api/v3/orderList/oco instead. The transition requires more than updating the path, as parameters differ, including aboveType/belowType and abovePrice/belowPrice.

In Binance Spot API's words

The `POST /api/v3/order/oco` endpoint is now deprecated on the REST API. You should use the new `POST /api/v3/orderList/oco` endpoint instead.

Binance Spot API, Announcement

Facts

API
Binance Spot API api.binance.com
Kind
Endpoint removal
Announced
April 2, 2024
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Binance Spot API's own pages

Questions

When does this change take effect?

Binance Spot API deprecated POST /api/v3/order/oco without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Binance Spot 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 Binance Spot API 2

  1. /api/v3/userDataStreamEndpoint removal Stopped working
  2. /api/v1/*Version retirement Stopped working

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 Binance Spot API

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

1What to follow

Provider
  • Binance Spot 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.