How to get all positions(not yet closed) in Futures?

Hi guys,

I can’t find any existing endpoint for retrieving ordered/positions on binance api. I tried to call the get all orders but it also displays other closed positions.

I s there any endpoint that only retrieve current/not yet closed positions?

For SPOT you can use the Account Information endpoint to obtain your positions

https://binance-docs.github.io/apidocs/spot/en/#account-information-user_data