Download
iLearn application
Elevate Your Financial Knowledge with the
ICICI Direct iLearn App
A session key is a temporary key that is only used once, during one stretch of time, for encrypting and decrypting data. This is similar to One Time Passwords (OTP) that have to be generated once in the morning to login, and help in encrypting a communication session for each app separately. This key or token expires in 24 hours after generation or at midnight.
1. Login with your ICICIdirect Account onhttps://api.icicidirect.com/apiuser/home and then navigate to ‘View Apps’ tab.

2. Click on ‘Login’ in front of the App name you want to generate the session key for:

3. You will be redirected to a new webpage. On this page click on the three dots on the upper right section of the screen, select “More tools option>>Developer tools”.
4. Select “Network tab” from the tabs appearing in the upper section and then “Payload tab” within Network tab on the section on the left side.

5. Now enter your credentials, generate OTP and login into your account

6. After successfully logging in, the following page will be visible on your screen. You can locate your session key here at two places:
1) As the end part of the URL in the address bar
2) In the API Session option, on the left side of the window.

After completing the above process, you have successfully generated the Session Key, which can be used to start using all features of Breeze API. Please note that session key is valid for 24hrs or before midnight, whichever is earlier. You will have to generate a new session key for the next trading day. Though registering an App is not required for every trading session, make sure the status of your App is active before you generate session key for it.
Congratulations, you can start coding your strategy on an IDE (Jupyter, Spyder etc.) now!
Vigilance Awareness Week 2026 promotes integrity, transparency, and ethical conduct. Join the movement and take the Integrity Pledge today.
Understand contango in commodity trading, how futures prices differ from spot prices, and how financing, storage and insurance costs influence commodity pricing.
Copper is a widely used base metal known for its electrical and thermal conductivity, strength, ductility and corrosion resistance. It is used across electrical wiring, construction, machinery, power infrastructure and several industrial applications.