As above, this gives a simplified comparison of the 2 free options available. Each bullet point answers a specific point. Both provide an algorithmic trading API (both have REST + WebSockets) and are free.
How do you log in?
Authentication
Angel One:
Client ID, PIN, TOTP codes. Session tokens are used.
HDFC Sky:
API Key and Secret provided in its developer portal.
Static IP:
Required in Angel One to execute orders via API.
What can you call?
Angel One provides order placement, GTT order placement, portfolio/view holdings, funds/margins, historical data, live WebSockets, option Greeks, and top gainers and losers.
HDFC Sky provides order placement, GTT/basket order placement, portfolio/view holdings, funds, historical OHLCV data, and live market data via WebSockets. It also includes a margin calculator, useful to calculate how big a position to place before sending an order.
Only option Greeks and market movement are available in Angel One. Basket orders and margin calculator are only available in HDFC Sky. If these are required, refer to current documentation.
Which languages are supported?
Many SDKs are provided by Angel One (Python, Node.js, Java, R, Go, C#, .NET, PHP).
REST and WebSocket endpoints are provided, along with documentation. It is common to integrate this using platforms like OpenAlgo or individual scripts. As there are no official SDKs listed by HDFC Sky in your list, please double-check what is available now.
What does it cost?
Both APIs are free. Ongoing costs will be based on brokerage, exchange charges, tax, and statutory charges.
Flat fee of ₹20, or capped % depending on segment. 2-in-1 account.
Eligible orders on equities, intraday and F&O get a flat fee of ₹20. Can have 3 in 1 account (bank, demat and trading).
The two side by side
|
Feature |
Angel One SmartAPI |
HDFC Sky Open API |
|---|---|---|
|
API cost |
Free |
Free |
|
Login |
Client ID, PIN, TOTP |
API Key and Secret |
|
Static IP |
Required for orders |
Required for API trading apps |
|
SDKs |
Eight languages |
Guides, OpenAlgo or custom scripts |
|
Brokerage |
₹20 flat or percentage cap |
₹20 flat on eligible orders |
What about rate limits?
No exact figures in either of the two. To design your application, please take a look at the documentation of both providers, since both have some restrictions on the number of orders per time/polls per time.
Which one fits whom?
-
As a developer building from scratch, Angel One has several different SDKs as well as a variety of built in endpoints, so it is easy to get started.
-
For traders and developers of fintech systems, who prefer flat fees, HDFC Sky might be more appropriate. It also boasts a larger ecosystem.
-
Using REST (in either language) is acceptable if you want to use a language different than what is listed in the SDKs.
A short checklist for any choice
-
Register Static IP First before Testing Orders.
-
Don’t store keys and secrets in code.
-
Rerun the backtest including brokerage, taxes, slippage and rate limits.
-
Use small amounts.
-
Keep a record of all requests and responses.
The Conclusion
Both are free and can be used. For Pre-built tools for the developers, Angel One is more suitable and for the flat fee and integration within an ecosystem, HDFC Sky might be better. Select according to the language and the trading style. Do a mini project.
