loader2
Login OPEN ICICI 3-in-1 Account
  • Text Size
  • Text to Speech
  • Color Contrast
  • Pause Animations

What is a Session Key and how to generate it for using Breeze API?

06 May 2022|
1 min read |
by ICICI Securities Team
Article Image

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.

How can you generate your Session Key?

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! 

nSxdbrWX3bY

How to generate session key | Getting started with Breeze API ICICI Direct

Disclaimericon
Share
instagram facebook twitter linkedin mail whatsApp
Did you enjoy this article?

Related Articles

Recent Articles

View all

Vigilance Awareness Week 2026: Probity for Prosperity

Vigilance Awareness Week 2026 promotes integrity, transparency, and ethical conduct. Join the movement and take the Integrity Pledge today. 

icon5 k views icon1 minutes icon26 Oct 2026

Understanding Contango in Commodity Markets

Understand contango in commodity trading, how futures prices differ from spot prices, and how financing, storage and insurance costs influence commodity pricing.

icon1 k views icon1 minutes icon19 Oct 2026

Know Your Commodity Before You Trade: Copper

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.

icon2 k views icon2 minutes icon09 Oct 2026

Download
iLearn application

Elevate Your Financial Knowledge with the
ICICI Direct iLearn App

Download
ICICI Direct app

Elevate Your Financial Knowledge with the
ICICI Direct iLearn App