For a SPOT wallet, I can get all balances of the wallet by making a request to https://api.binance.com/sapi/v1/capital/config/getall (with correct api key, signature etc.).