IIFL API Algo Trading
IIFL automation means a custom program that trades your IIFL Capital account through the official IIFL Markets API. It follows the rules you set. Our ready-made Indian apps cover ten brokers, but IIFL is not on that list, so IIFL API algo trading is built to order here, starting with a check of your account’s API access.
The program runs from your own PC or VPS, using your IIFL app key. You operate it each day, while we write and hand over the code. AlgoDevelop builds software and holds no SEBI registration as an intermediary. We offer no tips or advice, and IIFL keeps your funds.
On this page
- What IIFL API algo trading means
- What the IIFL Markets API offers
- The daily IIFL login
- IIFL rules worth knowing
- Why IIFL needs a custom build
- What we build for IIFL
- What we check before quoting
- The static IP rule for IIFL API algo trading
- How IIFL automation gets built
- Where you stand
- Frequently asked questions about IIFL API algo trading
What IIFL API algo trading means
The software uses the session you open each day and watches your chosen prices. When your condition is met, it sends the order to IIFL’s order API. Each order lands in your IIFL order book, carrying both an IIFL order ID and an exchange order ID.
Signals can come from TradingView, Telegram, WhatsApp or a rule inside the code. Before any order leaves, your own limits check it. IIFL’s pre-order margin call can show whether its risk system would accept the order.

What the IIFL Markets API offers
IIFL Capital, the broker behind the IIFL Markets app, publishes its trading API on a developer portal. Its docs also say it serves retail traders and fintech platforms. The API covers these calls:
- Place, modify and cancel orders, with an order book and a trade book.
- Positions, holdings, limits and pre-order margin.
- Live quotes, market depth and historical candles.
- Instrument files for each exchange and segment, open to anyone.
IIFL’s FAQ describes access this way: clients log in to the portal with their trading account details and create an app. For some accounts, the app key and secret come from your IIFL relationship manager instead. The same FAQ says the APIs are free for individual traders. Still, we check the current terms for your account before we quote.
The daily IIFL login
IIFL asks for a fresh login every trading day. You sign in with your password and an OTP or TOTP. IIFL then hands back a code, and the software turns it into a session token with your app secret.
The IIFL session token stays valid only until midnight, and NSE’s standards log every API session out before the next trading day anyway. A custom build keeps the daily login short and tells you plainly when a session has expired.

IIFL rules worth knowing
IIFL’s docs also set a few limits, and they shape any setup:
- Four order types: limit, market, SL and SL-M. A market order carries a market-protection percentage, and a build sends one only where IIFL still accepts it through the API.
- Ten orders a second for algos that are not registered with the exchange, and 20 for registered ones.
- Product conversion: IIFL’s docs list a position-conversion call, intraday to delivery and back. We confirm it works for your account before your rules rely on it.
- Live data needs a bridge: the market data stream runs through IIFL’s own bridge package.
Broker limits checked against IIFL’s docs on 4 Nov 2026.
Why IIFL needs a custom build
Our two ready-made Indian apps were built around ten other brokers, so they cannot log in to IIFL. Here, IIFL work means code written for the IIFL Markets API and your account alone.
Have a second account at Groww, Zerodha, Upstox, Dhan or Angel One? A ready-made app may already cover it. Compare our Telegram app and TradingView app, or browse all supported Indian brokers.
What we build for IIFL
Every IIFL API algo trading project starts from your brief. Depending on what it asks for, a build can include:
- A custom IIFL API integration, built to your spec.
- Strategy logic that reads IIFL’s own price feed and candle history.
- Regular, after-market, bracket or cover orders, on the segments your account trades.
- Lot-based sizing, since IIFL rejects any quantity that is not a multiple of the lot, plus your square-off rules.
- Triggers from IIFL’s own market feed, or from Telegram, WhatsApp and TradingView signals.
- Complete source code and notes on your IIFL app setup, yours to keep.
Each build comes with limits you pick: a daily order cap, size ceiling and open-position cap. It also keeps your trading hours, a kill switch and a set square-off time. Every order can carry an algo ID and a tag, so you can trace it later.

