Find out the margin in a cross position

I need to capture the margin of a position and the idea is to make the least amount of queries to Binance.
If the pair is set to isolated, with the ACCOUNT UPDATE event I obtain the isolated_wallet field that gives me the margin. But if the pair is set to cross, I can’t find any event that sends me the margin of that position.
The only solution in that case would be to consult the position to Binance?

Hello,
please use Futures Testnet to explore the possibilities of when using a cross position. The API keys is available at the Testnet Futures website, under “API key” tab and the WS Stream URL for the testnet can be found at testnet section of the API doc: Binance API Documentation.