BlitzConnect API Reference¶
REST and WebSocket APIs for algorithmic trading on the Blitz platform — place and manage orders, stream live market data, manage portfolios, and more.
This section covers the BlitzConnect API using SDK usage examples. For raw REST API docs, see REST API Reference.
-
Orders & Trading
Place, modify, cancel orders in real time. Manage positions, view trade history, and receive signals.
-
Market Data
Real-time LTP, market quotes, option chains, instrument master, and historical candle data.
-
Realtime & Streaming
WebSocket streaming for order updates, portfolio events, and statistics.
Base URLs¶
| Service | URL |
|---|---|
| Auth | https://{baseurl}/api_gateway/v1 |
| Interactive API | https://{baseurl}/api_interactive/api/v1 |
| Market Data | https://{baseurl}/md-api |
| Instruments | https://{baseurl}/v1/api |
WebSocket endpoints follow the same pattern: ws://<host>/api_interactive/ws?access_token=<jwt> (interactive) and ws://<host>/md-streaming/ws?key=<jwt> (market data).
Getting started¶
- Get credentials —
app_key+user_idfrom the Blitz portal. - Authenticate — Call the login endpoint to get an
access_token. - Use the SDK — BlitzConnect SDK provides Python and C# libraries.