ICICI Direct Integration
Connect your ICICI Direct account to Algrow using the Breeze API.
Breeze API
api.icicidirect.com
Prerequisites
- Active ICICI Direct trading and Demat account
- Breeze API subscription activated on your ICICI Direct account
- PAN-linked mobile number for OTP verification
- Ensure your ICICI Direct account has the required trading segments enabled (F&O, equity)
Generate API Credentials
Log in to ICICI Direct API Portal
Visit api.icicidirect.com and log in with your ICICI Direct credentials.
Create a New App
Navigate to "My Apps" and click "Create New App". Enter your app name (e.g., "Algrow Trading") and set the redirect URL to https://app.algrow.biz/api/brokers/icici/callback.
Copy API Credentials
After creating the app, you'll receive an API Key and Secret Key. Copy both and keep them secure.
Connect to Algrow
Open Broker Settings in Algrow
Go to Broker in the Algrow sidebar and click Connect Broker.
Select ICICI Direct
Choose ICICI Direct from the broker list and enter your API Key and Secret Key.
Complete Authentication
You'll be redirected to ICICI Direct to authorize the connection. Enter your login credentials and complete OTP verification.
Generate Session Token
After authorization, Algrow receives a session token. This token is valid for the trading day and needs to be refreshed daily.
Test Your Connection
After connecting, verify your setup:
- Check that the broker status shows a green dot (connected) in the Broker page
- Try placing a paper trade or forward test to verify order execution
- Check your positions in both Algrow and ICICI Direct to confirm they match
Troubleshooting
Session Expired
Breeze API sessions expire at the end of each trading day. You need to re-authenticate each morning before market opens. Algrow will notify you when a session refresh is needed.
API Rate Limits
ICICI Direct Breeze API has rate limits of approximately 10 requests per second. If you have many strategies running simultaneously, consider spacing out order placements.
Order Rejections
Common reasons: insufficient margin, market hours, segment not enabled, or lot size errors. Check the order details in Algrow's Orders page for specific rejection reasons.