Skip to main content

Developers API

Home / Developers API / Platform Overview

Developers API

Platform Overview

The Developer API grants programmatic access to trading capabilities and market data, allowing you to integrate powerful brokerage features into your own applications. By working with this API, you can automate order flows, retrieve in-depth market data, and build custom dashboards or workflows tailored to your needs.

What Is the Developer API?

The Developer API is a set of REST and WebSocket endpoints that unlock the same capabilities offered on our official trading platforms:

  • Place & Manage Orders: Submit buy/sell, cancel or modify existing orders, and track fills in near-real time.
  • Obtain Market Data: Fetch quotes (intraday or EOD), obtain historical candlesticks, and subscribe to real-time feeds.
  • Access Account Details: Retrieve balances, positions, or holdings to incorporate into your own analytical or UI solutions.

Why Use the Developer API ?

  • Automate Trading: Reduce manual errors by scripting repetitive tasks, from placing bracket orders to scanning for specific market conditions.
  • Build Custom Interfaces: Design a user experience that aligns with your brand or user flow (no reliance on pre-built UIs).
  • Leverage Real-Time Data: Tap into live quotes, immediate order updates, and comprehensive WebSocket feeds for time-sensitive decisions.
  • Scale & Innovate: Start small with basic integrations, then expand as your requirements grow—thanks to the platform’s modular, scalable design.

Benefits for Developers

1. Flexible Integration

  • Connect the API to your CRM, analytics dashboard, or any custom application—your workflows remain central.

2. Performance & Security

  • Enjoy low-latency data delivery, token-based authentication, and encryption standards that protect every request.

3. Real-Time Feeds

  • Use WebSocket endpoints for immediate updates on order statuses, market prices, or triggers—ideal for algorithmic trading or alert systems.

4. Developer-Focused Docs & Support

  • Access structured documentation with detailed error handling, versioning, and code examples. A dedicated support channel helps you troubleshoot any integration hurdles.

Typical Use Cases

  • Algorithmic Strategies: Automate intraday or overnight strategies with minimal human oversight.
  • Custom Dashboards: Build a user-friendly UI reflecting your brand and design, from watchlists to advanced charting.
  • Data-Driven Apps: Pull historical data and real-time quotes for analytics, AI/ML tools, or research platforms.
  • Portfolio & Risk Management: Summarize holdings, track exposures, and rebalance across accounts without manual steps.

Next Steps

  • Get Credentials: Learn how to generate API keys and manage vendor codes in our Authentication & Key Generation section.
  • Understand Requests & Responses: Review JSON formats, error structures, and versioning details in Request & Response Overview.
  • Explore Market Data: Check endpoints for quotes, historical candlesticks (intraday/day intervals), and advanced data in Market Data & Historical.
  • Place Orders & Manage Trades: See how to submit, modify, and track your orders from creation to fulfilment in Order Placement.
  • Rate Limits & Error Handling: Familiarize yourself with throughput constraints (rate limits) and best practices for dealing with error responses.

Additional Resources

  • FAQ & Troubleshooting: Refer to Common Queries if you encounter typical errors or usage issues.
  • Versioning Details: Stay updated on changes between older versions and the current release for a smooth upgrade path.
  • Support Channels: Need more help? Contact our Support Desk or join the developer community forums to share insights.

Final Note

The Developer API is designed with a developer-first mindset, balancing robust feature sets with user-friendly documentation. Whether automating trading strategies or building advanced analytics, it provides the tools and infrastructure to bring your financial innovations to life. If you’re new, start with Key Generation and Place Order examples, then scale up to more complex requests as your application evolves.

Footer

Take control of your wealth with Firstock. Track your investments, trade wisely—all in one easy-to-use platform.

Download the App now

Invest in Stocks, Mutual Funds, IPOs, Bonds, ETFs & Futures, Options,

© 2025 Firstock. All rights reserved.

Firstock Broking Pvt Ltd

  • No 350,1st Floor, 36th A Cross 7th Main Rd 5th Block Jayanagar, Bengaluru, KA 560041.
  • NSE​ &​ BSE – SEBI Registration No.: INZ000260334
  • CDSL: Depository services – SEBI Registration No.: IN-DP-67-2015 Mutual Fund ARN: 132812
  • For any complaints pertaining to securities broking please write to complaints@firstock.in for DP related to depository@firstock.in Please ensure you carefully read the Risk Disclosure Document as prescribed by SEBI.

    Attention Investors:

    Investments in the securities market are subject to market risks. Please read all related documents carefully before investing.

    Prevent Unauthorized Transactions in Your Trading/Demat Account:
    Update your mobile number and email ID with your stock broker or depository participant. Receive alerts and information about your transactions on your registered mobile number/email for all debit and other important transactions in your trading/demat account directly from the Exchange/CDSL on the same day.

    KYC is a one-time exercise while dealing in the securities market.
    Once KYC is completed through a SEBI-registered intermediary (broker, DP, mutual fund, etc.), you do not need to undergo the same process again when approaching another intermediary.

    No need to issue cheques when subscribing to an IPO.
    Simply write your bank account number and sign the application form to authorize your bank to make the payment in case of allotment. There is no worry about refunds, as the money remains in the investor's account.

    Procedure to file a complaint on SCORES (Easy & Quick): Register on the SCORES portal and keep the following mandatory details ready: Name, PAN, Address, Mobile Number, and Email ID.

    Benefits: Effective communication and speedy redressal of grievances.{" "}

    Dear Investor,

    If you are subscribing to an IPO, there is no need to issue a cheque. Please write your bank account number and sign the IPO application form to authorize your bank to make the payment in case of allotment. In case of non-allotment, the funds will remain in your bank account. As a business, we do not provide stock tips and have not authorized anyone to trade on behalf of others.

    Important:

    Stock brokers can accept securities as margin from clients only by way of a pledge in the depository system w.e.f. September 1, 2020.

    Update your email ID and mobile number with your stock broker or depository participant and receive OTPs directly from the depository on your registered email ID and/or mobile number to create pledges.

    Check your securities, mutual funds, and bonds in the consolidated account statement issued by NSDL/CDSL every month.

    Disclaimer:

    The Stock Exchange, Mumbai, is not in any manner answerable, responsible, or liable to any person for any acts of omission or commission, errors, mistakes, and/or violations—actual or perceived—by us or our partners, agents, associates, etc., of any rules, regulations, by-laws of the Stock Exchange, SEBI Act, or any other laws in force from time to time.

    The Stock Exchange, Mumbai, is not responsible or liable for any information on this website or for any services rendered by our employees or representatives. Please refer to BSE compliance for more details.

    Investor Alert:

    Investors are requested to note that stock broker Firstock Broking Private Limited (Firstock) is permitted to receive/pay money from/to investors only through designated bank accounts, named as "client bank accounts."

    Firstock is also required to disclose these client bank accounts to the Stock Exchange.

    Hence, you are requested to use only the following client bank accounts for any transactions in your trading account with us. The details of these accounts are also displayed by the Stock Exchanges on their website under “Know / Locate Your Stock Broker.”