Home About Us Services
Trading & Market Investment Products Premium Service Research & Education Algo Trading Trading Platforms
Contact
Open Account
Sharekhan Authorized Partner API

Power Up Your Trades with Zero-Cost APIs

Integrate, backtest, and automate your trading strategies using Sharekhan's REST & WebSocket APIs. Absolutely FREE for individual traders.

₹0 Subscription Cost
<25ms Order Latency
30/sec Request Limit
place_order.py Python
Capabilities

Full-Suite API Features

Streamlined integrations to build fast, robust, and customized trading algorithms.

Execution

Orders & Products

Place new intraday or delivery orders, modify or cancel open positions, and track bracket/cover orders effortlessly.

WebSockets

Live Market Feeds

Stream real-time price tick-by-tick feeds, open-high-low-close (OHLC) charts, and fetch top 5 Bid/Ask market depth details.

Rest API

Historical Data

Access high-quality past stock market data in a second for precise backtesting and fine-tuning of your trading algorithms.

Reporting

Multiple Reports

Stay on top of your holdings with real-time reports covering margins, trade books, ledger statements, and net positions.

SDKs & Libraries

Build in Your Preferred Language

Directly download official repository wrappers for easy third-party integration.

Python Wrapper
Official

Integrate with scientific frameworks like Pandas, NumPy, or execute advanced backtesting with ease.

pip install shareconnect-py
NodeJS SDK
Official

Asynchronous WebSocket ticker feeds and high-speed execution wrappers for JavaScript developers.

npm i shareconnect-node
Java Library
Official

Enterprise class Maven/Gradle wrappers designed for institutional systems and trading desks.

implementation 'shareconnect:2.0'
C# Wrapper
Official

Fully typed wrapper optimized for high-performance .NET applications and Windows-based servers.

dotnet add pkg ShareConnect
PHP SDK
Official

Integrate easily with PHP-based web applications, dashboards, or broker execution engines.

composer req sharekhan/sdk
R Library
Official

Built specifically for quantitative researchers, statistician-traders, and deep backtesting models.

install.packages("skR")
Onboarding Guide

Get Started in 6 Simple Steps

Generate credentials, whitelists, and place your first trade in minutes.

1

Open Your Account

Register a free trading and demat account with Sharekhan & One Tenth Money (OTM) through our onboarding link to get access to automated partnership discounts.

2

Access Developer Portal

Login to the official Sharekhan Developer Dashboard using your active client trading credentials (Client ID, Password, and TOTP code).

3

Create API App

Generate your API app credentials. Input your application details (App Name, Redirect URL) to receive your secure API Key and API Secret keys immediately.

4

IP Whitelisting & Webhook Configuration

Whitelisting your static server IP address is mandatory for SEBI compliance in production before generating session access tokens.

5

Integrate and Test SDKs

Install the SDK for Python, NodeJS, or Java, configure headers, and test endpoints in the Sandbox simulator or live API routes.

6

Deploy Live Strategy

Start routing real-time automated buy/sell orders, stream live WebSocket ticker updates, and scale your quantitative algorithm on live Indian stock markets.

Need Technical Support?

Have questions about REST endpoints, WebSocket disconnections, SDK installations, or custom TradingView integrations? Contact the OTM developer desk and the Sharekhan API support desk directly.