
If you do not select the appropriate API for algo trading, you may end up paying for unnecessary data and/or unknowingly breach limits. Let us consider your main requirements and then analyze which API is most suitable.
If cost worries you most
HDFC Sky provides free access to order, position, GTT, and data (including WebSockets). Dhan provides free order, GTT, margin, and portfolio APIs. However, Dhan’s data (both live and historical) is a monthly subscription of ₹499 +GST. The Pro data subscription is a further monthly charge of ₹999 +GST and provides additional data such as enhanced market depth and indicators alongside US data. Zerodha’s Personal subscription is free for order, GTT, margin, and portfolio functions. However, Zerodha does not provide data. Each application for the Connect membership costs ₹500 a month.
Across one year, Dhan’s basic data subscription equates to around ₹7,066 +GST. Zerodha’s Connect subscription is ₹6,000 pre-credits. HDFC Sky continues to have free access.
Prior to using an API, you must hold an open demat account.
If you need live data
Whilst HDFC Sky’s free subscription encompasses live data via WebSockets, Dhan provides live data as part of its data subscription. Dhan also provides order WebSockets. Zerodha only provides streaming data on its Connect subscription, again using WebSockets. Therefore, if streaming is important, analyze your subscription to establish what is available.
If speed and volume matter
Zerodha explicitly states its order limits per API key – 10 orders/second, 400 orders/minute and 5,000 orders/day. Carrying out some simple calculations shows that 5,000 orders can be achieved in around 12.5 minutes at the 400 orders/minute rate. Furthermore, Zerodha is not designed for high-frequency or ultra-low-latency use. Dhan does allow splitting of orders and thus exceeds freezing limits. Neither HDFC Sky nor Dhan specify precise speed restrictions within your attachments, so please refer to their documentation for further information.
If you want to test safely
All three APIs provide an environment for testing (sandbox). However, your Zerodha attachment makes no mention of a sandbox, so please investigate this prior to utilization. In all cases, it is advisable that you initially test with small volumes.
If tooling and orders matter
- Dhan: Functions include: super, forever, GTT and AMO orders; basket and conditional orders; a Python SDK; an MCP server; and Dhan Cloud (which requires a whitelisted static IP).
- HDFC Sky: REST and WebSocket order, GTT, position, portfolio and live data endpoints. Accessible via a developer portal.
- Zerodha: Well-established HTTP APIs and SDKs in Python, Java, Node.js, Go, Rust, and C++ (amongst other languages).
The three side by side
| Dhan | HDFC Sky | Zerodha | |
|---|---|---|---|
| Order APIs | Free | Free | Free on Personal |
| Live and historical data | ₹499 or ₹999 a month plus GST | Included | ₹500 a month |
| Sandbox | Yes | Yes | Not mentioned |
| Documented limits | Not listed | Not listed | 10 a second, 400 a minute, 5,000 a day |
| Static IP | Whitelisted | Check docs | Check docs |
A quick way to choose
- For free data and streaming, HDFC Sky is suitable.
- For extensive order functionality and facilities, consider Dhan.
- For multi-lingual functionality and explicit restrictions, Zerodha is appropriate.
The Conclusion
Whilst branding may not be the deciding factor, cost, data and limits will influence selection. As prices are frequently amended, please verify up-to-date information on each company’s website prior to development.

