The most advanced API for Traders
Ultra fast algo trading
for both beginners and pro traders.
Low Latency, High performance APIs. Smart Algo trading to find better trades.Low Latency, High performance APIs. Smart Algo trading to find better trades.
Industry leading cutting-edge Algo suite
& AI automation capabilities
Order Management API
Execute trades at warp speed, modify orders on the fly, and seize every market opportunity.
Portfolio/Holdings API
Ditch the guesswork! Get granular, real-time insights into your entire investment universe across all segments. Your data, your control.
Historical Data API
Dive deep into market trends with up to a year of rock-solid historical data. Power your backtesting, fuel your strategies.
Real-time market
data & insights
Tick-by-Tick Data
Accurate OHLC data for indicator mapping, pattern recognition, and reliable price triggers.
Market Depth
A detailed view of the buy and sell orders for a particular asset at various price levels.
Option Chain with Greeks
Delta, Gamma, Theta, and Vega to predict price changes.
curl --location 'https://api.indstocks.com/market
/quotes/full?scrip-codes=NSE_3045'
--header 'Authorization: YOUR_ACCESS_TOKEN'
curl --location 'https://api.indstocks.com/market/quotes/ltp
?scrip-codes=NSE_3045'
--header 'Authorization: YOUR_ACCESS_TOKEN'
curl --location 'https://api.indstocks.com/market/quotes/mkt
?scrip-codes=NSE_3045'
--header 'Authorization: YOUR_ACCESS_TOKEN'All-in-one suite. Built for flexibility.
Build trading automations
Easily automate trading — no heavy coding needed
Easy to understand documentation
Built with devs in mind — clear, practical documentation
Manage portfolios
Complete set of APIs for portfolio and account management
curl --location 'https://api.indstocks.com/portfolio
/holdings'
--header 'Authorization: YOUR_ACCESS_TOKEN'
curl --location 'https://api.indstocks.com/portfolio
/positions?segment=derivative&product=margin'
--header 'Authorization: YOUR_ACCESS_TOKEN'Trade faster. Risk less.
Market, Limit, SL & SL-M orders
Market orders prioritize speed—they execute immediately
Place & cancel multi orders with Auto-slicing
New order slicing feature solves this problem automatically
GTT & Trailing Stop-loss
You can place a long-standing trailing stoploss order using GTT
curl --location 'https://api.indstocks.com/smart/order'
--header 'Authorization: YOUR_ACCESS_TOKEN'
--header 'Content-Type: application/json'
--data '{
"txn_type": "BUY",
"exchange": "NSE",
"segment": "DERIVATIVE",
"product": "MARGIN",
"order_type": "LIMIT",
"validity": "DAY",
"security_id": "51011",
"qty": 75,
"limit_price": 37,
"sl_trigger_price": 34,
"tgt_trigger_price": 41,
"sl_limit_price": 33,
"tgt_limit_price": 38,
"algo_id": "99999"
}'FAQs
Who can use INDstocks APIs?
INDstocks APIs can be used by:
- Individual Traders & Investors - Anyone with an INDstocks account and completed KYC verification can access the APIs
- Algorithmic Traders - Build and deploy automated trading strategies with advanced order types
- Fintech Developers - Integrate trading capabilities into financial applications
- Trading Platform Users - Connect INDstocks to algo platforms like Tradetron for automated trading
- Institutional Traders - Enterprise-grade APIs suitable for institutional platforms
- Quant Traders - Access historical data and real-time market feeds for backtesting and strategy development
The API is free to access with no subscription fees — you only pay ₹5 flat brokerage per order.
Why should I use INDstocks APIs?
Key Benefits:
- Free API Access - No subscription fees or API charges, only ₹5 per order brokerage
- High Performance - Sub-20ms latency for order execution
- Real-Time Data - WebSocket streams for live market data and order updates
- Comprehensive Coverage - Multi-exchange support (NSE, BSE) and all asset classes (Equity, Derivatives, Options, Futures)
- Advanced Trading Features - Smart Orders (GTT) with multi-leg strategies, OCO support, and automated stop-loss/target execution
- Enterprise-Grade Security - Token-based authentication with encryption in transit
- Developer-Friendly - RESTful APIs with JSON responses, extensive documentation, and code examples in Python, JavaScript, and cURL
- Transparent Pricing - Flat ₹5 per order with no hidden costs
What types of APIs does INDstocks provide?
NDstocks provides a comprehensive suite of RESTful APIs organized into these categories:
User Management & Authentication
- User profile and account details
- Funds and margin information
Market Data APIs
- Real-time market quotes (full quotes, LTP, market depth)
- Historical OHLCV data with multiple intervals
- Instruments master data (CSV download)
Order Management
- Place, modify, and cancel orders
- Order book and trade history
- Support for multiple order types (LIMIT, MARKET, STOP_LOSS, etc.)
Smart Orders (GTT)
- Multi-leg trading strategies
- Automated stop-loss and target orders
- OCO (One-Cancels-Other) support
Portfolio & Risk Management
- Holdings and positions tracking
- Real-time P&L calculations
- Margin calculations for orders
WebSocket Streaming
- Live market data streaming
- Real-time order updates
- Portfolio change notifications
Utility APIs
- Option chain data
- Greeks calculations (Delta, Gamma, Theta, Vega)
- Available expiry dates
Can I integrate INDstocks Trading API into my trading platform?
Yes, absolutely! You can integrate INDstocks APIs in two ways:
Option 1: For no-code and ready-made algo strategy users
- Visit our algo partner website here
- Sign-in using your Google account
- Click photo icon on top right → Broker & Exchanges → Add Broker → Select INDmoney as Broker → Click on ‘Generate Access Token’
- Login to your INDmoney account → New Token → Copy Token
- Paste your token in the ‘Access Token’ field on Tradetron, click ‘Save’ and start trading!
Note: No need for static IP address for Tradetron orders once you select INDmoney as a broker
Option 2: For custom-code strategy development
Route 2A: Use OpenAlgo for simple environment configuration
Route 2B: Build your own trading application using our REST APIs
- Available in any programming language (Python, JavaScript, Java, etc.)
- Comprehensive documentation with code examples
- Deep integration capabilities for order execution, market data, and portfolio management
- WebSocket support for real-time updates
Note:
- Static IP Whitelisting is necessary for placing live API orders. Read more on what, why, and how to get a Static IP
- Once you have a static IP, you can easily whitelist it as well as generate access/auth token by logging in into INDstocks Algo Trading Portal and visiting 'Access Tokens'
What are the prerequisites for accessing INDstocks API?
Before you can access the INDstocks API, you need:
✅ An INDstocks account – Sign up at indstocks.com (free registration)
✅ Completed KYC verification and F&O onboarding – Required by SEBI regulations for trading in Indian markets
How do I get access to INDstocks API?
Getting access is quick and simple:
Step 1: Create Your Account
- Sign up at indstocks.com
- Complete your KYC verification (SEBI requirement)
Step 2: Get Your Access Token
- Log in to your INDstocks account
- Click on ‘Algo Trading’ button on the left panel or visit indstocks.com/app/api-trading
- Click “Generate Token”
- Copy your access token
Step 3: Start Using the API
For developers: Use the token in your API requests (see Getting Started Guide)
For algo platforms: Paste the token into your platform’s broker integration settings
Note:
- Static IP Whitelisting is necessary for placing live API orders. Read more on what, why, and how to get a Static IP here
- Once you have a static IP, you can easily whitelist it by logging in into INDstocks Algo Trading Portal and visiting 'Access Tokens'
- Static IP is not required for Tradetron orders once you connect INDmoney as a broker
Is there a minimum investment amount?
For API Access:
No minimum investment is required to access the APIs. You can generate your access token and explore the APIs even with zero balance.
For Trading:
You need sufficient funds in your account to place actual trades:
The minimum depends on the specific stock or instrument you want to trade
For equity delivery (CNC), you need funds to buy at least 1 share
For intraday (INTRADAY) or derivatives (MARGIN), margin requirements apply based on the instrument
Brokerage: ₹5 flat per order, regardless of order size
Recommendation:
Start with small quantities to test your integration before scaling up to larger trades.