☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.2K
All Categories
0
Incidents
126
Node JS client
36
Go client
765
.Net API client
360
Kite Publisher
532
.Net / VBA / Excel (3rd party)
433
Algorithms and Strategies
964
Java client
1K
API clients
400
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.1K
General
In this Discussion
September 2022
sujith
September 2022
ratboddu
Query ohlc for intraday
ratboddu
September 2022
in
General
curl "
https://api.kite.trade/quote/ohlc?i=NSE:INFY&i=BSE:SENSEX&i=NSE:NIFTY+50
" \
-H "X-Kite-Version: 3" \
-H "Authorization: token api_key:xx"
This query output is invalid api key. But the same access token works for fetching all instruments.
ratboddu
September 2022
{"status":"error","message":"Incorrect `api_key` or `access_token`.","data":null,"error_type":"TokenException"}
sujith
September 2022
The instruments master API doesn't authenticate for legacy reasons. You will need a valid access token for fetching live market data.
ratboddu
September 2022
should I generate a new access token?
sujith
September 2022
Yes, you need to generate a new access token.
Sign In
or
Register
to comment.