While25 - Programmable Trading Platform
Home
SDK
BlogCardsSupportDownload
While25

A programmable trading platform.

Download While25Book a call

Order managementRisk managementChartsAI assistantCompare

Python SDKSDKDownload

AboutBlogWhile CardsCareersSupportContact

Interactive BrokersAlpacaZerodhaUpstoxAll brokers

TermsPrivacyLicenceRiskAIAcceptable useNotices

While25 is software. It is not a broker, dealer, exchange or investment adviser, and nothing on this site is a recommendation to buy or sell any instrument. Orders you place route to your own brokerage account; While25 never holds funds or securities.

Trading carries risk of loss, including losses greater than your deposit on leveraged products. Backtests and simulations do not predict future returns. Broker and exchange names are trademarks of their owners. We plan to add Coinbase, Binance and Robinhood; you cannot connect them yet.

© 2026 While25

while25
Connect a brokerZerodha logo

Zerodha

A Kite Connect app gives you an API key and secret. The free Personal plan places orders; market data is the paid one.

About 5 minutes · Moderate · Personal API free, ₹500 a month for data · An API key and an API secret

Before you start

  • An active Zerodha account and your client ID, the one that looks like AB1234.
  • A separate developer account at developers.kite.trade, ideally on the email your Zerodha account uses.
  • There is no paper mode. Kite Connect talks to your real account, so keep sizes tiny until you trust the setup.
  1. 01

    Create a developer account

    Sign up at developers.kite.trade/signup ↗. This is a different login from Kite itself.
  2. 02

    Pick a plan

    Kite Connect Personal is free: orders, positions, holdings and funds, no market data. Kite Connect at ₹500 a month per key adds live and historical data.
    developers.kite.tradeKite Connect · plansPersonal · free1Connect · ₹500/moOrders, positions, holdingsboth plansLive and historical datapaid only
    1 · Free places orders. Data is the paid plan.
  3. 03

    Create an app

    Under My Apps, press Create new app. Give it a name, your Zerodha client ID, and this redirect URL: http://127.0.0.1:8000/callback/. The postback URL is optional.

    The redirect URL must match character for character, trailing slash included: http://127.0.0.1:8000/callback/.

    developers.kite.trade/apps/newCreate new appApp nameWhile25 Desktop1Zerodha client IDAB12342Redirect URLhttp://127.0.0.1:8000/callback/3Postback URLoptionalCreate4
    1 · Any name. 2 · Your trading client ID. 3 · Where the login sends you back. 4 · Create.
  4. 04

    Copy the key and the secret

    The app page shows an API key and, behind a reveal, an API secret. The secret signs the login and never leaves your machine.
    developers.kite.trade/appsWhile25 Desktop · appAPI keyxxxxxxxxxxxxxxxx1API secret••••••••••••••••••••••••2StatusActive
    1 · The key. 2 · Reveal the secret and copy it.
  5. 05

    Log in once a day

    Kite hands out a short-lived request_token; While25 swaps it for an access_token that expires at 6 AM the next morning, by regulation. First thing each trading day, sign in again.
    The daily login1 · Kite login pageyou sign in2 · request_tokenback at your redirect URL3 · access_tokenvalid until 6 AM
    Three hops, once a day, handled for you.
  6. 06

    Connect in While25

    Open While25 Desktop and choose Zerodha on Select your data source. Paste the key and the secret, keep the redirect URL as shown, and press Sign in with Zerodha. Kite opens in your browser; sign in and While25 carries on by itself.

What you copied

API key
Public. Identifies your app to Kite.
API secret
Private. Signs the login exchange. Never put it in anything that leaves your machine.
Redirect URL
Must match your app registration exactly, including the port and any trailing slash.

An access token also dies if you log out of Kite Web, or if anyone does a master logout on the account.

When it does not work

The login page says the redirect URL does not match+

The URL in the app registration and the one being sent differ somewhere: http against https, a port, a trailing slash. They must be identical.

Everything worked yesterday and today Kite says unauthorised+

The access token expired at 6 AM. Log in again; this is a regulatory requirement, not a bug, and no refresh token exists.

Orders work but there are no prices+

You are on the free Personal plan, which carries no market data. The ₹500 a month plan adds live and historical data.

Invalid checksum+

The checksum is SHA-256 over api_key plus request_token plus api_secret, in that order, with no separators. A stale secret is the usual cause.

Straight from Zerodha

  • Zerodha · How to sign up for Kite Connect ↗
  • Zerodha · What Kite API costs ↗
  • Kite Connect · API documentation ↗

Also trade through Upstox? The Upstox guide is the same shape. Want a risk-free first look? Alpaca paper takes five minutes.