ICICI Direct Integration

Connect your ICICI Direct account to Algrow using the Breeze API.

ICICI Direct

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)
ICICI Direct Breeze API is free for existing ICICI Direct customers. Contact ICICI Direct support to enable API access if not already active.

Generate API Credentials

1

Log in to ICICI Direct API Portal

Visit api.icicidirect.com and log in with your ICICI Direct credentials.

2

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.

3

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

1

Open Broker Settings in Algrow

Go to Broker in the Algrow sidebar and click Connect Broker.

2

Select ICICI Direct

Choose ICICI Direct from the broker list and enter your API Key and Secret Key.

3

Complete Authentication

You'll be redirected to ICICI Direct to authorize the connection. Enter your login credentials and complete OTP verification.

4

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:

  1. Check that the broker status shows a green dot (connected) in the Broker page
  2. Try placing a paper trade or forward test to verify order execution
  3. 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.

Important Notes

Ensure your ICICI Direct account has adequate margin before deploying live strategies. Algrow will attempt to place orders as configured but cannot override broker-side margin requirements.