Free Account Opening + AMC Free Demat
Loading...

Alice Blue API (Algo Trading) Review


-2.56% 161,168 Clients

Alice Blue Account Opening Enquiry

Get equity delivery trading in Rs 20 per executed order or 2.5% whichever is lower and Flat Rs 20 intraday and F&O trade brokerage. Open Instant Account online with Alice Blue and start trading today.

Alice Blue provides a set of FREE APIs for trading through ANT Plus to its clients and partners. ANT plus by Alice Blue is a collection of reliable APIs that allows you to build your own trading platform or Algo trading application.

Alice Blue API is a set of HTTP/JSON-powered APIs that allows users to access live market feeds, speedy order execution, manage investment portfolios, and much more. Alice Blue API supports all the major languages like Python, JSON, and JavaScript. It alsofacilitates the integration of your trading platform with third-party tools like MT4, Amibroker, or website to get data and punch orders.

Alice Blue APIs provide a confidential key that helps traders establish a connection between their algorithm and Alice Blue's trading platform to obtain real-time market data and live market order placements.

Refer Alice Blue API documentation for more details.


Alice Blue API Benefits

  • Lifetime free-of-cost APIs.
  • Allows users to develop a customized trading platform as per their needs.
  • Access live market data for real-time market information.
  • Supports various programming languages like Python, JSON, and JavaScript.
  • Allows integration of your trading platform with third-party tools like MT4 and Amibroker.
  • Available for both - Alice Blue Clients and Partners.
  • Option for a non-programmer to choose from Alice Blue's four proven automated strategies having up to 75% success rate.

Alice Blue API Cost

Alice Blue API is available free of cost. There are no monthly or one-time charges to access Alice Blue API for any of the Alice Blue investors that include Alice Blue clients and partners. You need to open an account with Alice Blue to start free API trading.

Alice Blue offers only Interactive API and Feeds API. Alice Blue does not provide historical data API.

Alice Blue API Pricing

Interactive (Trading) API cost

Rs 0 (Free)

Feeds API Cost

Rs 0 (Free)

Alice Blue API Features

Feature

Description

Broking APIs offered

  • Interactive API (Trading API)
  • Feeds API (Websocket API)

Language Used

HTTP/JSON

Language Supported

Python, JSON, Javascript

Exchanges and Segments supported

BSE, NSE, NFO (NSE F&O), CDS (Currency Derivatives), MCX (Commodities), BFO (BSE F&O)

Product Types available

  • CNC (Cash and Carry)
  • NRML (Normal)
  • MIS (Margin Intraday Square Off)
  • CO (Cover Order)
  • BO (Bracket Order)

Real-Time data

Yes

Rate Limits

No Rate Limits applied currently. (Recommended to ping server at a gap of 30 seconds)

Supported features in trading app

All Basic features

  • Login Authentication
  • End to end trading functionalities that include Order placement, cancellation, modification
  • Order history
  • Market feeds
  • Orderbook, Tradebook
  • Portfolio and Holdings
  • Logout

Integration with third-party tools and software

MT4, Amibroker, Algoji

Order Types Available

Limit, Market, Stop Loss, Stop Loss Market


Alice Blue API Demo



Alice Blue API login

Alice Blue offers ANT Plus APIs to individuals and business partners who have an account with Alice Blue. If you do not have an account with Alice Blue, open an account with Alice Blue to access the free ANT Plus API.

ANT Plus API gives users programmatic access to the trading platform of Alice Blue that helps faster trade execution, multiple order placement, managing user portfolio, live market feeds, and much more.

Steps to get Alice Blue API access:

  1. Contact Alice Blue Support team or drop an email to api@aliceblueindia.com to access API.
  2. Post you get a response from Alice Blue, log in to the develop-api.aliceblueonline.com (Developer Console) to generate API Key.
  3. Click on Create App.
  4. Enter App Name.
  5. Enter Redirect URI as https://ant.aliceblueonline.com/plugin/callback.
  6. Click on Create App.
  7. Copy the App Id and App Secret required to generate an access token.
  8. Create access token using 'login and_get_access_token()' function with your username, password, 2FA (year of birth), App id and App secret.
  9. Once you have your access_token, you can start working with the Alice Blue APIs.

Types of Alice Blue API


1. Alice Blue Interactive API

Alice Blue Interactive APIs are the trading APIs that help to place, modify, and cancel trading orders of different types like regular orders, after-market orders, basket orders, and bracket orders.

Alice Blue Interactive APIs also help users manage user portfolios, access Orderbook, Tradebook, Holdings, and much more. You can also use the Alice Blue APIs to connect with any third-party Algo trading software like MT4, Amibroker, Algoji. etc., to set up your trading strategies and automate trading.

Alice Blue API for Algo Trading

Alice Blue API can help users with algorithmic trading. Using Alice Blue API, you can convert your trading ideas into trading strategies and build your own algorithmic trading system for systematic trading using Alice Algo. If you do not have programming knowledge, Alice Blue offers a facility to choose from its four proven automated strategies that have up to 75% success rate.

  • Money Machine (Free)
  • Eagle Strategy (Rs 1999)
  • Intramax (Rs 2499)
  • Supertrend (Rs 1999)



2. Alice Blue Feeds API

