☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
381
Kite Publisher
537
.Net / VBA / Excel (3rd party)
459
Algorithms and Strategies
1K
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.