Institutional-Grade Trading APIs
High-Speed Trading Starts Here
Get Started
Generate your access link instantly
Real-Time Market Intelligence
Authentication
API Key · Bearer Token · IP Whitelist
Portfolio APIs
Holdings · Positions · Order Book
Ordering APIs
Place · Modify · Cancel · Trade History
Market Data APIs
LTP · Quotes · OHLC · Depth
Smart Order APIs
GTT · Bracket · OCO · Cover Orders
Historical Data
Candles · WebSocket · Live Feed
from bigulapi import BigulAPI
# Your API credentials from the dashboard
API_KEY = "your_api_key"
SECRET_KEY = "your_secret_key"
# Initialize — token is auto-generated & attached to every request
bigul = BigulAPI(api_key=API_KEY, secret_key=SECRET_KEY)
# All requests carry the Authorization header automatically:
# Authorization: Bearer <access_token>
import requests
headers = {
"Authorization": "Bearer your_access_token",
"Content-Type": "application/json"
}
response = requests.get(
"https://api.bigul.app/v1/user/profile",
headers=headers
)
print(response.json())
from bigulapi import BigulAPI
bigul = BigulAPI(api_key="YOUR_KEY", secret_key="YOUR_SECRET")
# Fetch long-term equity holdings
holdings = bigul.get_holdings_for_user(timeout=5)
for h in holdings:
print(f"{h['symbol']}: {h['quantity']} qty | P&L: ₹{h['pnl']}")
# Intraday & short-term positions across segments
positions = bigul.get_positions_for_user(
segment=bigul.SEGMENT_CASH # SEGMENT_FNO | SEGMENT_CDS
)
for p in positions:
print(f"{p['symbol']}: {p['net_qty']} | MTM: ₹{p['mtm']}")
# Full order history for the current trading day
orders = bigul.get_order_book()
for order in orders:
print(
f"{order['order_id']} | {order['symbol']} | "
f"{order['status']} | {order['quantity']} qty"
)
# Buy 10 shares of INFY at ₹1450 (Delivery)
order = bigul.place_order(
symbol = "INFY",
transaction_type= "BUY",
quantity = 10,
price = 1450.00,
product_type = "DELIVERY", # INTRADAY | MARGIN
order_type = "LIMIT" # MARKET | SL | SL-M
)
print(f"Order ID: {order['order_id']}")
# Update price or quantity of a pending order
modified = bigul.modify_order(
order_id = "ORD_123456789",
price = 1440.00,
quantity = 15
)
print(modified['status'])
# Cancel an open or pending order by ID
result = bigul.cancel_order(order_id="ORD_987654321")
print(result) # {"status": "cancelled"}
# All executed trades for the current session
trades = bigul.get_trade_book()
for t in trades:
print(
f"{t['trade_id']} | {t['symbol']} "
f"@ ₹{t['trade_price']} x {t['quantity']}"
)
# Lightweight single-symbol price fetch
ltp = bigul.get_ltp(symbol="NIFTY")
print(f"NIFTY LTP: ₹{ltp['price']}")
# Full snapshot — LTP, OHLC, volume, change%
quotes = bigul.get_quotes(
symbols=["NIFTY-50", "TCS", "RELIANCE", "HDFCBANK"]
)
for sym, q in quotes.items():
print(f"{sym}: ₹{q['ltp']} | Chg: {q['change_pct']}% | Vol: {q['volume']}")
# Top 5 bid/ask levels for any symbol
depth = bigul.get_market_depth(symbol="SBIN")
print("BIDS:")
for bid in depth['bids'][:5]:
print(f" ₹{bid['price']:>10} x {bid['qty']}")
print("ASKS:")
for ask in depth['asks'][:5]:
print(f" ₹{ask['price']:>10} x {ask['qty']}")
# Trigger a buy when TATASTEEL hits ₹120.50 — valid 365 days
gtt = bigul.place_gtt_order(
symbol = "TATASTEEL",
transaction_type= "BUY",
trigger_price = 120.50,
limit_price = 121.00,
quantity = 50,
expiry_days = 365
)
print(f"GTT ID: {gtt['gtt_id']}")
# Entry with automatic SL + Target in one shot
bracket = bigul.place_bracket_order(
symbol = "SBIN",
quantity = 100,
entry_price = 580.00,
stop_loss = 575.00, # Auto-SL 5 pts below
target_price= 595.00 # Auto-target 15 pts above
)
print(f"Bracket Order ID: {bracket['order_id']}")
# Market entry with a mandatory stop-loss leg
cover = bigul.place_cover_order(
symbol = "NIFTY",
transaction_type= "BUY",
quantity = 50,
stop_loss = 22400.00
)
print(cover)
# OHLCV candles for backtesting & charting
candles = bigul.get_historical_data(
symbol = "NIFTY",
interval = "15minute", # 1minute | 5minute | day | week
from_date= "2026-01-01",
to_date = "2026-05-20"
)
for c in candles[:5]:
print(
f"{c['time']} O:{c['open']} H:{c['high']} "
f"L:{c['low']} C:{c['close']} V:{c['volume']}"
)
from bigulapi import BigulAPI, WebSocketClient
bigul = BigulAPI(api_key="YOUR_KEY", secret_key="YOUR_SECRET")
ws = WebSocketClient(bigul)
def on_tick(tick):
print(f"[TICK] {tick['symbol']}: ₹{tick['ltp']}")
def on_connect():
# Subscribe to instruments after connection
ws.subscribe(["NSE:RELIANCE", "NSE:TCS", "NFO:NIFTY25MAYFUT"])
ws.on_tick = on_tick
ws.on_connect = on_connect
ws.connect() # Starts event loop
Unmatched Execution Speed
Fast. Stable. Built for Scale.
Low-Latency Execution
Ultra-low latency order execution built for automated trading systems.
UAT Trading Environment
Test and validate trading strategies in UAT before deploying to live markets.
Real-Time Options Greeks
Realtime Delta, Gamma, Theta, and Vega streams for options strategies.
Market Data APIs
Realtime WebSocket streams, historical candles, and snapshot market data.
Historical APIs
Access complete historical expired options contracts for advanced backtesting and research.
Python SDK + REST APIs
Build trading systems and automation using Python SDK and REST APIs.
Available Libraries
Python
Java
C#
Node.js
Professional Trading Api at
₹0 Cost.
No Hidden Fees. No Platform Charges.
| Feature | Bigul Connect | Other Brokers |
|---|---|---|
| API Access Fee | Free | Free (limited) / Paid plans |
| Live Market Data | Included Free | Paid add-on |
| Historical Data | Included Free | Paid plan required |
| Recommendation API | Included Free | Not Available |
| Sandbox Environment | Full Sandbox Free | Limited or Unavailable |
| AI Developer Support | 24/7 Connect GPT | Community Forums Only |
| SEBI Algo Registration Support | Full Support Pipeline | Self-managed |
| Kill Switch Support | Built-In | Exchange-level only |
| 5-Year Audit Logs | Included | Partial Support |
| Exchange Algo ID Tagging | Automatic | Manual Setup |
| SSO with Broker Credentials | Instant Access | Separate Dev Account Required |
| Multi-User Vendor Access | Native Support | Not Available |
Who Can Join Us?
Bigul Connect
Algo Platforms
Retail & Pro Traders
Wealth Management
Fintech Start-Ups
Financial Influencers
Fund Distributors
Ready to scale?
Join registered partner advisors, quantitative funds, and creators building the future of Indian trade automation.
Platform Partners
Seamlessly integrated with 30+ trading platforms and adding more every month.
And many more integrations coming soon...
Your API Pilot Has Arrived
Find answers faster with AI-powered developer assistance, API guidance, and troubleshooting through Bigul Connect GPT.
Frequently Asked Questions
How do I access Bigul Connect?
Can I use my Bigul trading credentials?
Can multiple users access the same vendor account?
Is there a session timeout security?
What is Bigul Connect?
What APIs are available?
- Trading & Order APIs
- Reports & Portfolio APIs
- WebSocket APIs
- Advanced Order APIs
- Mutual Fund APIs
- Recommendation APIs