What is the api call to convert ETH to XLM at market price?

Hi all, I am new to binance api, what is the api call to convert ETH to XLM at market price in one call? if it can not be done in one call, what is the best api calls to complete the order?

Thanks

Hi.
There is no conversion API provided, but you can place a MARKET SELL order with symbol XLMETH to achieve it.
POST /api/v3/order https://binance-docs.github.io/apidocs/spot/en/#new-order-trade