The most advanced API for Traders

Ultra fast trading
APIs for pro traders.

Low Latency, High performance APIs built for active traders. Leverage smart Algo trading to find better trades.

WEBSOCKET LATENCY
<20
MS
API RESPONSE
<20
MS
MODIFICATIONS
25
Orders
DATA APIs
10
Request/ sec


Industry leading cutting-edge API suite
& AI automation capabilities

Order Management API

Execute trades at warp speed, modify orders on the fly, and seize every market opportunity.

img

Portfolio/Holdings API

Ditch the guesswork! Get granular, real-time insights into your entire investment universe across all segments. Your data, your control.

img

Historical Data API

Dive deep into market trends with up to a year of rock-solid historical data. Power your backtesting, fuel your strategies.

img

Live Market/Order Updates

Experience data at the speed of light. Stream real-time market feeds directly to your applications. Stay ahead, always.

img
ACCURATE & RELIABILITY

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'
AUTOMATE TRADING

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'
ADVANCED ORDER TYPES

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:

  1. Free API Access - No subscription fees or API charges, only ₹5 per order brokerage
  2. High Performance - Sub-20ms latency for order execution
  3. Real-Time Data - WebSocket streams for live market data and order updates
  4. Comprehensive Coverage - Multi-exchange support (NSE, BSE) and all asset classes (Equity, Derivatives, Options, Futures)
  5. Advanced Trading Features - Smart Orders (GTT) with multi-leg strategies, OCO support, and automated stop-loss/target execution
  6. Enterprise-Grade Security - Token-based authentication with encryption in transit
  7. Developer-Friendly - RESTful APIs with JSON responses, extensive documentation, and code examples in Python, JavaScript, and cURL
  8. 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 Algo Platform Users (e.g., Tradetron)

  1. Get your access token from indstocks.com/app/api-trading
  2. Connect to your algo platform by selecting “INDmoney” as your broker
  3. Paste your access token and start trading

Option 2: For Custom Integration (Developers)

  1. Build your own trading application using our RESTful APIs
  2. Available in any programming language (Python, JavaScript, Java, etc.)
  3. Comprehensive documentation with code examples
  4. Deep integration capabilities for order execution, market data, and portfolio management
  5. WebSocket support for real-time updates
  6. The API uses standard RESTful conventions with JSON payloads, making it easy to integrate with any platform or application.

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

  1. Sign up at indstocks.com
  2. Complete your KYC verification (SEBI requirement)

Step 2: Get Your Access Token

  1. Log in to your INDstocks account
  2. Go to indstocks.com/app/api-trading
  3. Click “Get Started with INDstocks APIs” or “Generate Token”
  4. 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

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.