DhanHQ Trading API
DhanHQ Trading API: A Dhan-connected API suite with lifetime-free trading endpoints and paid market data. Ranked #17 of 34 in Investment APIs by our editors (7.7/10); pricing: Free plan; best for indian trading APIs with sandbox testing.
At a glance
- Editor score7.7 / 10
- PricingFree plan
- Best forIndian trading APIs with sandbox testing
- Free planYes
- Trading ordersYes
- Facts checked20 Oct 2026
Where it wins
- Lifetime-free APIs cover order placement, changes, cancellations and slicing
- Sandbox, webhooks, OAuth flow and an official Python client support development
- Holdings, positions, statements, quotes and historical OHLC data are included
Where it doesn't
- Real-time and historical Data APIs are priced at ₹499
- The official client library is for Python; other languages use the API directly
- Support channels are limited to email and documentation
Our verdict on DhanHQ Trading API
DhanHQ Trading API is a REST-style interface for building trading and investment services on Dhan. It is aimed at individual traders, algorithmic-trading platforms, fintech companies, brokers, portfolio managers and banks. The platform covers order placement, modification, cancellation, slicing and retrieval, along with holdings, open positions, market quotes, feeds, historical OHLC and volume data, statements, and live order-update webhooks. Individual Dhan users can authenticate with access tokens or an OAuth-based API-key flow, while partners can integrate user-consent flows.
The published plans separate trading access from market data. The Trading APIs plan is free for a lifetime and includes the core order and portfolio capabilities, statements covering P&L, taxes, ledger and contract notes, webhooks, OAuth authentication and a closed sandbox for API testing. Data APIs cost ₹499 and add real-time market feeds plus historical data across exchanges. This structure suits teams that need to prototype or operate order workflows without a recurring trading-API charge, while firms requiring exchange-wide data should budget for the paid data tier.
Integration fit centers on an API-only platform with an official Python client library. The sandbox provides a contained environment for testing before connecting to live services, and webhooks can deliver order updates to connected systems. Email and documentation are the listed support channels. DhanHQ is a strong fit for developers building around Dhan accounts who value sandbox access and broad trading operations; teams seeking a multi-broker abstraction, extensive language-specific SDK coverage or support beyond email and docs should consider alternatives.
Your product? Our editors can test DhanHQ Trading API in depth and publish a review, labelled as paid · from $149/mo →
DhanHQ Trading API pricing
All 2 DhanHQ Trading API plans and prices →
DhanHQ Trading API fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Not verified |
| Trading orders | Yes |
| Account opening | Not verified |
| Portfolio data | Yes |
| OAuth connections | Yes |
| Webhooks | Yes |
| Sandbox environment | Yes |
| Tax-lot data | Not verified |
| Support | Email, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan (source) |
| Website | dhanhq.co |
| Facts checked | 20 Oct 2026 |
Alternatives to DhanHQ Trading API
- E*TRADE Developer APIFree E*TRADE APIs combine trading, portfolio, market data and sandbox access.9.3
- Interactive BrokersA global, multi-asset brokerage with API access, analytics and flexible pricing.9.2
- Yodlee Account AggregationA broad aggregation API for investment data, account connectivity and event notifications.9.0
See all DhanHQ Trading API alternatives →
Used DhanHQ Trading API? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used DhanHQ Trading API for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
DhanHQ Trading API is listed in our Investment APIs directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/dhanhq-trading-api/"><img src="https://www.itechguides.com/best/badge/dhanhq-trading-api.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update