Static IP for mStock API

Static IP for mStock API

mStock is Mirae’s retail API surface. If the developer form lists an IP, register a dedicated IPv4 — not the office WAN. Confirm IPv6 and slot count in the live portal; we do not publish unverified limits.

mStock (Mirae Asset) API facts

How to whitelist a static IP

  1. Allocate Algo-IP IPv4 after KYC.
  2. Open mStock API / developer settings. Save the IPv4 only if an IP field exists.
  3. Route the HTTP client through HOST:443 so origin stays that address.
  4. Verify api.ipify.org through the same process before live orders.

Python / proxy hint

One requests Session with proxies={"https": "http://USER:PASS@HOST:443"} for every mStock HTTP call.

Common errors

No IP field in mStock?

Do not invent a whitelist. Keep the dedicated IP on the bot so you are ready when Mirae enables the check.

Related guide: broker-ip-address-whitelisting-india. Also see dedicated IPv4, trading proxy and all brokers.

Other broker setups