Binance Chain DEX API Upgrade Announcement 06/18

Binance Chain DEX API Upgrade Announcement 06/18

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 45 days. Before the deadline,  the rate limits of these old endpoints will be decreased by ~30% every 15 days compared to the current values.

Developers should switch to these new API as soon as possible. Please refer to the migration guide for more details.

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/06/18

Find us on

Forum: https://community.binance.org

Twitter: https://twitter.com/BinanceChain

Telegram: https://t.me/BinanceDEXchange