Alice Blue Home
Support Portal

API Basics

What can I do with the Alice Blue API?

With the Alice Blue API, you can programmatically trade in the stock market (mainly Indian markets like NSE, BSE, and MCX) and build automated trading systems or integrate trading into your software.

🔑 1. Authentication & Session Management

📈 2. Market Data (Real-time & Historical)

🛒 3. Order Management

💼 4. Positions & Holdings

💰 5. Funds & Margin

🧠 6. Build Your Own Algo Trading System

🧰 7. Customization and Integration

Who can use the Alice Blue API?

The Alice Blue API is primarily intended for registered clients of Alice Blue, especially those who want to build custom trading applications, run automated strategies, or integrate stock market data into their own systems.

Is there a cost to use the API?

Yes, you can use the Alice Blue API absolutely free of cost—there are no charges for accessing or using it. You can automate trades, fetch market data, place orders, and build your trading tools without paying any additional API fees.

What is the difference between API and Algo trading?

⚙️ 1. API Trading (Application Programming Interface)
API trading means using a broker’s API to connect your code or software to the broker’s system so you can place orders, get data, etc.

🔑 Key Features:
You write code to call APIs (like place Order(), get LTP(), etc.).
Gives programmatic access to market data, orders, and holdings
Requires manual or automated trigger (depends on your use)

🤖 2. Algo Trading (Algorithmic Trading)
Algo trading is a fully automated strategy where logic (math, indicators, AI) decides when and what to trade and then places trades via an API.

🔑 Key Features:
Strategy = logic + data + rules 
Works without human intervention
Trades executed automatically via API
Often requires SEBI approval for full automation in India