Zerodha Integration
Connect your Zerodha account to Algrow using the Kite Connect API.
Kite Connect API
kite.trade
Prerequisites
- Active Zerodha Demat and trading account
- Kite Connect API subscription (Rs 2,000/month)
- Developer account at developer.kite.trade
Generate API Credentials
Create Kite Connect App
Visit developer.kite.trade, log in, and click "Create New App". Choose "Connect" as the app type.
Configure App Settings
Set the redirect URL to https://app.algrow.biz/api/brokers/zerodha/callback. Add a description for your app.
Get API Key and Secret
After app creation, note your API Key and API Secret from the app details page.
Connect to Algrow
Enter Credentials in Algrow
Go to Broker → Connect Broker → select Zerodha. Enter your Kite Connect API Key and Secret.
Authorize via Kite Login
You'll be redirected to Zerodha's login page. Enter your Kite credentials and authorize the connection.
Token Generation
After successful login, Algrow generates an access token for the session. This token is valid until the next trading day.
Test Your Connection
Verify the connection is working:
- Broker status should show green (connected) in the sidebar
- Run a forward test to verify paper order placement
- Check the Orders page for successful test orders
Troubleshooting
Daily Re-Login Required
Kite Connect tokens expire daily. You must re-authenticate each morning. Algrow sends a notification and email reminder when your session expires.
Postback URL
Set the postback URL in your Kite Connect app settings to receive real-time order updates. Use: https://app.algrow.biz/api/brokers/zerodha/postback
Token Invalid Error
If you see "Token invalid" errors, re-authorize through the Broker page. This typically happens when the session has expired or was revoked.