What we check before quoting
Our quote follows a check of these points, with you and against IIFL’s current docs:
- Whether you can sign in to IIFL’s developer portal and create an app.
- Which segments and products your account can trade.
- How your daily login will work in practice.
- Which primary and secondary static IP you will enter in that app.
- Rate limits, and any charges the broker sets.
If IIFL’s API cannot handle part of your plan, we tell you so before you pay. For broker API work beyond IIFL, see broker API bridge development.

The static IP rule for IIFL API algo trading
SEBI’s circular on safer retail algo trading has covered API orders at every broker since 1 April 2026. That start date comes from SEBI’s circular of 30 September 2025. The framework lets a broker accept them only from a registered static IP, and NSE’s implementation standards (NSE/INVG/67858) set how that works, including a change at most once a calendar week. IIFL builds this into app creation, where the primary static IP is a required field. So your software has to run on the machine that owns that address, often a Windows VPS.
The same app form takes an optional secondary static IP. We confirm both addresses with you ahead of the first live order.
How IIFL automation gets built
- Tell us the plan. Share your IIFL strategy, segments and order types by WhatsApp or on our contact page.
- Scope and price. We match the plan against IIFL’s API docs and rate limits, then send a fixed quote.
- Code and test. Where the plan allows, we backtest on IIFL’s historical candles and send updates as the work progresses.
- You review it before anything goes live.
- Handover. You get the finished app and a walkthrough of the daily IIFL login. We help with any tweaks later.

Where you stand
Your IIFL account, app key and rules make every trade your own, placed with your money. AlgoDevelop does not operate the software, send trade calls or promise any result. Any trade can lose money, and past results do not predict future ones.
Under NSE’s standards, software that runs your own rules from your own registered static IP is a client-generated algo. Strategies sold or run by a provider follow different rules, such as broker hosting and provider empanelment. Trading on behalf of others is a separate case under Indian rules. IIFL itself reviews and approves fintech platforms before they get API access. Any SEBI or exchange approval this needs is yours to obtain. If unsure, get qualified advice, or read the legal position of copy trading in India.
Other Indian brokers we automate
- Sharekhan automation: another custom-only broker.
- 5paisa automation: Xstream, in both ready-made copiers.
- Fyers automation: also one of the copiers’ ten brokers.
- Indian stock market automation: one strategy across several brokers.
Frequently asked questions about IIFL API algo trading
Is IIFL in the ready-made copiers?
No. The copiers’ ten brokers don’t include IIFL, so IIFL work is written directly against the IIFL Markets API.
Does IIFL offer a trading API to retail clients?
Yes. IIFL Capital’s developer portal says its APIs serve retail traders and fintech platforms, with calls for orders, positions, holdings and market data.
Do I need IIFL API access?
Yes. You register an app on IIFL’s developer portal, which issues its app key and secret. Our software uses those on your own machine.
Does IIFL API algo trading need a daily login?
Yes, once each trading day. A token made in the evening stops working at midnight, so it is no use the next morning.
Why does IIFL automation need a static IP?
Under SEBI’s framework, live since 1 April 2026, brokers take API orders only from a registered static IP. At IIFL, you enter that IP while creating your app, so the software must run from that address.
Do you supply trading signals or operate my IIFL account?
No. AlgoDevelop writes the software to your brief, and that is where our part ends. You hold the IIFL login, so you run the account, and we send no signals or advice.
Do I own what you build?
Yes. At handover you get every source file and the docs. You then run the app on your own computer, with your IIFL app key.
What about SEBI compliance?
Below 10 orders a second, NSE’s standards don’t require your own algo to be registered separately, and IIFL’s docs allow 20 a second once it is. Our role is the software alone, so SEBI and exchange compliance stays with you.
How much does IIFL automation cost?
The price turns on two things: your strategy and what IIFL’s API supports for it. See pricing, or send us the details for a fixed price: request an IIFL quote.