Querying Equity and Margin
The /portfolio/{accountId}/summary endpoint delivers a wide variety of values related to an account’s equity, margin use, and accrued balances.
Values are presented in aggregate form for the entire U-account (“universal account”), as well as diasaggregated by the account’s underlying regulatory segments (for instance, the securities segment versus commodities segment, which holds futures products).
Example request:
GET https://api.ibkr.com/v1/api/portfolio/{accountId}/summary
Successful response:

