Broker guide

Upstox

Your Servloci allocation is ready. Complete broker whitelisting and verification before using it for live orders.

Last verified2026-07-29
IP familyipv6
API scopeUpstox Developer API order traffic on api.upstox.com.
Official sourceOpen source

Prerequisites

  • Create or select the correct Algo Trading App in Upstox My Apps.
  • Confirm the Servloci egress test matches the IPv6 assigned to this account.
  • Use remote DNS through SOCKS5 so the request retains api.upstox.com as its destination.

Individual-account instructions

  • Open My Apps, choose the Algo Trading App, then open Static IPs.
  • Set the assigned IPv6 as the primary or secondary address and save.
  • Generate a fresh access token if Upstox invalidates the existing token after the IP change.
  • Run a non-order API check before enabling live order placement.

Family instructions

  • Do not reuse one app/IP approval for an unrelated trading identity.
  • Use a separately approved app and allocation where the account relationship requires it.
Family sharing requires the broker’s documented approval. Servloci can prepare the setup or request, but cannot approve it on the broker’s behalf.

Servloci proxy configuration

shell
curl -s --socks5-hostname PROXY_USER:PROXY_PASS@comm.servloci.in:1080 https://api6.ipify.org

Allow the route to proceed only when the observed address matches the allocation shown in the portal.

Common errors

  • The IP was updated but the bot kept using an access token invalidated by that change.
  • The client used local DNS and sent a raw destination IP instead of api.upstox.com.