Trying to get the balance from testnet

hello. I am a newbie in algorand and I am trying to get the balance for the testnet. I have done some transactions by dispenser and i do have some amount in the testnet account. However, as I try to get the balance by let rawBalance = await reach.balanceOf(account.current), it shows an error as GET net::ERR_FAILED
Does anyone know how to deal with this problem? Thank you

The endpoint is deprecated:
AlgoExplorer API v2

You need to use the new endpoints.
Note however that /v2/accounts us no more supported by algoexplorer API.
You either need to use the indexer equivalent endpoint or use another API provider.

For example: works