Firstock offers a robust and developer-friendly trading API suite, enabling traders, developers, and institutions to build customised trading platforms and strategies.
The Firstock API is built with a modern architecture that supports RESTful calls and WebSocket for real-time data feeds, order management, and more.
Firstock helps developers build scalable trading solutions for algorithmic trading, portfolio management, or data analytics. Ideal for algo traders, FinTech startups, and analysts, it provides seamless access to market data, account management, and trading execution across multiple segments, including equities, derivatives, and commodities.
API Brokerage Charge | Free |
API Document Link | https://wikiconnect.thefirstock.com |
API Data Format | Python, C# and Node.js |
API Offer Type |
|
API Exchange Support | BSE and NSE |
API Support Features |
|
API Order Types |
|
API Demo Link | https://wikiconnect.thefirstock.com |
API Type |
Rate Limit |
Quote |
4 requests/sec |
Historical Candle |
3 requests/sec |
All Other Endpoints |
10 requests/sec |
Order Placement |
200 requests/min |
An API key is a unique code that lets you connect your app to the Firstock platform. It is required for:
Step 1: Go to the Key Generation Portal
Log in with your Firstock account credentials.
Step 2: Create Your API Key
Once you're logged in:
Make sure to copy and save them — you’ll need these for using the API.
Step 1: Go to the connect key generation and enter the firstock credentials
Step 2: Once logged in, you will find the appkey and vendor code. Please copy them and paste them into the fields in the login API.
Step 3: Upon a successful login, a status of success is returned along with a data object containing user-specific parameters.
Please keep in mind: The key expires after 365 days; a new one must be generated.
Step 4: In API Version 4 (V4), your password must be converted to SHA256 before sending it in the login request (only when using raw cURL or REST).
Step 5: If you're using the official Python package, the password encryption happens automatically.
Firstock API is a powerful tool for any serious trader or developer looking to automate strategies or build trading platforms. With REST + WebSocket support, real-time execution, SDKs, and detailed documentation, it delivers excellent value and flexibility.
This is a limited-time offer. Open a Free Demat Account online and start trading today.
Firstock Account Opening Enquiry
Information on this page was last updated on Thursday, February 22, 2024
Are you a Firstock Customer?
Free Equity Delivery
Flat ₹10 per Trade in Intraday & F&O