Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Interactive Brokers Orders API

Order placement and management

Interactive Brokers Orders 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 Orders. 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 3 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.

2 operations 2 paths 3 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://localhost:5000/v1/api
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Interactive Brokers Orders 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 — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Orders 2

Order placement and management

POST
/iserver/account/{accountId}/orders
Place an order
placeOrder 1 param body → 200
GET
/iserver/account/orders
Get live orders
getLiveOrders → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are OrderRequest (6 properties), LiveOrders (2 properties), OrderResponse (2 properties). Each schema is shown below with its type and property counts.

OrderResponse
object
2 properties
OrderRequest
object
6 properties
LiveOrders
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

interactive-brokers-orders-api-openapi.yml Raw ↑

Other APIs Interactive Brokers publishes across the network.

Interactive Brokers Client Portal API
Interactive Brokers Accounts API
Interactive Brokers Contracts API
Interactive Brokers Market Data API
Interactive Brokers Portfolio API
Interactive Brokers Sessions API