Calculate Withdrawal Fees through API before transaction

Hello!
Is there a way to get an information though API in order to calculate (even approximately) what my withdrawal fee would be before making a transaction?
I see this page: Fee Rate
But how can I access that info through an API to make a calculation in my app so a user would know what to expect before making a withdrawal?

Thank you very much!

You can use this endpoint(Binance API Documentation) to get the withdrawal fee under “withdrawFee”

1 Like