Static IP for Upstox API

Static IP for Upstox API

Upstox developer apps can restrict traffic to listed IPs. A dedicated Mumbai IPv4 is simpler than maintaining an office WAN or AWS elastic IP that moves on rebuild.

Upstox API facts

How to whitelist a static IP

  1. Allocate Algo-IP IPv4 after KYC.
  2. Paste it into the Upstox app allowed-IP list.
  3. Set HTTP proxy 443 for REST and market-data clients.
  4. Verify the public IP through the proxy before live orders.

Python / proxy hint

Configure the Upstox SDK HTTP client proxy to HOST:443.

Common errors

Upstox origin / IP error

The SDK opened a direct connection. Force the proxy at process level so WebSockets cannot bypass it.

Related guide: upstox-api-static-ip-whitelisting-guide. Also see dedicated IPv4, trading proxy and all brokers.

Other broker setups