How to convert crypto asset to USD ?

Hello there!

I would like to convert crypto assets to USD, is there any API in Binance. or any alternative solutions ?

ex:
1 ETH ---- 3094.44 USD
1 BTC ---- 46920.52 USD

Do you want the value of the asset in USD, or do you want to sell them to obtain USD?

want to value of the asset in USD @tantialex

Unfortunately this is not possible via the Binance API.

If you do not require a 100% accurate measurement, you can use the last price of a stable coin pegged with USD (ex. BUSD, USDT, TUSD…) using the Price Ticker endpoint (https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker).

To reiterate, this is not 100% representative of value of the asset in terms of the USD fiat currency.