☰
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.8K
All Categories
112
Node JS client
35
Go client
750
.Net API client
352
Kite Publisher
530
.Net / VBA / Excel (3rd party)
420
Algorithms and Strategies
946
Java client
983
API clients
392
PHP client
3.6K
Python client
324
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.