Broker APIs in India: free access, data costs and setup
A broker API, also called a trading or brokerage API, lets software access an authorised trading account. Depending on the broker and subscription, it can retrieve holdings and positions, stream market data, and place, modify or cancel orders. An API key identifies an app; an access token authorises a session for an account.
Which broker provides a free API in India?
Free trading access and free market data are different questions. Compare order access, live quotes, historical data and account eligibility separately. The following official sources were checked on 4 October 2026; confirm the current terms before subscribing.
| Broker | Trading API access | Data and setup details |
|---|---|---|
| Zerodha | Personal API access is free | Live and historical data are on the paid Kite Connect plan; see official API plans |
| Dhan | Trading APIs are offered free | Data API subscription is separate; see trading API offering and data subscription terms |
| FYERS | API access is free for FYERS users | Review app permissions and data access; see FYERS API access |
Free API access does not eliminate brokerage, taxes, exchange charges or hosting costs. It also does not mean anonymous access: broker onboarding and authentication still apply. For Upstox, start with its developer documentation and verify the plan and endpoints your application needs.
Official developer portals and setup guides
- Zerodha: Kite developer console and our Kite static-IP guide.
- Upstox: API documentation and static IP, tokens and rate limits.
- Dhan: DhanHQ v2 documentation and Dhan setup and rate limits.
- FYERS: new app activation instructions and FYERS static-IP guide.
- Groww and Kotak Neo: see the Groww guide and Kotak Neo guide for the official sources and setup workflow.
What should I check before choosing an API?
- Instrument coverage: the exchange, segment, expiry and order products your strategy needs.
- Data entitlement: live streaming and historical candles may have different subscriptions and limits.
- Authentication: login, token lifetime, permissions and approved static-IP requirements.
- Rate limits: apply endpoint-specific per-second and longer windows across all workers using the account.
- Execution handling: order IDs, status updates, partial fills and reconciliation after a timeout.
- Testing: use a documented sandbox where available or a local paper-trading adapter before live orders.
A successful read-only request confirms access to that endpoint, not permission to place orders. Check order-specific app and IP requirements separately.
Which API does this course use?
Examples use the Kite Connect Python SDK as the reference. Concepts such as order state, position sizing and tick buffering transfer to other brokers, but method names, product codes and instrument identifiers do not. Translate each example against the target broker's documentation rather than only changing credentials.
Continue with creating a Kite Connect app, API errors and rate limits, or the free algo trading course.