-13.45%2,32,231 Clients
m.Stock Trading API is a modern trading infrastructure that provides REST-based APIs for developers and traders to build, automate, and execute trading strategies. It enables users to connect their m.Stock accounts with custom applications or third-party tools and create fully automated trading systems.
m.Stock APIs are built on REST architecture with support for WebSocket streaming, allowing real-time market data access and fast order execution. The platform focuses on high performance, scalability, and zero-cost integration, making it suitable for both retail traders and professional developers.
m.Stock API Benefits
| API Brokerage Charge | ₹5 per order (F&O, Intraday, MTF) |
| API Document Link | https://tradingapi.mstock.com/docs/v1/Introduction |
| API Data Format | JSON (inputs form-encoded, responses JSON) |
| API Offer Type | Trading API, Market Data API, Historical Data API, Portfolio API |
| API Exchange Support | NSE, BSE (Equity, F&O) |
| API OS Support | Windows, Linux, macOS, server-based systems |
| API Support Features | Authentication, Order Placement, Order Modification & Cancellation, Order Book, Trade Book, Portfolio, Positions, Margin Calculator, Market Data, Historical Data, WebSocket Streaming |
| API Third‑Party Tools | Custom-built trading systems, Python, Node.js, Postman, third-party algo platforms |
| API Order Types | LIMIT, MARKET, STOP_LOSS, etc |
| API Support | REST API + WebSocket with high rate limits |
Steps to use API Key and Access Token
token api_key:access_tokenm.Stock Trading API provides a powerful and cost-effective solution for building automated trading systems. With zero API cost, fast execution, high scalability, and real-time data support, it is ideal for traders and developers. Its REST architecture, WebSocket streaming, and flexible integration options make it suitable for both beginners and advanced users.
Yes, there are no setup or API charges. Only ₹5 per order brokerage applies
It supports NSE and BSE for equity and derivatives trading
The API key is long-term, but the access token expires daily.
Yes, it supports full automation and integration with custom systems.
Information on this page was last updated on Tuesday, November 19, 2024
Zerodha (Flat Rs 20 Per Trade)
Special Offer - Invest brokerage-free Equity Delivery and Direct Mutual Funds (truly no brokerage). Pay flat Rs 20 per trade for Intra-day and F&O. Open Instant Account and start trading today.
Compare brokers side-by-side to choose the right one.
Are you a m.Stock Customer?