India · NSE, BSE and MCX

Indian broker API integration

Your strategy, running through your Indian broker's official API. Zerodha, Angel One, ICICI Direct, Kotak, 5paisa, Motilal Oswal, Groww and more: eleven brokers we have built on, each with its own login flow, order types and limits handled properly. Built to your rules, quoted as a fixed fee in INR.

Since 2012 · Mumbai and Surat · 350+ projects

Why the official API matters in India

Automating on Indian markets means connecting through your registered broker's own API, within SEBI's framework and the broker's terms. That is the route every broker on this page supports, and it is the only route we build on. No browser automation, no unofficial endpoints, no workarounds that break the first time the broker changes a login page. Most brokers charge for API access or require a registration step for algorithmic orders; we tell you what applies to yours before you commit to anything.

The eleven brokers, and what each one asks of the code

Every Indian broker API is a little different. These are the ones we have delivered on, with the engineering note that matters most for each.

Zerodha Kite Connect
REST and WebSocket. Every trading day starts with a login that issues a fresh access token, so an unattended system needs a token routine before the open. Product types MIS, CNC and NRML, GTT orders, and per-second rate limits that the order layer has to respect.
Angel One SmartAPI
REST and WebSocket streaming across NSE, BSE and MCX. Login is TOTP-based per session; order book, trade book and positions are read back after every order rather than assumed.
ICICI Direct Breeze API
REST and WebSocket for equities, F&O and currency. A session token per day, and a symbol-mapping step between ICICI stock codes and exchange symbols that trips up first-time integrations.
Kotak Securities Kotak Neo API
REST and WebSocket on the Neo platform for equity and F&O, with an MPIN and TOTP login flow. Order modification and cancellation behave slightly differently from the older Kotak API, so the connection layer is written for Neo specifically.
5paisa 5paisa Open API
REST with JSON payloads and a TOTP login, covering equity, F&O and commodity. Straightforward order placement; the work is in position reconciliation and handling the auto square-off window for intraday products.
Motilal Oswal MOFSL Open API
REST and WebSocket with an API-key and daily authentication step. Equity and F&O order flow, with the usual Indian-market specifics: product type, lot size and expiry handled in code.
Groww Groww Trading API
REST with an access-token flow for equities and F&O. A newer API, so the connection layer is kept thin and versioned, and every order is confirmed from the order book rather than from the response alone.
Sharekhan REST (JSON) API, or the NEST platform
Depending on the account setup we build through Sharekhan's REST API with a daily session, or through the NEST trading platform the broker provides. Both routes have been delivered.
MasterTrust REST (JSON) API, or the NEST platform
Connectivity through the broker-supplied REST API or the NEST platform, chosen with the client according to how their account is set up. Equity and F&O order flow with per-account risk limits.
Jainam REST (JSON) API, or the NEST platform
Same pattern: the REST API where the account has it, NEST connectivity otherwise. The strategy layer is identical either way; only the connection layer changes.
Interactive Brokers India TWS API and IB Gateway
The same API as global IBKR, so the engineering on our Interactive Brokers page applies: pacing limits, nightly Gateway resets, event-driven order updates. NSE access through an IBKR India account.

What we build on them

The same chain as any system we build: your logic exactly as you wrote it, order placement and management through the broker, risk limits enforced in code before an order leaves, and execution that runs without a manual step unless you want one. Plus the parts that are specific to Indian markets:

  • Daily session and token expiry. Most Indian broker APIs invalidate the session at the end of the day; a system that runs unattended has to renew before the open, not fail at 9:15.
  • Exchange sessions and holidays. NSE and BSE hours, the MCX evening session, muhurat trading, and the holiday calendar, all in the scheduler rather than in your head.
  • F&O specifics. Lot sizes, weekly and monthly expiries, strike steps, and freeze quantities that force a large order to be split.
  • Product types and square-off. MIS versus NRML versus CNC, and the broker’s intraday auto square-off window, which your exit logic has to beat.
  • Rate limits and order modifications. Each API has its own limits per second and per day; the order layer queues and paces rather than getting throttled mid-session.
  • Streaming ticks that reconnect. WebSocket feeds drop; the data layer reconnects, re-subscribes and marks the gap so a stale price never drives an order.

Small or large

One strategy on one of these brokers, rules already written down, is a starter build: about ten days, fixed fee. Several strategies, several accounts or two brokers in one system is a multi-broker platform. Either way the brief is the same six things, and our guide to what a custom trading bot costs explains what moves the quote. The wider India picture, markets and who we build for, is on the India page; the parent service is broker API integration.

Common questions

Is algo trading allowed for retail traders in India?
Automating your own trading through your registered broker's official API is a normal, broker-supported activity within SEBI's framework and your broker's terms, including any registration or approval your broker requires for algorithmic orders. We are the technology partner that builds it. We do not advise you on what to trade, and every decision stays yours.
Which Indian brokers have an API you can build on?
The eleven on this page are the ones we have delivered on: Zerodha, Angel One, ICICI Direct, Kotak Securities, 5paisa, Motilal Oswal, Groww, Sharekhan, MasterTrust, Jainam and Interactive Brokers India. Others with an official API are usually possible; ask.
Do I need my broker’s paid API plan?
Where the broker charges for API access, yes, that subscription is yours and sits outside our fee. Some brokers provide the API free. We tell you which applies before you commit, and we never build on browser automation or unofficial endpoints as a way around it.
Can one system trade through two Indian brokers?
Yes. The strategy layer is the same; each broker gets its own connection layer with its own login, limits and reconciliation. That is a platform build rather than a starter, and the multi-broker platform page describes it.
How do you quote and invoice for Indian clients?
A fixed fee for an agreed scope, quoted in INR, with a GST invoice from Trade Vectors LLP. The same six-point brief as any project gives us what we need for the quote.

More questions →

start here

Tell us your broker and your rules.

Market, broker, rules in plain words, timeframe, data, and the budget you have in mind. A fixed quote in INR usually follows within two working days.

Send your brief