Zerodha Integration

Connect your Zerodha account to Algrow using the Kite Connect API.

Zerodha

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
Kite Connect API requires a paid subscription of Rs 2,000/month directly from Zerodha. This is separate from your Algrow subscription.

Generate API Credentials

1

Create Kite Connect App

Visit developer.kite.trade, log in, and click "Create New App". Choose "Connect" as the app type.

2

Configure App Settings

Set the redirect URL to https://app.algrow.biz/api/brokers/zerodha/callback. Add a description for your app.

3

Get API Key and Secret

After app creation, note your API Key and API Secret from the app details page.

Connect to Algrow

1

Enter Credentials in Algrow

Go to BrokerConnect Broker → select Zerodha. Enter your Kite Connect API Key and Secret.

2

Authorize via Kite Login

You'll be redirected to Zerodha's login page. Enter your Kite credentials and authorize the connection.

3

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:

  1. Broker status should show green (connected) in the sidebar
  2. Run a forward test to verify paper order placement
  3. 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.