Market Overview & Analysis

← Back to Home

Research · Broker market-data & trading APIs

Which Indian broker API should you use?

I compared the public APIs of 20 Indian brokers on 68 features — pricing, login, live data, history, orders, limits, docs and compliance — then went back and re-checked 240 of the findings against each broker’s own pages, and ran a second, stricter check of 490 claims covering this page, the full grid and my draft posts. Data as of 2026-11-05.

Independent and unpaid: no broker relationship, no affiliate links. Informational only, not investment advice.

The short version

On these criteria, FYERS scores highest in all four use cases we graded (algo 80.2, backtesting 75.9, app building 72.7, general 75.0). Upstox is second for live algos, 2.8 points ahead of Dhan.

  • 15 of 20 APIs are free to use with live data today, though a few reserve the right to charge later. The paid ones are Kite (Rs 500/month), Dhan’s Data API and Groww (Rs 499); Shoonya and Nuvama are listed free only on third-party pages.
  • No broker offers a true paper-trading sandbox, and none clearly permits redistributing live data.
  • The most common complaints are the SEBI static-IP rule and daily logins.

Brokers graded

20

Public API docs & pricing

Features

68

Cost, auth, data, orders, limits

First check

87%

208 of 240 claims matched the cited page

Second check

490

claims, stricter: 269 confirmed, 10 overstated, 8 contradicted

Best fit by use case

Use caseTop scoreRunner-upThird
Live algo trading
Run automated strategies during market hours.
FYERS 80.2Upstox 76.1Dhan 73.3
Backtesting & research
Pull years of candles to test ideas.
FYERS 75.9Upstox 69.2Kite (Zerodha) 64.4
Building a multi-user app
Let other people log in through your product.
FYERS 72.7Upstox 64.9Dhan 62.9
General (equal weights)
No special use case — just a good all-rounder.
FYERS 75.0Upstox 71.5Dhan 64.3

Scores are 0–100. Each use case weights the features differently — e.g. live-algo weights streaming, order limits and login automation; backtesting weights history depth and cost.

Full ranking

Live algo trading ranking
#BrokerScoreBar
1FYERS80.2
2Upstox76.1
3Dhan73.3
4Flattrade58.4
5Tradejini56.8
6Kite (Zerodha)55.4
7Motilal Oswal55.1
8Samco54.9
9Groww54.0
10Angel One53.9
11mStock53.5
12ICICI Breeze53.3
13Stoxkart53.0
14Kotak Neo51.8
155paisa50.9
16Nuvama48.7
17Shoonya43.2
18HDFC InvestRight42.4
19HDFC Sky40.8
20Sharekhan35.9
Backtesting & research ranking
#BrokerScoreBar
1FYERS75.9
2Upstox69.2
3Kite (Zerodha)64.4
4ICICI Breeze59.4
5Dhan58.8
6Angel One58.4
7Flattrade57.9
8Groww57.7
9Tradejini56.4
105paisa56.0
11mStock52.9
12Samco52.1
13Motilal Oswal51.2
14Nuvama49.5
15Sharekhan47.7
16Stoxkart45.3
17Shoonya43.2
18Kotak Neo42.2
19HDFC Sky34.9
20HDFC InvestRight30.4
Building a multi-user app ranking
#BrokerScoreBar
1FYERS72.7
2Upstox64.9
3Dhan62.9
4Kite (Zerodha)56.7
5Flattrade54.4
6Tradejini52.6
7Stoxkart52.5
8Samco52.4
9Kotak Neo52.0
10ICICI Breeze51.8
11mStock51.2
125paisa51.1
13Motilal Oswal51.1
14Angel One48.4
15Nuvama48.3
16Groww46.9
17Shoonya44.9
18HDFC InvestRight39.4
19HDFC Sky37.9
20Sharekhan37.6
General (equal weights) ranking
#BrokerScoreBar
1FYERS75.0
2Upstox71.5
3Dhan64.3
4Kite (Zerodha)58.0
5Tradejini57.4
6Flattrade57.3
7Samco53.8
8ICICI Breeze52.8
95paisa51.4
10Angel One50.5
11Motilal Oswal50.4
12Stoxkart50.4
13Groww50.0
14mStock50.0
15Kotak Neo48.2
16Nuvama48.1
17Shoonya42.5
18HDFC InvestRight39.2
19Sharekhan38.5
20HDFC Sky37.3

How it was scored

Each feature gets a grade from the broker’s own docs, pricing page or staff replies: ✅ pass (1), ⚠️ partial (0.5),❌ absent (0), or ? no evidence found (0.25). A “no evidence found” (?) earns 0.25 points, so providers with thin public documentation rank lower partly because data is missing, not because a feature is proven absent.Purely descriptive fields (e.g. a latency claim) are recorded but not scored.

For the technical reader

