1: The Historical Data API provides historical OHLCV data for instruments. However, the available historical coverage varies by instrument.
2 & 4, 5: You can use the data for analysis purposes. However, the data must not be permanently stored …
Please verify that the Client ID entered in your Kite Connect Developer Console matches your Kite Client ID, then try logging in again. You may refer to this forum link.
The missing candles are due to the introduction of the NSE Closing Auction Session (CAS).
For CAS-eligible stocks, continuous trading ends at 3:15 PM IST, followed by the Closing Auction Session until 3:30 PM IST. As regular continuous trading does…
Both Kite web and Kite Connect API use the same underlying data source. The choice between them depends on your use case and requirements.
For programmatic access to live market data and historical candle data, you can use the official Kite Connec…
You can use an HTTPS URL with port 8443 as the redirect URL for your Kite Connect app. Please ensure that the URL is correctly configured in the Developer Console.
The exchange_timestamp represents the time when the exchange sent the tick, whereas last_trade_time represents the time when the last trade occurred.
We have checked this at our end and the timestamps are reflected as per the IST (Indian Standard …
Regenerating the API secret does not invalidate an already-issued access token. The existing access token remains valid until it expires or is invalidated through another action, such as logging out or a master logout.
The regenerated API secret mu…
The missing candles are due to the introduction of the NSE Closing Auction Session (CAS). For CAS-eligible stocks, continuous trading ends at 3:15 PM IST, followed by the CAS period until 3:30 PM IST.
Since regular continuous trading does not take …
As per the Closing Auction Session (CAS) changes effective August 3, 2026, for CAS-eligible stocks, continuous trading ends at 3:15 PM IST. Accordingly, the Historical Data API provides intraday candles only up to the end of the continuous trading …
We understand your request. However, documenting every possible error type and response may not be feasible. We recommend handling errors based on the error codes and exceptions outlined in the API documentation.
1. Automated order placement and exchange requirements
For retail algo trading, the threshold is 10 orders per second (OPS) per client ID. If your order rate exceeds this threshold, exchange registration and an algo ID may be required. Strategies pl…
@zhkas
does this mean that API service is gonna degrade , cause it is free now ??
The subscription fee waiver does not mean that the Kite Connect API service quality or performance will be degraded.
The change is limited to the subscription fee f…
@OptionQuant
If i generate 8000/- plus in brokerage can i get credits for 4 apps(4*2000)? One trading account can have i think 7 or 8 api keys/apps right? I remember reading some 75000 scrip limit per trading account and 9000 limit per api key
Th…
@himanshunishad
Just to clarify, is the ₹2,000 brokerage requirement a one-time requirement, or do I need to generate ₹2,000 or more in brokerage every month to get the ₹500 developer credits and free Kite Connect subscription for the following mon…
@sgkopparam
it is not showing me any credits in the kite connect yet? i have been using kite connect for about six months now. also my brokerage paid is > 2k a month
You can check the brokerage generated in Console (end of the month).
If the c…
@daiki
Do we need to connect the Zerodha Account to Kite API? or how will Kite API know if I'm eligible?
No separate account connection is required. The criteria are that the user should be active user and generate ₹2,000 or more in brokerage duri…
Please find the concise clarification below:
1. Per-order modification limit:A maximum of 25 modifications per order applies, including SL/SL-L orders. Once reached, the order must be cancelled and a fresh order placed.
2. Cancel and replace:A new…
Please note the following regarding static IP configuration for Kite Connect API order placement:
You can configure up to two public static IP addresses — a primary IP and an optional secondary/backup IP.
The static IP is mapped at the Zerodha tr…
There is no permission to edit the username of an existing account.
We can delete the existing account and allow you to create a new one. Please provide your written confirmation/permission through the ticket authorising us to proceed with the acco…
In the example mentioned, the holdings before the sale are:
quantity: 60
t1_quantity: 40
used_quantity: 0
After selling 50 shares through CNC on the same day, the holdings will reflect:
quantity: 10
t1_quantity: 40
used_quantity: 50
The correspo…
1: The API returns: "Market orders without market protection are not allowed via API. Please set market protection or use a Limit order."
2: If the order is partially filled and the market moves beyond the applicable protection range before the enti…
`Quantity` represents the settled/realised holding quantity (T+2), while `used_quantity` represents the quantity sold from the net holding quantity during the day. The `used_quantity` is reset on the following day.
The `quantity` field is reduced c…
You may refer to this similar forum discussion.
Please ensure that you do not share or display any sensitive or confidential information on the public forum.
1. Instrument Subscription Limits
You cannot subscribe to all 10+ lakh instruments through a single WebSocket connection. Kite Connect enforces a limit of 3,000 instrument tokens per WebSocket connection. Please refer to the Kite Connect documentat…
We have verified this and found that there was a corporate action (dividend) for the FMGOETZE scrip.Kite adjusts the historical prices to account for the dividend, while other platforms may display the original, unadjusted prices. Therefore, the dif…
Generating a new access token for the same API key may invalidate the previously generated access token. The access token otherwise remains valid until its daily expiry or until it is explicitly invalidated through the logout flow. If another proces…
Only one active session can be created for a Kite Connect app/API key. However, once the session is created, the same valid access token can be used across multiple programs . You may refer to this similar discussion.
Hence, you do not need to crea…
We verified this from our end and did not observe any such significant difference. However, there may be a marginal difference in the data.
The WebSocket data may not exactly match the ticks displayed on the Kite web, as they are powered by differe…
Historical option premium data for expired Nifty option contracts is not available through Kite Connect. The Historical Data API supports active option contracts, but not expired options.
For backtesting, you would need to source expired option dat…
You need to log in manually once every day to generate a new access token. The access token cannot be refreshed or generated automatically for individual Kite Connect users.
As per the exchange requirement, users are required to complete the login …
The Kite Connect login flow requires user authentication using the login credentials and TOTP. As per the exchange requirement, a user is required to log in manually at least once a day, and we do not recommend automating the login process.
For mul…
This is usually caused by something on your end triggering Cloudflare's security checks. Try these steps:
Disable any VPN or proxy you might be using. Cloudflare often blocks traffic from shared VPN IPs.
Open the page in an incognito/priv…
You can use the ₹500 credits available in your Developer account to create the app. For further details you may write above concern to [email protected].
You need to verify your Client ID in Kite, as the Client ID provided appears to be incomplete. Please update the correct Client ID in your Developer account and try again.
Note: For security reasons, please do not share or display your Client ID pu…
The API key displayed above seems to be incorrect, please ensure you are entering the correct API key . You might find this similar discussion helpful.
PS: Make sure you don't share the app and client specific tokens on public threads.
Index and Stock F&O contracts trade until 3:40 PM, while stocks under the Closing Auction Session (CAS) have continuous trading until 3:15 PM. Accordingly, F&O historical data is available until 3:40 PM, while CAS stock data is available unt…
We do not provide historical data for expired option instruments. Historical data is available only for expired futures instruments, and that too limited to day-level candles.
As an alternative, you may set up a WebSocket connection to capture and s…
Navigate to the app details screen and verify that you have entered the correct client ID. Ensure there are no spaces at the beginning or end of the client ID. The Kite Connect APIs must be used with the same client ID that was used to create the ap…
The instruments mentioned in the query falls under the Closing Auction Session (CAS), due to which regular trading for these instruments stops at 3:15 PM. This has been applicable since August 3, 2026. Accordingly, the last available 5-minute candle…
The instrument mentioned in the query falls under the Closing Auction Session (CAS), due to which regular trading for the instrument stops at 3:15 PM.
Hence, minute candles after 3:15 PM are not available through the Historical Data API for this in…
No, weekly or monthly candles are not directly available through the Historical Data API. You need to generate the required weekly or monthly OHLC candles at your end using the daily candle data.
You can implement the required logic to aggregate th…
You may raise the support ticket under any relevant/closest category and mention the details of your requirement in the ticket description. The concerned team will review it and assist you accordingly.
GTT TSL is designed to work on the ticks recorded or displayed live on the system, and not on a fixed polling interval. When a day's high or low breaks on the chart, that value gets revised or reprinted afterward. This reprinted value may not exactl…
You can verify the Details page of your Kite Connect app in the Developer Console. This error can occur if the Zerodha Client ID mapped to the app is incorrect.
Kindly ensure the following:
You are logging in using the same Zerodha Client ID that…
We announce new API features and updates through the Kite Connect documentation, the Kite Connect forum, and the SDK repositories (including the Node.js client). We recommend monitoring these channels for the latest updates.
Once support for traili…
1. Are these rate limits enforced uniformly throughout the day, or does the Historical Data API experience additional latency or throttling during market hours due to server load?
The Historical Data API is intended primarily for backtesting and is …
The F&O market remains open until 3:40 PM, and orders can be placed during this period. However, for the Equity (stocks under CAS) segment during the Closing Auction Session (CAS), Market orders are allowed only between 3:20 PM and 3:25 PM. Afte…
If your strategy places 10 orders per second (OPS) or fewer, exchange algo registration is not required. Strategies exceeding 10 OPS need to be registered with the exchange.
For strategies within the 10 OPS limit, you may host them on your preferre…
Market orders are allowed only for BE-series stocks with a market capitalisation greater than ₹500 crore. For the Publisher Offsite Basket flow, the market_protection parameter is currently not supported. As a workaround, we recommend placing LIMIT …
RELIANCE26AUGFUT is an active futures contract. You can directly use the Historical Data API with the contract's instrument token and the required intraday interval (for example, minute). The continuous=1 parameter is not required for active contrac…
We were able to fetch historical data for the NFO segment successfully from our end. Kindly download the latest instruments file, verify that you are using the correct instrument token, and try again.
Historical data access is enabled by default wit…
We don't have an official Excel library. You can get live market data in Excel using the Kite Connect API by integrating it through third-party tools by writing custom code in Python or VBA that connects to Kite's WebSocket API.
We have shared the above concern with the relevant team. The necessary adjustments will be taken up and implemented at the earliest.
Meanwhile, we request you to raise a support ticket and track the progress through the ticket for further updates a…
To place a market order through GTT, you need to use the Market Protection parameter. You can refer to the relevant documentation for details on the available parameters and implementation.
GTT orders, once triggered, will place a limit order. You can refer to the GTT support article for more details on the order flow and functionality.
Please note that market orders are not supported through API for general orders. For use cases requ…
Close Price of the day's candle data is usually updated the next day, early morning. You can use historical data API to fetch historical day candle closes.
If you want only the previous trading day close, then you can use Quote call.
This is usually caused by something on your end triggering Cloudflare's security checks. Try these steps:
Disable any VPN or proxy you might be using. Cloudflare often blocks traffic from shared VPN IPs.
Open the page in an incognito/priva…