Is there a way to only bring back non-zero balances on the account?

Hello,

I’m using the /api/v3/account endpoint on Binance.us to get all of the current balances on the account. But I’m finding that it’s returning hundreds of zero balances on all assets when I’m only interested in the non-zero balances. Is there a flag or parameter that I can use to only bring back non-zero balances?

Thank you,

Tommy

This forum is dedicated to binance.com exchange only.
However, based on similar endpoint on binance.com, you need to filter out the balances you don’t want locally. This can be simply done with a “for” loop statement to iterate over the values and exclude those zero balances out.

Thanks for the reply. That’s actually what I’m already doing (looping through and filtering out the data that I don’t need). The problem is that the combination of network transfer and processing of this superfluous data is adding more latency to the transaction which we’re ultimately trying to trim down. If I could remove this one API call things would speed up drastically.

Is there another developer forum for Binance.us devs?