score = 100 × Σ(wᶠ · pointsᶠ) / Σ wᶠ, where wᶠ is the category weight times a per-feature multiplier for that use case. Ties at one decimal are ordered by the unrounded score. After grading, 240 non-“?” fields were re-fetched against their cited pages: 208 confirmed (87%),25 not found on the cited page (10%) and 7 contradicted (3%). Contradictions were fetched again and several turned out to be first-pass errors; the grades reflect the corrected reading. Most “not found” rows were an extra clause attached to a confirmed core claim. A second check on 2026-11-05 looked at 490 claims and also asked whether each was worded more strongly than its source: 269 confirmed, 10 overstated, 8 contradicted and 118 not found on the cited page. The overstated and contradicted items were fixed or reworded.

Download the research

The full research behind this page, data checked 2026-11-05. Attach the Markdown file to an AI chat and ask your own questions; every claim in the broker profiles carries its source link. Licensed CC BY 4.0: reuse it, including commercially, and credit Nifty Chronicles with a link back.

  • Markdown (293 KB) — method, report, rankings, grade matrix, 20 broker profiles and the community claims. Sized to fit a long-context chat.
  • Data bundle, ZIP (486 KB) — the Markdown plus the 68-feature CSV matrix, per-broker JSON with a source URL on every claim, and the head-to-head write-ups. For code and structured queries.
  • PDF (6.5 MB) — everything in one printable document, with the head-to-heads and per-feature values.

Try this prompt with the Markdown file attached:

Using the attached file, which brokers give tick-by-tick data and free historical candles? Cite the source URL for each.

A “?” grade means no evidence was found, not that the feature is absent. Informational only; see the disclaimer below.

What puts the leaders ahead

Live algo trading — FYERS

Plain version: it gives you free order APIs, fast streaming and the most order-handling tools.

  • Trading API is free on the Standard plan. Standard data limits are 5/s, 50/min and 5,000/day (limits).
  • Tick-by-tick socket with 50-level depth on NSE equity and NFO (docs); native 2- and 3-leg option orders (docs).
  • Upstox: 50 orders/s for SEBI-registered algos, no daily cap (limits), plus kill-switch and exit-all endpoints (docs).
  • Dhan: 20- and 200-level depth sockets (docs); the Data API costs Rs 499 (pricing).
  • Caveat: FYERS staff point to TOTP auto-login, but it is not on the official auth pages.

Backtesting — FYERS

Plain version: the deepest history with the most candle sizes.

  • Intervals from 5 seconds to monthly, minute data from Jul 2017, and continuous futures via cont_flag=1 (docs).
  • Standard plan: 1 year of intraday and 5 years of daily history; Prime goes much deeper (plans).
  • ICICI Breeze is the free option: historical data is free, finest historical interval is 1 minute (FAQ), though users report missing and duplicate data.
  • Groww is the only provider graded fully pass on expired F&O data, back to 2020 (docs). Kite history needs the Rs 500/month plan (charges).

Building an app for other users — FYERS

Plain version: you can create apps yourself, and there’s a path for third-party apps — but check the redistribution terms first.

  • Retail clients can create apps themselves; SDKs in Python, Java, Go and C; official MCP server and AI skills. No sandbox section in the API docs index (unknown, not confirmed absent).
  • Redistributing data needs written approval (API terms).
  • Upstox has OAuth per customer and a free order sandbox with no time limit, covering place/modify/cancel only (sandbox), and it documents a token endpoint that takes the PIN and TOTP (docs) — but see the app-creation caveat below.
  • Kite has six SDKs. Its sandbox is unresolved: an agent-setup file (file) describes a shared-credential demo at sandbox.kite.trade, but Zerodha’s Kite Connect FAQ (FAQ) says it does not offer a sandbox; its terms allow building for other Zerodha clients with exchange approvals but bar showing live data publicly (terms).

What almost everyone has

Feature✅ of 20Notes
Free API access15Exceptions: Dhan’s Data API (Rs 499), Groww (Rs 499) and Kite (Rs 500/month). Shoonya and Nuvama are partial: their free status rests on third-party pages, and Shoonya’s terms say it may charge selectively. Stoxkart’s terms say the same, but its FAQ says free.
Free tier with live data14Shoonya is graded partial: its pricing page shows no free plan.
Open interest in the live feed17Angel exposes it in FULL quote mode.
GTT orders11Good-till-triggered orders via API.
Automatable TOTP login10Dhan generates tokens through the API (v2.5), and Upstox documents a token endpoint that takes the PIN and TOTP. 5paisa is partial.

What almost no one has

