Interactive Brokers Portfolio API
Portfolio positions and account summaries
Interactive Brokers Portfolio API is one of 7 APIs that Interactive Brokers publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Portfolio. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 2 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.
Requests are made against a single base URL, https://localhost:5000/v1/api.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Interactive Brokers Portfolio API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (oauth2) using the authorizationCode flow.
By default, every request must be authenticated.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
Portfolio positions and account summaries
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Position (8 properties), AccountSummary (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Interactive Brokers 6
Other APIs Interactive Brokers publishes across the network.