Motilal Oswal API (Algo Trading) Review

Motilal Oswal Logo

-0.24%9,01,868 Clients

Motilal Oswal Open API is a REST-based trading interface that allows developers and traders to build custom trading and investment applications. The API enables seamless execution of trades, access to market data, and portfolio management through secure endpoints. It supports both retail and advanced users looking to automate strategies or integrate trading functionalities into their platforms.

Motilal Oswal API Features

  • Multi-Segment supported: Trade and/or invest in equity (NSE and BSE), commodity (MCX) and currency segments.
  • Order & Trade management: Place (market, limit, and stop-loss orders), modify and cancel orders.
  • Fetch your order and trade book.
  • Market Data: REST market data (i.e., Last traded price, OHLC, volume, Bid/ask price, etc.) and WebSocket streaming data (i.e., Tick-by-Tick streaming data, live price updates, etc.)
  • Historical data access like intraday historical candle data, option chain history, etc.
  • Monitor your portfolio holdings, positions, funds used & balance available, etc.

Motilal Oswal API Details

API Brokerage Charge

Free API Access

API Document Linkhttps://invest.motilaloswal.com/moAPI/APIDocumentation/Introduction
API Data Format

Restful API and JSON (Python, Java, PHP, Node JS, C#, .Net, Go, Rust)

API Offer Type
  • Trading API
  • Market Data API
  • WebSocket API
  • Portfolio API
  • Historical Data API
API Exchange Support
  • Equity (NSE & BSE)
  • Equity Derivatives (NSEFO)
  • Currency Derivatives (N
API OS Support

Windows, Linux, and macOS

API Support Features
  • Order management (Place, modify, and cancel)
  • View Portfolio Holdings & Positions
  • Manage Funds
  • Real-Time Rest & WebSocket Data
  • Historical Data (Intraday candles, OHLC data, etc.)
API Third‑Party Tools

Tradetron, Cirrus, and Quantiply

API Order Types
  • Market Order
  • Limit Order
  • Stop-loss
  • Stop-loss Market (SL-M)
  • AMO (After Market Orders)
  • IOC (Immediate or Cancel)
  • Advanced orders (if supported): Basket, GTT, OCO (via strategy layer)
API Supporttradingapi@motilaloswal.com

Motilal Oswal API Brokerage Charge

Motilal Oswal provdes fee API access - without any additional charges or fee.

Motilal Oswal API Rate Limit

Order API

Create, modify, and cancel orders

Upto 40 transactions/second

Other Rest API Calls

Non-trading

Two calls/second

Interactive API Calls

Get Masters

1 API request/second

Get Quotes

1 API request/second

Get OHLC

1 API request/second

Search by instrument ID

1 API request/second

Motilal Oswal API Key

Below is a step-by-step guide to get access and start using the Motilal Oswal API.

  • Step 1: Log in to the Motilal Oswal API Dashboard and log in using your trading account credentials.
  • Step 2: Click Create an API key app.
  • Step 3: Enter details like AP Type (Trading API) and App Type (Web).
  • Step 4: Once submitted, you’ll get an API Key and Secret.
  • Step 5: Send the API key details to tradingapi@motilaloswal.com with Subject as “Live Enable JSON API”.
  • Step 6: Generate a TOTP key for 2FA for daily token generation.

Note: API users must manually generate a new access token every day, ideally between 8:35 AM and 9:00 AM.

Motilal Oswal API Types Offered

Trading API

MO Trading API is used to place and execute trades across exchanges. The API allows you to place different types of orders (Market, Limit, Stop Loss, and Stop-loss market orders), modify and/or cancel orders, view your order book, manage portfolio, and more.

Market Data API

Get real-time and historical market data via Market Data API. This provides live updates on stock price LTP, OHLC (Open, High, Low and close) data, volume, indices and option chain data.

WebSocket API

Get real-time streaming data with tick-by-tick price and market depth updates. Ideal for high-frequency traders and scalpers.

Portfolio API

It is used to fetch your account and portfolio information like holdings, positions, funds & margins, trade history, and ledger.

Historical Data API

Get historical price data including daily OHLC data, intraday historical candles, and derivative data.

Motilal Oswal API Support

API Activation & all technical support is available on tradingapi@motilaloswal.com. Other general queries like login issues and technical errors can be resolved by writing an email at assist@motilaloswal.com and query@motilaloswal.com.

Alternatively, you can also raise a support ticket for reporting API errors and activation requests.

Conclusion

Motilal Oswal Financial Services Open API provides a comprehensive and developer-friendly platform for building trading and investment solutions. It supports multiple asset classes such as equities, commodities, and currencies, making it suitable for a wide range of users—from retail investors to advanced algorithmic traders.

With features like real-time market data, WebSocket streaming, historical data access, and complete order and portfolio management, the API enables efficient and automated trading experiences. Its compatibility with multiple programming languages and operating systems further enhances flexibility for developers.

Additionally, the API is offered free of cost, with reasonable rate limits and integration support for third-party platforms. Although it requires daily token generation for security, the overall setup process is straightforward.

Motilal Oswal Special Offer

FREE Account Opening (for a limited time only)

  • ₹0 Account Opening Charges - Free
  • ₹0 Brokerage up to ₹1000 for the First 30 Days
  • ₹0 AMC & charges for the 1st Year
  • Free F&O brokerage for 1st Month
  • Futures: 0.02% brokerage| ₹20/lot on Equity and currency F&O
  • Dedicated Personal advisory and research.

Open FREE Demat Account in 5 Minutes

Frequently Asked Questions

  • Normal: NRML stands for normal order type - used to carry forward your trade beyond the same trading day – overnight or longer.
  • Delivery: Buying stocks and hold them in your demat account. You can keep shares as long as you want (Days/months/years).
  • Value Plus (intraday): Intraday product – used to buy and sell stocks on the same trading day, otherwise, it will be automatically squared off.

 

MO Trading APIs supports:

  • Place, modify, and cancel orders
  • Order book and trade book
  • Net positions
  • Index LTP data
  • Order history

These functions allow you to manage trades programmatically.

 

Motilal Oswal Competitors Review

Information on this page was last updated on Wednesday, May 29, 2024

Special Offer:

FREE Account Opening| ₹0 Brokerage for 30 Days (up to ₹1000)| Advisory & Research| Free 1st Year Demat AMC

Open your FREE Demat Account in 5 Minutes.

🚀 Open Your Motilal Oswal Account Today!

FREE Account Opening| ₹0 Brokerage for 30 Days (up to ₹1000)| Advisory & Research| Free 1st Year Demat AMC

Open your FREE Demat Account in 5 Minutes.

Motilal Oswal Special Offer

FREE Account Opening (for a limited time only)

  • ₹0 Account Opening Charges - Free
  • ₹0 Brokerage up to ₹1000 for the First 30 Days
  • ₹0 AMC & charges for the 1st Year
  • Free F&O brokerage for 1st Month
  • Futures: 0.02% brokerage| ₹20/lot on Equity and currency F&O
  • Dedicated Personal advisory and research.

Open FREE Demat Account in 5 Minutes

⚖️
Compare Brokers

Compare brokers side-by-side to choose the right one.

Are you a Motilal Oswal Customer?