Feature✅ of 20Notes
Paper-trading sandbox0No provider passes. Kite is unknown: an agent-setup file describes a shared-credential demo, but Zerodha’s FAQ says it offers no sandbox. Upstox’s sandbox covers orders only; Dhan’s is not paper trading. FYERS has no sandbox section in its docs index (unknown, not confirmed absent).
Permissive redistribution terms0No provider passes. Kite, FYERS, Motilal and Stoxkart require approval to show live data publicly; Flattrade’s terms bar redistribution outright.
Expired F&O history1Only Groww is graded fully pass, and its docs date the data to 2020. FYERS is limited on its free plan, Upstox needs a paid plan, and Dhan covers expired options only.
Tick-by-tick feed3Breeze, Dhan and FYERS. Kite’s WebSocket modes are snapshots.
Multi-leg option orders2FYERS has native 2- and 3-leg orders; 5paisa at SDK level only.
Kill switch / exit all4Upstox, Dhan, Sharekhan and Nuvama.

Feature grid

✅ yes · ⚠️ partial · ❌ no · ? no evidence found (not the same as absent) · – descriptive, not scored. Ordered by general score. Scroll sideways on small screens.

BrokerFree APIFree live dataTOTP loginRetail app creationTick-by-tickDeep depthOI in feedExpired F&OContinuous futuresMulti-leg ordersGTTKill switchPaper sandboxOfficial SDKsDocsRedistribution
FYERSYesYesYesYesYesYesYesPartialYesYesYesPartialNo evidence foundYesYesPartial
UpstoxYesYesYesPartialNo evidence foundYesYesPartialNo evidence foundPartialYesYesPartialPartialPartialNo evidence found
DhanPartialPartialYesYesYesYesYesPartialNo evidence foundNo evidence foundYesYesPartialPartialPartialNo evidence found
Kite (Zerodha)PartialPartialNoYesNoPartialYesPartialYesNo evidence foundYesNoNo evidence foundYesYesPartial
TradejiniYesYesYesYesNo evidence foundNo evidence foundYesNo evidence foundNo evidence foundNo evidence foundYesNo evidence foundPartialYesPartialNo
FlattradeYesYesNoPartialPartialPartialYesNo evidence foundNo evidence foundPartialYesPartialPartialPartialPartialNo
SamcoYesYesYesYesNo evidence foundPartialYesNo evidence foundNo evidence foundNo evidence foundYesPartialNo evidence foundPartialPartialNo evidence found
ICICI BreezeYesYesNoYesYesNo evidence foundYesPartialNo evidence foundNoYesPartialNo evidence foundYesPartialNo evidence found
5paisaYesYesPartialYesNo evidence foundYesPartialPartialNo evidence foundYesNo evidence foundNo evidence foundNo evidence foundPartialPartialPartial
Angel OneYesYesYesNo evidence foundNo evidence foundPartialYesNo evidence foundNo evidence foundNo evidence foundYesNo evidence foundNo evidence foundPartialPartialNo
Motilal OswalYesYesYesYesNo evidence foundPartialYesNo evidence foundNo evidence foundNo evidence foundPartialNo evidence foundPartialPartialPartialNo
StoxkartYesYesPartialYesNo evidence foundPartialYesNo evidence foundNo evidence foundNo evidence foundNo evidence foundNo evidence foundNo evidence foundPartialPartialPartial
GrowwPartialPartialYesPartialNo evidence foundPartialYesYesNo evidence foundNo evidence foundYesNo evidence foundNo evidence foundPartialPartialNo evidence found
mStockYesYesYesYesPartialPartialYesNo evidence foundNo evidence foundNo evidence foundNo evidence foundPartialNo evidence foundPartialPartialNo evidence found
Kotak NeoYesYesYesYesNo evidence foundNo evidence foundYesNo evidence foundNo evidence foundNo evidence foundPartialNo evidence foundPartialPartialPartialPartial
NuvamaPartialPartialNoNo evidence foundPartialPartialYesNo evidence foundYesNo evidence foundNo evidence foundYesPartialPartialPartialNo evidence found
ShoonyaPartialPartialPartialPartialNo evidence foundPartialPartialNo evidence foundNo evidence foundPartialYesNoNo evidence foundPartialPartialPartial
HDFC InvestRightYesYesNoYesNo evidence foundPartialYesNoNoNo evidence foundPartialNo evidence foundNo evidence foundNo evidence foundPartialNo evidence found
SharekhanYesYesDescriptive, not scoredYesNo evidence foundPartialYesNo evidence foundPartialNo evidence foundNo evidence foundYesNo evidence foundPartialPartialNo evidence found
HDFC SkyYesPartialNoYesNo evidence foundNo evidence foundPartialNo evidence foundNo evidence foundPartialPartialNo evidence foundPartialNoPartialNo evidence found

