☰
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
12.5K
All Categories
100
Node JS client
35
Go client
741
.Net API client
345
Kite Publisher
528
.Net / VBA / Excel (3rd party)
412
Algorithms and Strategies
920
Java client
958
API clients
389
PHP client
3.5K
Python client
318
Mobile and Desktop apps
1.2K
Market data (WebSockets)
3K
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.