Query ohlc for intraday

ratboddu
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
    {"status":"error","message":"Incorrect `api_key` or `access_token`.","data":null,"error_type":"TokenException"}
  • sujith
    The instruments master API doesn't authenticate for legacy reasons. You will need a valid access token for fetching live market data.
  • ratboddu
    should I generate a new access token?
  • sujith
    Yes, you need to generate a new access token.
Sign In or Register to comment.