Binance Spot API Request Weight Limit Updates: What You Need to Know?
In a recent announcement, Binance has revealed that they will be updating the request weight limits of their Rest and WebSocket (WS) API endpoints starting from October 19, 2023, at 00:00 UTC. These changes aim to optimize the usage of their APIs, providing users with a more efficient experience.
Understanding the Changes:
Let's break down the changes in request weight limits for both the Rest API and WebSocket (WS) API:
Rest API Changes:
1. api/v3/trades
- Current: No request weight limit, New: 2 request weight.
2. api/v3/depth
New limits based on the number of levels:
- 1 - 100 levels: Current 1 request weight, New 2 request weight.
- 101 - 500 levels: Current 10 request weight, New 25 request weight.
- 501 - 1,000 levels: Current 20 request weight, New 50 request weight.
- 1,001 - 5,000 levels: Current 100 request weight, New 250 request weight.
WebSocket (WS) API Changes:
1. v3/trades.recent
- No changes to request weight (N/A to 10).
2. v3/depth
- New limits based on the number of levels, similar to the Rest API changes.
WebSocket Stream Alternatives:
To avoid constantly polling the Rest or WS APIs, users can use WebSocket Stream alternatives for real-time data. Here are the alternatives:
1. api/v3/trades
- Use `@trade`.
2.api/v3/depth
- Use `@depth` or ``.
It's important to note that users should customize the "" and "" variables for WebSocket Streams, using lowercase letters. For example, "btcusdt@trade," "btcusdt@depth," or "btcusdt@depth10."
Impact on Trading:
The good news is that these updates won't affect your trading activities. Binance is implementing these changes to enhance the performance and efficiency of their API services while ensuring a seamless trading experience for users.
For More Information:
If you want to delve deeper into these API changes, you can visit the Binance Spot API Change Log or consult the Binance Spot GitHub API Docs for comprehensive information.