Dhan API charges and algo trading
DhanHQ provides trading access separately from its paid data subscription. The data add-on is debited on a 30-day renewal cycle, so compare its billing period as well as the headline price.
Facts checked through . Each row links to the broker’s published instructions. Account-specific eligibility and terms can change after this date.
Algo trading & API: published facts
| Topic | Published terms / instructions |
|---|---|
| Trading API fee | Trading APIs are free for placing orders and accessing positions, funds and related trading functions. Standard trading charges remain separate.Official source: Trading API fee · Verified |
| Market data subscription | ₹499 plus applicable taxes for Data API access. The subscription auto-debits the trading ledger every 30 days.Official source: Market data subscription · Verified |
| Access token and consent | Dhan Web can generate an access token valid for 24 hours. The API-key flow uses browser consent and two-factor login before token consumption; API key/secret validity is 12 months.Official source: Access token and consent · Verified |
| Static IP setup | Whitelist a primary static IP and optional secondary IP in the DhanHQ setup. IP changes are allowed once every seven days. Whitelisting applies to order operations, including Super and Forever orders; retrieving order details does not require it.Official source: Static IP setup · Verified |
| Order limits | The v2.3 release (8 September 2025) set the Order APIs to 10 orders/second. The v2.4 release (22 September 2025) made a static IP mandatory for placing, modifying and cancelling any type of order. Check current endpoint documentation before implementation.Official source: Order limits · Verified |
| Where to activate access | In Dhan Web, open the profile menu → DhanHQ Trading APIs, then select the Trading APIs or Data APIs tab. Data access is a separate paid activation.Official source: Where to activate access · Verified |
Subscription, trading cost and permissions
An API subscription buys connectivity or data access. Brokerage, exchange charges, taxes, account fees and any ISP/cloud/static-IP costs are separate. A free API does not mean a free trade. A market-data entitlement does not establish permission to redistribute that data.
NSE’s retail-algo standards distinguish ordinary API order access from exchange-registered strategies exceeding the 10 orders/second threshold. Orders below the threshold still require the exchange’s generic identifier and broker controls. Registration is through the broker to the relevant exchange; it is not an investment approval or a return guarantee.
The framework applies fully from 1 April 2026. Registered static IPs, two-factor authentication and daily session logout requirements coexist with broker-specific endpoint quotas. Do not confuse a data-request limit with an order allowance. Confirm the current setup directly with Dhan.
Regulator sources re-read 2026-10-11. KYB provides information; it does not connect to your account, collect API keys or place orders.
Dhan Algo trading & API FAQ
Trading APIs are free for placing orders and accessing positions, funds and related trading functions. Standard trading charges remain separate.
₹499 plus applicable taxes for Data API access. The subscription auto-debits the trading ledger every 30 days.
Dhan Web can generate an access token valid for 24 hours. The API-key flow uses browser consent and two-factor login before token consumption; API key/secret validity is 12 months.
Whitelist a primary static IP and optional secondary IP in the DhanHQ setup. IP changes are allowed once every seven days. Whitelisting applies to order operations, including Super and Forever orders; retrieving order details does not require it.
The v2.3 release (8 September 2025) set the Order APIs to 10 orders/second. The v2.4 release (22 September 2025) made a static IP mandatory for placing, modifying and cancelling any type of order. Check current endpoint documentation before implementation.