Eight things that trip developers up

  1. 1. Static-IP rules (SEBI; official pages say from 1 Apr 2026)

    Order APIs now need a whitelisted static IP, and changing it is limited. One Zerodha FAQ still says the rule started on 1 April 2025; its static-IP article and the Upstox and Breeze pages say 2026. Upstox and Kite allow one change per calendar week. Angel users hit “IP already associated with another app”, and Dhan’s docs say an IP cannot be modified for 7 days after it is set.

    Upstox circular · Kite static IP · Dhan auth docs

  2. 2. Daily login and token expiry

    Kite needs a manual login every day and does not support TOTP automation. Motilal tokens are generated by hand daily. Groww’s two official pages disagree on whether a TOTP token needs daily approval.

    Kite forum request

  3. 3. WebSocket drops and silent subscription caps

    FYERS users report dropped connections, and Shoonya reportedly stops silently past about 100 tokens.

    Shoonya issue #217

  4. 4. Unreliable or missing history

    Dhan users report DH-905 errors and HTTP 500s; FYERS history() calls can hang; 5paisa returns empty data for expired futures. HDFC InvestRight has no candle API yet — staff say it is “under development”.

    HDFC forum

  5. 5. Data lag

    One thread reports a noticeable lag in Dhan’s Data API compared with Upstox. It is a single thread, it gives no figure, and no fix has been shown.

    madefortrade thread

  6. 6. Tighter rate limits

    FYERS cut Standard data limits to 5/s, 50/min and 5,000/day; users call this too strict. Older guides quoting 10/s or 100k/day are out of date.

    FYERS plans & limits

  7. 7. Slow support and stale repos

    Open, unanswered issues on the Breeze, 5paisa and Stoxkart Python SDKs; Kotak archived its official neo-api repo on 10 Sep 2026.

    Kotak repo (archived)

  8. 8. Billing surprises

    A user was charged Rs 20 per order on Upstox instead of the expected Rs 10; a Kite app stayed “Cancelled” after the user paid Rs 500.

    Upstox community

Community claims, checked

Forums are full of “X is better than Y”. Each claim below was broken into features and compared with the graded data.

  • Contradicted

    “Angel SmartAPI is the strongest free broker API.”

    Angel is free with reasonable limits, but FYERS, Upstox and Dhan out-score it on the graded features.

  • Outdated

    “Kite’s API costs Rs 2,000/month.”

    Current published price is Rs 500/month for Connect. Older community posts still quote Rs 2,000.

  • Unverified

    “Dhan is faster than Kite.”

    The low numbers are Dhan’s own figures; no independent benchmark exists for either broker.

  • Outdated

    “Dhan’s rate limits are the most liberal in the industry.”

    Dhan’s order limit is now 10/s, equal to Kite’s; Upstox gives SEBI-registered algos 50/s.

  • Supported

    “Kite has the most comprehensive docs (vs Dhan).”

    Kite’s docs are top-rated and it has SDKs in six languages.

  • Partly supported

    “Dhan’s Data API lags Upstox by 5–6 seconds.”

    One thread reports a noticeable lag versus Upstox. It gives no 5–6 second figure and does not show Dhan acknowledging it.

What may have changed

  • Upstox retail app creation: community posts report a pause from 5 Jan 2026 and users later wrote that creation works again, but no official notice confirms either. Create a test app before committing.
  • Upstox’s Rs 10-per-order API promotion is listed as ending 31 Dec 2026; some third-party sources give earlier dates.
  • HDFC Sky’s Market Data API, WebSocket and GTT were still listed as “Coming Soon”.
  • FYERS changes plan limits without notice, and its Prime plan price is not published.

Limits of this research

  • A “no evidence found” (?) earns 0.25 points, so providers with thin public documentation rank lower partly because data is missing, not because a feature is proven absent.
  • Six providers — HDFC InvestRight, Stoxkart, Kotak, Motilal, Samco and Sharekhan — have more than 30% of profile fields with no public documentation found. Treat their scores as lower-confidence.
  • Latency claims are vendor figures or single-user reports. No independent benchmark was found.
  • This is a snapshot from 2026-11-05. Brokers change limits, prices and terms often — check the current docs before you commit.

Glossary

TOTP
The six-digit code from an authenticator app. If a script can generate it, login can be automated.
Static IP
A fixed internet address your orders must come from. SEBI’s algo rules require it for order APIs from 1 Apr 2026.
WebSocket
A live, always-open connection that pushes prices to you, instead of you asking repeatedly.
Tick-by-tick
Every individual trade/price change, not periodic snapshots.
Depth levels
How many bid/ask rows of the order book you can see (5, 20, 50, 200…).
OI (open interest)
Outstanding open derivative contracts at a strike.
Postbacks / webhooks
The broker calls your server when an order changes status.
Kill switch / exit all
One call that cancels open orders and/or closes positions.
Continuous futures
A stitched price history across expiries, for backtesting futures.
Redistribution
Whether you may show or resell live data to other people.