Reg. Address: #1108, Sector 21-B, Chandigarh – 160022
Head Office: Finvasia Tower, C-214, 4th Floor, Phase 8B, Sector 74, Industrial Focal Point, SAS Nagar (Mohali), Punjab – 160055
Corporate Office: Finvasia Securities Private Limited, 23rd Floor, Sunshine Tower, Plot No. 616, Senapati Bapat Marg, Dadar West, Parel, Mumbai, Maharashtra – 400013, India
NSE Clearing Member: M51912, NSE Member Code: 14846, BSE Member Code: 4043, MCX Member ID: 55135.
SEBI Reg: INZ000176037 (Cash, F&O, CDS, Commodity), AMFI ARN: 103331, CDSL DP ID: 12084300, SEBI Regn : IN-DP-317-2017
Research Analyst SEBI Regn. No. INH000011927
Smart Online Dispute Resolution | Grievances Redressal Mechanism
Overview
Shoonya only accepts authenticated API requests from IP addresses you've explicitly registered against your Client ID. Before you can complete the OAuth login flow or call any endpoint, you need to whitelist the static IP (or IPs) your requests will come from, using the API Key Generation screen inside the trading account.
Purpose
This is a one-time (or occasional, if your server IP changes) setup step — do this before writing any integration code, not while debugging a mysterious auth failure. It's also where you'll find your
Client IDandSecret Code, both required inputs for the GenAcsTok checksum.Steps
secret_codeinput to the GenAcsTok checksum. Treat it like a password; never commit it to source control.https://api.shoonya.com/OAuthlogin/authorize/oauthif you registered an IPv4 address, orhttps://trade.shoonya.com/OAuthlogin/authorize/oauthif you registered an IPv6 address. See IP address format below.IP address format
Both IPv4 and IPv6 are supported for the primary/backup IP fields. Both full and compressed IPv6 formats are accepted. For example,
2001:0db8:0000:0000:0000:ff00:0042:8329and the compressed format2001:db8::ff00:42:8329are valid IPv6 addresses.The domain you use for the OAuth authorize URL depends on the IP version your requests originate from:
api.shoonya.comhttps://api.shoonya.com/OAuthlogin/authorize/oauthtrade.shoonya.comhttps://trade.shoonya.com/OAuthlogin/authorize/oauthIPv4 is enabled on the
api.shoonya.comdomain. If your server connects over IPv6, change the domain in the redirect/authorize URL totrade.shoonya.com.Order-rate checkbox and Algo ID
The "Applicable for more than 10 orders per second" checkbox is not a self-service performance toggle — ~10 orders/sec is the standard per-user order-placement ceiling described on Rate Limits. To legitimately exceed it, you must first submit your strategy to the exchange and obtain a SEBI Algo ID; see SEBI Algo ID Framework for the approval process. Checking this box without a corresponding exchange-approved Algo ID does not raise your actual throughput — it only tells Shoonya to expect Algo ID-tagged traffic.
After whitelisting
Once your IP is registered, continue to Manual Authentication (OAuth) to run the authorize → code → checksum → access-token exchange using the Client ID and Secret Code from this screen.
Troubleshooting
api.shoonya.com— IPv6 connections must usetrade.shoonya.cominstead.Notes
See For Vendors / Partners if you're integrating on behalf of multiple end users rather than trading a single account — vendor platforms generally handle IP whitelisting differently than a standalone OAuth user.