Update: API rate limit will be reduced to 15 requests per minute, 1 request per second for the 3 apis from July 28th.
Dear community,
Binance DEX will conduct an upgrade to optimize API to provide a better service for our users. Here are the specific changes:
Binance DEX will introduce these new Rest API endpoints, estimated to be in force on 2021-06-21 03:00 AM (UTC):
- Get a batch of blocks – https://api.binance.org/bc/api/v1/blocks?startHeight={startHeight}&endHeight={endHeight}
- Get a block for a particular height – https://api.binance.org/bc/api/v1/blocks/{blockHeight}
- Get transactions in a particular block height – https://api.binance.org/bc/api/v1/blocks/{blockHeight}/txs
- Search transactions by criteria – https://api.binance.org/bc/api/v1/txs?address={address}&startTime={startTime}&endTime={endTime}
- Get a transaction by a hash – https://api.binance.org/bc/api/v1/txs/{txHash}
These new endpoints will provide better service than the following RPC endpoints, which will be retired in 5 days. Before the deadline, the rate limits of these old endpoints will be decreased by ~30% every 15 days compared to the current values.
- https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions
- https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions-in-blockblockheight
- https://docs.binance.org/api-reference/dex-api/paths.html#apiv2transactions-in-blockblockheight
Developers should switch to these new API as soon as possible. Please refer to the migration guide for more details.
If you are using Binance Chain java-sdk, please bump version to v1.1.2 asap https://github.com/binance-chain/java-sdk/releases/tag/v1.1.2
For further details and updates, please refer to our full API doc.
Please take necessary precautions and update your application accordingly.
Thanks for your support!
Binance Chain Community
2021/08/25
Find us on
Forum: https://community.binance.org
Twitter: https://twitter.com/BinanceChain
Telegram: https://t.me/BinanceDEXchange