Hi, I am new to Kite connect. I am using, Dot Net API client. When I tried to log in using API key it redirects to a login page. There shows a USERID and password. So in my case, I am using a client's credential and I have only access to the https://developers.kite.trade/ site. So How do I get the request token? I have a Zerodha Id provided by the client.
I successfully connected. Thanks for the information. But my plan is to create a web job that will run every minute, and get ticker data and save it to a database. I am using C# for this. But every time I need to log in and enter request-token. Is there any solution use only access_token and public token and avoid login every time?
Ok. I understand. But if I created a web job and I manually logged in then the resultant request token saved to db. Using the saved token, can I run the web job? Or Is there any possible API URL for login process?
@nitinLogiticks Yes by using the request token you can run your Algo program. But there is no need to save the request token as it will expire next day.
@Imran, @nithinLogiticks, A request token is only valid for a couple of minutes and it can be used only once, whereas an access token is valid for the whole day.
Have look to this webinar to understand the working flow.
1.kite login https://kite.zerodha.com/ is the login for kite trading platform
2. https://kite.trade/ login is for api login
the process to log in and enter request token one-time process that will validate us for a full trading day.
We cant automate login and access token as it's against nse guidelines.
have a look here.https://kite.trade/forum/discussion/comment/16768/#Comment_16768
Yes by using the request token you can run your Algo program.
But there is no need to save the request token as it will expire next day.
A request token is only valid for a couple of minutes and it can be used only once, whereas an access token is valid for the whole day.
{"status":"error","message":"Invalid `api_key`","data":null,"error_type":"InputException"}
FYI: I have already taken the monthly subscription for API (2000)