Okapi Okapi

Binance USDⓈ-M Futures API GET /fapi/v1/positionRisk endpoint removal

Stopped workingSubscribe to Binance USDⓈ-M Futures APIShare

On July 15, 2023, the GET /fapi/v1/positionRisk endpoint stopped being supported and calls to it fail. This change affects requests sent to the fapi.binance.com host using this specific path.


Calls it hits

  • GET /fapi/v1/positionRisk

What to use instead of these calls

Call GET /fapi/v2/positionRisk instead.

In Binance USDⓈ-M Futures API's words

The following endpoints will no longer be supported from 2023-07-15:

Binance USDⓈ-M Futures API, Announcement

Facts

API
Binance USDⓈ-M Futures API fapi.binance.com
Kind
Endpoint removal
Announced
June 28, 2023
Takes effect
July 15, 2023
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Binance USDⓈ-M Futures API's own pages

Questions

When does this change take effect?

Calls to GET /fapi/v1/positionRisk on Binance USDⓈ-M Futures API stopped working on July 15, 2023.

What happens to calls after July 15, 2023?

They have failed since July 15, 2023.

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 USDⓈ-M Futures API 9

  1. GET /fapi/v1/accountEndpoint removal Stopped working
  2. GET /fapi/v1/balanceEndpoint removal Stopped working
  3. GET /dapi/v1/incomeBehaviour change Stopped working
  4. GET /fapi/v1/incomeBehaviour change Stopped working
  5. GET /papi/v1/cm/incomeBehaviour change Stopped working
  6. GET /papi/v1/um/incomeBehaviour change Stopped working
  7. No date GET /fapi/v2/accountEndpoint removal Deprecated, no date
  8. No date GET /fapi/v2/balanceEndpoint removal Deprecated, no date
  9. No date GET /fapi/v2/positionRiskEndpoint removal Deprecated, no date

All 7 Binance USDⓈ-M Futures API v1 breaking changes →


You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Binance USDⓈ-M Futures API

Hear about each breaking change Binance USDⓈ-M Futures API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Binance USDⓈ-M Futures 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.