403 forbidden

digvijaybahree
I am unable to use kite connect 3 API to fetch qoutes (https://kite.trade/docs/connect/v3/market-quotes/#market-quotes)

I am getting response as

response code - 403 forbidden
{
"status": "error",
"message": "Incorrect `api_key` or `access_token`.",
"data": null,
"error_type": "TokenException"
}


I have created an app - test1
I am able to get results from instrumentation API (https://kite.trade/docs/connect/v3/market-quotes/#instruments)
i am calling qoutes API directly from postman. I have not done login before calling this API.

I am interested in getting PCLOSE value of stocks. Preferably Instruments API (https://kite.trade/docs/connect/v3/market-quotes/#instruments)

but

i am getting all zero values for last price.


Curl request :

curl --location 'https://api.kite.trade/quote?i=NSE:INFY' \
--header 'X-Kite-Version: 3' \
--header 'Authorization: token {api_key}:{api_secret}' \
Sign In or Register to comment.