Futures MarkPrice / IndexPrice Calculation problem

The method of calculating the value of Mark Price / Index Price in the futures market is provided at “https://www.binance.com/en/support/articles/360033525071”.

Is the futures market API the same as the value provided at “https://binance-docs.github.io/apidocs/futures/en/#mark-price” ?

Yes, GET /fapi/v1/premiumIndex is the correct endpoint returns the mark price.