Static IP for ICICI Direct Breeze API

ICICI Direct accepts Breeze API orders only from the static IP registered with your API key. A primary IP is mandatory and a secondary is optional, and you can change the IP once a calendar week. ICICI hasn't said whether it accepts IPv6, so use an IPv4 address.

Last checked against the broker's own docs on 13 November 2026

What ICICI checks

How to register your IP

  1. Get a dedicated IPv4 with its proxy details.
  2. Check the exit address: curl -x http://USER:PASS@HOST:PORT https://ifconfig.co
  3. On the Breeze API portal, register an app with the address as the Primary IP. To change it later, open View Apps and edit the IP.

Send Breeze orders through the fixed IP

The official breeze-connect client has no proxy argument but uses requests, which reads the proxy variables. Set them before importing:

import os
PROXY = os.environ["PROXY_URL"]  # http://USER:PASS@HOST:PORT
for v in ("HTTPS_PROXY", "HTTP_PROXY"):
    os.environ[v] = PROXY

from breeze_connect import BreezeConnect
breeze = BreezeConnect(api_key=os.environ["BREEZE_API_KEY"])
breeze.generate_session(api_secret=os.environ["BREEZE_API_SECRET"], session_token=os.environ["BREEZE_SESSION_TOKEN"])

The full Breeze proxy guide on GitHub has an order example, streaming and troubleshooting.

Common Breeze problems

Breeze static IP: FAQs

Does ICICI Breeze accept IPv6?

ICICI hasn't said. Its FAQ only asks for the public IP you access Breeze from. Use a dedicated IPv4 to be safe.

How often can I change my Breeze static IP?

Once per calendar week, from View Apps on the Breeze portal.

Can family members share a static IP on ICICI Direct?

Yes, if they fall under SEBI's family definition. ICICI verifies whether the accounts qualify.

Sources

Get your dedicated static IP

IPv6 ₹50 a month, IPv4 ₹200 a month, plus GST. Live in minutes, whitelisted once.

Get IPv4 · ₹200/mo + GSTGet IPv6 · ₹50/mo + GST

Other brokers

Shoonya (Finvasia)

Shoonya checks your registered IP on login and every API call, not just orders. Primary and backup IPs, why IPv4 is safer, and the Python setup.

Samco Trade API

Samco accepts API orders only from a whitelisted IPv4. One change per 7 days across your account, one client per IP, and the Python SDK proxy setup.

Zerodha Kite Connect

Zerodha Kite Connect accepts API orders only from a whitelisted IP. The rules, IPv4 or IPv6, where to add the IP, and Python code to route orders through it.

Upstox API

Upstox accepts API orders only from your registered static IP. The rules, IPv4 or IPv6, where to add the IP, and the Python SDK setup that avoids 407 errors.

Angel One SmartAPI

Angel One SmartAPI accepts orders only from your registered static IP, and only IPv4 for now. The rules, how to register the IP, and the Python setup.

Fyers API

Fyers accepts API orders only from the static IP on your Algo trading app. How the new app works, IPv4 or IPv6, and the Python setup for fyers-apiv3.

All 10 brokers