<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Historical Data on WebNotes</title><link>https://v2.webnotes.in/tags/historical-data/</link><description>Recent content in Historical Data on WebNotes</description><generator>Hugo</generator><language>en-IN</language><lastBuildDate>Wed, 20 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://v2.webnotes.in/tags/historical-data/index.xml" rel="self" type="application/rss+xml"/><item><title>Historical API without Kite Connect access</title><link>https://v2.webnotes.in/historical-api-without-kite-connect-access/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://v2.webnotes.in/historical-api-without-kite-connect-access/</guid><description>&lt;p&gt;For historical data on Indian equity / F&amp;amp;O without a Kite Connect subscription:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Source&lt;/th&gt;
					&lt;th&gt;Data&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;NSE / BSE bhav copy&lt;/td&gt;
					&lt;td&gt;Daily OHLC, volume; freely downloadable&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Zerodha Console&lt;/td&gt;
					&lt;td&gt;Your trade history (not market historical)&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Third-party APIs (paid)&lt;/td&gt;
					&lt;td&gt;Alpha Vantage, Quandl, etc.&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Kite chart historical&lt;/td&gt;
					&lt;td&gt;Visible on Kite charts; not API-accessible without Connect&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For programmatic / API access to historical Kite data:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Kite Connect subscription with historical data add-on.&lt;/li&gt;
&lt;li&gt;See &lt;a href="https://v2.webnotes.in/kite-connect-historical-data-api/"&gt;Kite Connect historical data API&lt;/a&gt;
 and &lt;a href="https://v2.webnotes.in/historical-vs-live-data-pricing/"&gt;Historical vs live data pricing&lt;/a&gt;
.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="free-alternatives"&gt;Free alternatives&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;NSE bhav copy:&lt;/strong&gt; Download daily files at nseindia.com.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BSE bhav copy:&lt;/strong&gt; Daily data.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Yahoo Finance / Alpha Vantage:&lt;/strong&gt; Some Indian data available.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For backtesting and analytics, free sources work; for real-time integration, Kite Connect is needed.&lt;/p&gt;</description></item><item><title>Kite Connect historical data API</title><link>https://v2.webnotes.in/kite-connect-historical-data-api/</link><pubDate>Wed, 20 May 2026 00:00:00 +0000</pubDate><guid>https://v2.webnotes.in/kite-connect-historical-data-api/</guid><description>&lt;p&gt;&lt;strong&gt;Kite Connect historical data API&lt;/strong&gt; returns OHLC candles for any instrument; requires the paid historical data add-on:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Endpoint&lt;/th&gt;
					&lt;th&gt;GET /instruments/historical/:instrument_token/:interval&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;Intervals&lt;/td&gt;
					&lt;td&gt;minute, 3minute, 5minute, 10minute, 15minute, 30minute, 60minute, day&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Lookback&lt;/td&gt;
					&lt;td&gt;Up to ~2000 candles per request&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Authentication&lt;/td&gt;
					&lt;td&gt;Kite Connect access token + historical data add-on&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="python-example"&gt;Python example&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;from&lt;/span&gt; datetime &lt;span style="color:#f92672"&gt;import&lt;/span&gt; datetime
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;candles &lt;span style="color:#f92672"&gt;=&lt;/span&gt; kite&lt;span style="color:#f92672"&gt;.&lt;/span&gt;historical_data(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; instrument_token&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;738561&lt;/span&gt;, &lt;span style="color:#75715e"&gt;# RELIANCE&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; from_date&lt;span style="color:#f92672"&gt;=&lt;/span&gt;datetime(&lt;span style="color:#ae81ff"&gt;2026&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; to_date&lt;span style="color:#f92672"&gt;=&lt;/span&gt;datetime(&lt;span style="color:#ae81ff"&gt;2026&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;5&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;20&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; interval&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;day&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# Returns list of [date, open, high, low, close, volume]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="rate-limits"&gt;Rate limits&lt;/h2&gt;
&lt;p&gt;Historical endpoint has stricter rate limits than order placement; check &lt;a href="https://v2.webnotes.in/kite-connect-rate-limits/"&gt;Kite Connect rate limits&lt;/a&gt;
.&lt;/p&gt;</description></item><item><title>Historical data for expired F&amp;O on Kite</title><link>https://v2.webnotes.in/kite-historical-data-expired-fno/</link><pubDate>Tue, 19 May 2026 00:00:00 +0000</pubDate><guid>https://v2.webnotes.in/kite-historical-data-expired-fno/</guid><description>&lt;p&gt;&lt;strong&gt;Historical data for expired F&amp;amp;O&lt;/strong&gt; on Zerodha Kite is partially available. For each specific monthly / weekly expiry contract, data exists up to and including the expiry date; post-expiry, the contract chart is no longer accessible from Kite&amp;rsquo;s standard chart interface but data may be retrievable via Kite Connect API.&lt;/p&gt;
&lt;p&gt;This article details availability across Kite&amp;rsquo;s interfaces.&lt;/p&gt;
&lt;h2 id="kite-ui-standard-charts"&gt;Kite UI: standard charts&lt;/h2&gt;
&lt;p&gt;Once an F&amp;amp;O contract expires, the standard chart UI of Kite typically doesn&amp;rsquo;t surface that contract. Selecting an expired contract from the marketwatch shows historical (typically last available) values; charting is limited.&lt;/p&gt;</description></item></channel></rss>