Interactive Brokers’ Client Portal API utilizes a HTTP structure alongside a localhost client to manage requests for market data, orders, and account management.
The Client Portal API is primarily targeted towards developers looking to create custom user interfaces with some trading and market data capabilities. It is not aimed at users looking to automate, at scale, common operations done through other platforms. For users looking to develop solutions that require a high throughput of requests, for example placing dozens of orders at a time, or subscribing to large amounts of market data, we recommend the TWS API instead.
The gateway is built utilizing a java-based client for Authentication through a web browser. After initial authentication, all requests may be sent using a standard request structure through the localhost connection to transmit information.