Reimagine Algo Trading with
Explore Trade API Python SDK on GitHub.
Kotak-neo / kotak-neo-pythonWhat’s Possible with Neo Trade APIs? Almost Everything
Place trades, track portfolios, and access market data using APIs.
New to Algo Trade? Start in
3 simple steps
Getting started with Kotak Neo Trade APIs is quick and straightforward.
Get your API Access Token
Create your API token instantly from the Kotak Neo app using a single tap setup.
Set up TOTP
Set up two-factor auth using Google or Microsoft Authenticator for secure API login and whitelist your IP.
Whitelist IP & Place Your First Order
Whitelist your static IP, then place Limit, Stop-loss, or AMO orders via API.
High-Speed Execution.
Zero Brokerage. Unlimited Scale.
Kotak Neo Trade API handles millions of trades daily - with <50ms average order execution and zero brokerage charges.
Explore More about Trade APIs
The Kotak Neo Trade API lets you unlock full trading automation — from placing orders to tracking portfolios — all through code.
Frequently Asked Questions
Got questions? We've got answers. Find everything you need to know about using our platform, plans, and features.
A trading API allows you to connect your trading account with an app or software to view market data and place orders digitally. It removes the need for manual clicks on a trading platform and enables account access through technology.
To use an API in trading, you enable API access for your trading account and connect it to an app or software of your choice. Once connected, you can view market prices, place orders, and track your account digitally in an organised way.
Kotak NEO Trade API is suitable for users who want better control, automation, or customization in how they monitor markets and manage trades. It is commonly used by active traders, developers, and users building their own trading tools.
To access the API, follow these steps:
Login to your Kotak Neo account Go to Invest > Trade API > API Dashboard You can generate your API access token, view documentation links, and manage whitelisted IPs.
TRADE API as a Product/feature/ service is free of cost at present – i.e. no subscription charges for using this service. For brokerage charges on order placed using Trade API, please refer Trade API brokerage applicable FAQ.
A trading API helps reduce manual effort and improves consistency by allowing actions to be handled through systems or applications. It is useful for users who prefer structured workflows, data-driven decisions, and scalable trading setups.
You get instant access. Once you generate your token and register your static IP, your account is ready to use immediately.
- Copy your access token from the API Dashboard.
- Register your TOTP (Google Authenticator, Microsoft Authenticator, etc.) to generate 6-digit login codes.
- Use the access token and hit the respective API endpoint along with correct headers and request body.
- Refer documentation for detailed guidance.
TRADE API as a Product/feature/ service is free of cost at present – i.e. no subscription charges for using this service. For brokerage and other charges on order placed using Trade API, please refer Trade API brokerage applicable FAQ.
Yes. Neo Trade APIs are 100% RESTful and language-agnostic. Whether you code in Python, Java, C#, Node.js, or Go - you can connect easily using HTTP libraries or SDKs.
Yes. After authenticating with your access token and TOTP, you will receive session credentials. With these, you can:
- Place orders (Market, Limit, Stop-loss, CO, BO, AMO)
- Modify/Cancel orders
- Access order book, trade book, positions, holdings, margins
Brokerage is ₹0 per order on all trade free plans when you place trades via Neo Trade APIs. Only standard exchange, SEBI, GST and statutory charges apply. However, for Bracket Orders, while the initial order has zero brokerage, the square-off leg will attract standard brokerage charges.
Currently, the system supports up to 10 orders per second.
Yes. Any customer with a trading account on Kotak Neo can request API access by generating their access token and registering their static IP.
Neo Trade API supports all major product types:
- CNC - Delivery trades
- MIS - Intraday trades
- NRML - Normal/F&O trades
- CO - Cover Orders
- BO - Bracket Orders
- AMO - After Market Orders
If you’ve forgotten or no longer have access to your TOTP, you can reset it by deregistering and then registering again. Follow these steps:
- Go to the TOTP setup link here
- Enter your mobile number
- Generate and submit the OTP
- Click on “De-register” to remove the existing TOTP
- Once deregistered, you can register again by completing the same setup flow.
This will configure a fresh TOTP and restore access for Trade API usage.
As per SEBI regulations, market orders are not allowed for retail algo trading. Kotak Neo recommends using limit orders for better price control and execution.
If you still place a market order, it will be automatically converted into a limit order using a protection price based on the Last Traded Price (LTP):
- Buy orders → limit price set slightly above LTP
- Sell orders → limit price set slightly below LTP
This protection range depends on the instrument and price:
Equity & Futures (EQ / FUT):
- Below ₹100 → within 2% of LTP
- ₹100 to ₹500 → within 1% of LTP
- Above ₹500 → within 0.5% of LTP
Options (OPT):
- Below ₹1 → ₹0.10 fixed
- ₹1 to ₹5 → 10% of LTP
- ₹5 to ₹10 → 5% of LTP
- ₹10 to ₹100 → 3% of LTP
- ₹100 to ₹500 → 2% of LTP
- Above ₹500 → 1% of LTP
Important:
- If LTP is unavailable for options, the order will be rejected
- Even if you place a market order, it will show as a limit order in the order book
- The same logic applies to AMO (After Market Orders)
- For precise and predictable execution, always use limit orders.
Top Blogs for you
The Kotak Neo Trade API lets you unlock full trading automation — from placing orders to tracking portfolios — all through code.
Note : Trade API access and associated credentials are meant exclusively for the client’s own use. Clients must not share their trading password, OTP, API key, secret key, access token or other login credentials with any person, including any unregistered or unauthorised investment adviser, portfolio manager, algo provider or third-party platform. Clients should also not permit any third party to access their trading account or route orders using the client’s registered or whitelisted static IP address.
Before subscribing to an automated trading facility or strategy, clients should verify the regulatory status and exchange empanelment or approval, as applicable, of the service provider and the algo. Sharing account access or allowing unauthorised API-based trading may result in unauthorised trades, financial loss, misuse of client data and suspension or withdrawal of API access. Clients should not subscribe to schemes or strategies promising assured, guaranteed or unusually high returns. Clients should familiarise themselves with the API functionality, technical requirements, security controls, order flows, limitations and associated risks before using the facility.












