Total Margin Shown on Web Is Not Returned by API

The total margin shown on the web platform (₹1.9L) is not returned by the API. Is there a way to calculate it, or can it be retrieved through the API?

WEB

API

@FYERS-Team could you please provide the information?

Thanks for sharing the details, @tejas_joshi. I’m personally following up with the team on this. Please give us some time, and I’ll update you soon.

Hi Tejas Joshi
You can use Multi Margin API https://myapi.fyers.in/docsv3#tag/Margin-Calculator/paths/~1MarginCalculator/get.
Please DM me or Team for any further clarification.

@ZsZX7vHQju Getting this error

Hi Tejas

Looks like host name in URL used is older one. You can find correct one in document link shared in previous message.

Please feel free to DM me, if doesn’t work. Happy to help you

Yes it worked. But the margin still seems to be little different. I am not able to DM you showing some error, could you please send me a message.

Hi Tejas,
I hope it’s clarified in the DM (shared by @ZsZX7vHQju). Please let me know if you need any further clarification. Thank you

Hey, it is available in API too, but the way it is calculated is a bit different. I’m told the team has explained this to you personally.