Darius Baruo
Aug 06, 2024 07:32
Binance publicizes vital updates to its API, together with Request Weight Changes and WebSocket Person Knowledge Requests, efficient from September 3, 2024.
Binance, one of many world’s main cryptocurrency exchanges, has introduced a major replace to its API, set to take impact on September 3, 2024, at 06:00 UTC. In accordance with a discover from Binance, the replace will embody changes to Request Weight and the deprecation of sure WebSocket Person Knowledge Requests.
Key Adjustments
The upcoming modifications will primarily give attention to two areas:
1. Request Weight Changes
Efficient from September 3, 2024, Binance will implement modifications to the Request Weight for varied API endpoints. The specifics of those modifications weren’t detailed within the announcement, however customers are suggested to consult with the up to date API documentation for full particulars.
2. Deprecation of WebSocket Person Knowledge Requests
Additionally efficient from September 3, 2024, a number of WebSocket Person Knowledge Requests shall be deprecated. Customers are inspired to transition to the up to date model endpoints to profit from improved efficiency and performance.
Really helpful Actions
Binance has supplied a set of latest endpoints for each REST and WebSocket APIs to switch the deprecated ones. Listed below are the important thing updates:
REST API
New Endpoints to Question Account Info:
GET /fapi/v1/symbolConfig: Question person image configuration.
GET /fapi/v1/accountConfig: Question person account configuration.
GET /fapi/v3/account: Alternative of GET /fapi/v2/account. This endpoint solely returns symbols that the person has positions or open orders in. Configuration-related fields have been eliminated and may now be queried from GET /fapi/v1/symbolConfig and GET /fapi/v1/accountConfig. The V3 endpoint additionally affords higher efficiency.
GET /fapi/v3/stability: Alternative of GET /fapi/v2/stability. Question person account stability.
New Endpoints to Question Commerce Info:
GET /fapi/v3/positionRisk: Alternative of GET /fapi/v2/positionRisk. This endpoint solely returns symbols that the person has positions or open orders in. Configuration-related fields have been eliminated and may now be queried from GET /fapi/v1/symbolConfig. The V3 endpoint additionally affords higher efficiency.
WebSocket API
New Endpoints to Question Account Info:
v2/account.standing: Alternative of account.standing. This endpoint solely returns symbols that the person has positions or open orders in. Configuration-related fields have been eliminated and may now be queried from GET /fapi/v1/symbolConfig and GET /fapi/v1/accountConfig. The V2 endpoint additionally affords higher efficiency.
v2/account.stability: Alternative of account.stability. Question person account stability.
v2/account.place: Alternative of account.place. This endpoint solely returns symbols that the person has positions or open orders in. Configuration-related fields have been eliminated and may now be queried from GET /fapi/v1/symbolConfig. The V2 endpoint additionally affords higher efficiency.
Binance emphasizes that customers ought to consult with the unique model of the announcement in English for probably the most correct data. For additional clarification and help, customers can seek the advice of the API documentation or contact Binance Buyer Service.
This replace is a part of Binance’s ongoing efforts to reinforce its API companies, making certain higher efficiency and extra environment friendly information dealing with for its customers.
Picture supply: Shutterstock


