back-navigationBack

Start Trading & Investing with Superfast APIs

Trade with algorithms, connect with apps, build services
— all with free of cost Trading API.

Start Building
API Documentation Preview

Simple Modern APIs

Easy algo platform for all. Built for Traders, Investors, Beginners, Experts

Order Management API

Place, modify and execute orders on all exchanges.

Order ManagementOrder Management

Market Feeds API

Get live market data of all exchanges without delay or interruptions

Market Feeds

Portfolio API

Retrieve list of open positions across segments. Access holdings in your demat account.

Market Feeds

₹ 48,60,780.12

Historical Data API

Get past data upto years for Open, High, Low & Close price with Volume and OI

Historical Data

Statement API

Retrieve statements of P&L, Transaction Cost, Taxes, Ledger Summary, Contract Note etc

Statement

People ❤️ DhanHQ APIs because...

Easy algo platform for all. Built for Traders, Investors, Beginners, Experts

Zero Extra Charges

All of Dhan APIs power, free of cost.No monthly charges for building on APIs

dhan_HQ_LInk_Partner

All of Dhan APIs power, free of cost.No monthly charges for building on APIs

Best in Class Experience

With subsecond execution time,Dhan experience extended on APIs

Liberal rate limits

With upto 20,000 requests per day- no more rate limit errors

All-inclusive Sandbox

Test all DhanHQ APIs in a closed environment, before deploying your product in live market.

API wrappers & librarys

No more coding API wrappers - get support for all languages and an official Python library.

100% customisable

One solution does not fit all! Flexible APIs for you to build better products.

Zero Extra Charges

All of Dhan APIs power, free of cost.No monthly charges for building on APIs

Best in Class Experience

With subsecond execution time,Dhan experience extended on APIs

Liberal rate limits

With upto 20,000 requests per day- no more rate limit errors

All-inclusive Sandbox

Test all DhanHQ APIs in a closed environment, before deploying your product in live market.

API wrappers & librarys

No more coding API wrappers - get support for all languages and an official Python library.

100% customisable

One solution does not fit all! Flexible APIs for you to build better products.

Partners Building on DhanHQ API

algobulls-logocliq-algoquant-manbookmap-algosmallcase-algogocharting-algo
algo-teststock-antstrading-viewstratzy-algoalgo-jialgocrabtavag-algo
investmint-algoquicko-algoliquidemodern-algoscleartaxalgomojo

Pricing, Speed & Thrills

Lightning fast APIs forever free for super traders at Dhan

Trading APIs

0

Enjoy lightning fast trading APIs
for free lifetime

Data APIs

399

Real-time Market Feed &
Historical Data across exchanges

Lightning
Order placements

Order placements

25 orders/sec

API Response Latency

API Response Latency

< 100 ms

Maximum order requests

Maximum order requests

5000 orders / day

OHLC data

OHLC data

10 requests/sec

Modifications

Modifications

25 /order

Market feeds

Market feeds

Realtime

Build, Integrate Your Strategies with APIs in Minutes

Everything at one place

Comprehensive SDKs,
Flexible APIs

Get started with well-documented and comprehensive SDKs and flexible APIs that provide an effortless connection to Dhan.

Zero Charges & Low Latency

Free access to low latency Trading APIs for every Dhan user, to get started with algo trading.

API code snippet

Everything is Connected with
Dhan Ecosystem

Frequently Asked Questions

Want to get started with DhanHQ, but thinking which one is for you?

What is algo trading?

Algo trading (algorithmic trading) uses automated algorithms to execute trades based on predefined criteria like price, timing, volume, etc., minimizing human intervention.

Do I need coding skills to use your platform?

No, our platform is designed for all types of users, from beginners to experts. You can use ready-made strategies or build your own with our intuitive, no-code builder.

Can I monitor and control my algo trades in real-time?

Yes, our platform provides comprehensive, real-time monitoring and control of all your deployed strategies, giving you full transparency and oversight.

How can fintechs and partners integrate your APIs?

We provide detailed API documentation, SDKs, and dedicated support for fintechs and partners, making it easy to integrate trading functionalities into your applications.

Who provides the ready made algo strategies?

Algo Strategies on DhanHQ Marketplace are only by registered algo providers, including SEBI registered Research Analysts, whose algos have been approved by the Exchange.