DhanHQ API
Access Data and Trading via APIs
Dhan provides two types of APIs:
A. Trading API – Free
The Trading API is available free of cost and provides access to the following features:
Order Placement
Position Management
Statements and Reports
Order Postbacks
CDSL Authorisation
Portfolio and Funds Management
B. Data API – ₹499 + GST per month
The Data API subscription provides access to:
Real-time Market Prices
Historical Intraday Data (up to 5 years)
Complete Daily Timeframe Data
20-Level Market Depth
Option Chain Data
Expired Option Data
US Stocks Live Feed
Company Info API
C. Pro Traders API – ₹999 + GST per month
The Pro Traders subscription includes additional features such as:
Full Market Depth (200 Levels)
Technical Data API
Market Movers API
CAS Live Feed API
News Headlines API
How to Subscribe to the Data API or Pro Traders Plan:
Follow these steps to activate your preferred subscription:
Log in to web.dhan.co.
Navigate to Profile → Get Trading & Data APIs → Data APIs.
Select your preferred subscription plan and complete the payment. Ensure that your Dhan account has sufficient funds.
Generate your Access Token/API Key to start using the subscribed APIs.
Please note that the Trading API is free, while the Data API and Pro Traders subscriptions are paid plans.
Related FAQs

