Is there any API supported for getting exchange rate from fiat to crypto ?

Found that from UI part we having a buy/sell from fiat to crypto.
Is there any API support to get the rate ?

You can’t query a coin’s value in USD (fiat), but you can obtain the value in USDT (stable coin, with price close to fiat) by using https://binance-docs.github.io/apidocs/futures/en/#symbol-price-ticker .