IBKR 3rd Party Web API
The IBKR 3rd Party Web API offers OAuth‑based access to Interactive Brokers brokerage data and trading functions, enabling retrieval of account information, positions, trade history, market data snapshots, and security definitions, as well as the ability to place, modify, cancel orders and query margin impact.
Latency
2135ms p95
Uptime
100.0% 30d
Playground
Verified
live
Endpoints
/oauth/live_session_token
Obtain a live session token
/oauth/request_token
Obtain a request token
/secdef
Get security definition
/accounts
Brokerage Accounts
/accounts/{account}/order_impact
Return margin impact info
/accounts/{account}/orders
Open Orders
/accounts/{account}/orders
Place Order
/accounts/{account}/orders/{CustomerOrderId}
Cancel Order
/accounts/{account}/orders/{CustomerOrderId}
Return specific order info
/accounts/{account}/orders/{CustomerOrderId}
Modify Order
/accounts/{account}/positions
Account Positions
/accounts/{account}/summary
Account Values Summary
/accounts/{account}/trades
Returns trades in account
/marketdata/exchange_components
Exchange Components
/marketdata/snapshot
Market Data Snapshot
/oauth/access_token
Obtain a access token
16 endpoints auto-detected
Authentication
This API uses an API key, passed in the "portal" header. No OAuth required.
curl -X POST \ "https://www.interactivebrokers.com/tradingapi/v1/oauth/live_session_token" \ -H "portal: YOUR_API_KEY"
www.interactivebrokers.com · HTTPS only