It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Automatically getting request token
Is there any way possible to generate the request token automatically ?
Currently I have to login in my account and generate the request token manually.
I know there are exchanges regulations and approval required. I am willing to go for those approvals.
Additionally, what is the life time of a request token ? For example, if i generate the request token today, can I use the same token next day if my system remains logged in?
I have experienced that the public key for websocket can be used for multiple days but have not seen the same case for access token.
Any help would be appreciated.
can't retrieve access token
Login automation is not allowed by exchange. So we don't allow users to automate fetching request token.
Request token is valid for 5 minutes.
Thanks for the quick answer!
I just want to know if I have logged in into the system using a request token, can I use it to send orders next day if my systems remains logged in overnight?
And secondly, How can I get the exchange approval to generate the request token automatically. Does Zerodha assist in it ?
Request token is valid only for 5 minutes.
Access tokens are flushed every morning, So you have to login everyday.
Regarding exchange permission, please email to
, at this time the exchanges wouldn't be open to allow retail traders to automate.
What are the requirements to become a professional/institutional trade by exchange in this regard ?
I need to run my code daily without requirement of a manual daily login . How can I achieve it ?
Please email to