Alice Blue Feeds API is the WebSocket API for market feeds. The WebSocket API allows you to receive market data for multiple instruments across exchanges in the live market. You can either get the Compact or Full Market snapshot as desired.


Alice Blue API Example

Alice Blue API makes trading easy and convenient for traders. Let us see some examples of how Alice Blue APIs are useful for traders:


Alice Blue Interactive API Example:

Alice Blue Algo trading helps speedy order placement, which is very important for trading considering the dynamic markets that change every millisecond.

For example, you decide to buy Nifty when it is trading at 9000. However, while you place an order, the Nifty price increases to 9010. Thus, increasing your buy price by Rs. 10 per share. This clearly shows the importance of timing and quick order placement in trading. Using Alice Blue Algo trading applications, traders can place orders in seconds to gain market advantage.


Alice Blue WebSocket API Example:

The Alice Blue WebSocket API allows you to subscribe to multiple instruments at the same time. Using the Feeds API, you can access the live Quotes, Market Depth, Open, Low, High, Close data across exchanges from the live market.


Alice Blue API Support

Alice Blue provides only email support to resolve any issues related to API. There is no specific Alice Blue API forum or call support available for API queries.

Alice Blue API Support Email ID: api@aliceblueindia.com

Alice Blue also has a GitHub wherein you can check for guidance if your issue is a part of the existing queries. The Alice Blue GitHub is managed by Unofficed, the strategic partner of Alice Blue for Git.


Conclusion

Alice Blue offers a set of free and simple APIs through ANT Plus to Alice Blue clients and partners across segments for a great trading experience and efficient trading practice. Using these APIs, users can build their customized trading platform as per their requirements. Alice Blue APIs help you in super-fast order placement, order modification, cancellation, detailed scrip information, live market quotes, and much more. The APIs are available in multiple languages and offer a secure trading experience.

Alice Blue Special Offer

Free Equity Delivery Trade

Trade equity delivery in Rs 20 per executed order or 2.5% whichever is lower. Pay flat Rs 20 per trade for Intra-day and F&O. Open Instant Account online with Alice Blue and start trading today.

Frequently Asked Questions

  1. 1. What is API Alice Blue?

    Alice Blue offers free API services to its clients and partners through ANT Plus. Alice Blue offers Interactive and Feeds API that establishes a connection between your trading algorithm and Alice Blue's trading platform by providing you with a secret key.

    Alice Blue API helps you build your own trading platform and assist Algo trading. It also helps real-time order execution, access live market feeds, manage portfolios, and much more.

     

     

  2. 2. Does Alice Blue provide free API?

    Yes, Alice Blue provides free API to its customers and partners through ANT Plus.

    You need to have an account with Alice Blue to access Alice Blue API. Alice Blue provides only Trading (Interactive) API and WebSocket (Feeds) API.

     

     

  3. 3. How to get Alice Blue API?

    Alice Blue API (Application Program Interfaces) is a confidential key that allows you to establish a connection between your trading algorithm and Alice Blue's trading platform to obtain real-time pricing and place orders.

    To get the API, you have to send the broker a request to generate an API Key on api@aliceblueindia.com. Alternatively, you can call their Customer Support for assistance.

     

     

  4. 4. How to use Alice Blue API?

    Alice Blue offers ANT Plus free APIs to its customers and business partners. You need to have an account with Alice Blue to use Alice blue APIs. ANT Plus APIs help you build your own, customized trading platform with real-time market prices and data.

    You need to drop an email to api@aliceblueindia.com to get free access to APIs. Once you get a response from Alice Blue, you need to generate Alice Blue API keys.

    Steps to use Alice Blue APIs:

    1. Get your unique API secret by logging in to the develop-api.aliceblueonline.com.
    2. Click on 'Create an app'.
    3. Enter 'App Name' and 'Redirect URI' (https://ant.aliceblueonline.com/plugin/call back)
    4. Copy the 'App Id' and 'App Secret' required to generate an access token.
    5. Create access token using login and get_access_token() function with your username, password, 2FA (year of birth), App_id and App_secret.
    6. Once the access_token gets generated, you can start working with the Alice Blue APIs.

    You can refer to Alice Blue API documentation for more details.

     

     

Alice Blue Account Opening Enquiry

Get equity delivery trading in Rs 20 per executed order or 2.5% whichever is lower and Flat Rs 20 intraday and F&O trade brokerage. Open Instant Account online with Alice Blue and start trading today.

Alice Blue Competitors Review

Information on this page was last updated on Thursday, November 23, 2023

Special Offer: Get equity delivery trading in Rs 20 per executed order or 2.5% whichever is lower and Flat Rs 20 intraday and F&O trade brokerage. Open Instant Account online with Alice Blue and start trading today.

1 Comments

1. Dev Anshul   I Like It. |Report Abuse|  Link|October 1, 2022 5:15:03 PMReply
Very unreliable API connectivity. There was one day when orders were not going through from market open till about 11:45 AM, and I thought this might have been a one-off event. However, it seems to be indicative of more systemic technical issues with their platform, because more recently, I noticed that while developing an application using their API platform, connectivity was available for one particular instance of a command, but throughtout the rest of the day it was throwing up the same set of errors, implying no API connectivity with the programmer through most of the day. Best avoided by anyone serious about developing and deploying an algo strategy through a broker API. The API is free of cost, but there are hidden costs in terms of inability to use the API itself.