I have a bot connected to Binace by API RES
If I obtained several deposits in my BTC wallet, from some of my clients. How can I know the value of each deposit in usd? Is there any endpoint to help me with this? or is there any other way using t Binance API?
There’s no direct endpoint to convert the received value into USD, needs to be done on your local end.
You can calculate the value of the assets in USDT using the ticker price endpoint and then find the rate from USDT to USD or use binance.us api endpoint to know the assets in USD, ex: https://api.binance.us/api/v3/ticker/price?symbol=BTCUSD