BreezeConnect is the official JavaScript client library for ICICI Securities trading APIs. Version 1.0.31 provides REST-like APIs for order execution (real-time), portfolio management, historical market data (up to 10 years including 1-second OHLCV), streaming live OHLC via WebSockets, and option chain data. It requires an API key and session token obtained via ICICI Direct's login portal. Compared to other trading SDKs, it offers deep integration with ICICI's regulatory framework (static IP, order limits, no market orders). The package is ES6+ with Promises, supports Node.js, and has a moderate release cadence.
npm install breezeconnectNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize BreezeConnect, generate session, fetch funds, and subscribe to WebSocket ticks.
Register your static IP with ICICI Direct before placing orders.
Use limit or stop-loss orders only.
Throttle order placement, modification, cancellation, and square-off to under 10 per second.
Place these orders manually through the ICICI Direct platform.
Visit https://api.icicidirect.com/apiuser/login?api_key=YOUR_API_KEY in a browser, then pass the session token from the URL parameter.
new BreezeConnect({ appKey: '...' })const { BreezeConnect } = require('breezeconnect');Ensure BreezeConnect constructor is called with { appKey: '...' } and session is generated before API calls.Use encodeURIComponent(appKey) in login URL and verify key.
Re-obtain a fresh session token from the login URL.
No dependency data recorded yet.