# zerodha/pykiteconnect

The official Python client library for the Kite Connect trading APIs

Repository: https://github.com/zerodha/pykiteconnect
Canonical: https://ross.abutalabs.com/products/pykiteconnect
Language: Python
License: MIT
License Family: permissive
Last push: 2026-07-23T09:22:23+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 82, longevity 100
- inputs: {"age_days": 3871, "days_push": 41, "days_rel": 41, "gap_med": 58.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1296, forks 589 (observed 2026-08-28T04:04:16.698762+00:00)

## What it is
The official Python client library for Zerodha's Kite Connect trading APIs. It wraps REST endpoints for order placement and portfolio management and provides WebSocket streaming of live market data.

## Use cases
- place stock orders programmatically from python
- stream live market data via websocket
- manage a trading portfolio via api
- build an algorithmic trading bot for indian markets
- fetch historical candle data for backtesting
- split large orders that exceed exchange freeze limits

## When to choose
- you have a Kite Connect subscription and want the official supported client
- you're building trading or algo systems on Zerodha in Python
- you need real-time market data ticks via WebSocket

## When to avoid
- you trade with a broker other than Zerodha
- you need a Python 2.7-compatible client (use v4.x or earlier)
- you want a broker-agnostic trading abstraction layer

## Facets
- artifact type: library
- maturity: active
- function: http-client, websocket, sdk, trading
- domain: fintech, apis, developer-tools
- platform: python, cross-platform
- tags: trading-api, stock-market, zerodha, kite-connect, market-data, order-management, websocket-streaming

## Member repositories
- zerodha/pykiteconnect (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:16.698762+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:53:59.279873+00:00, confidence not recorded.
  - readme: https://github.com/zerodha/pykiteconnect (fetched 2026-08-28T04:04:16.698762+00:00, sha 002d98bdcbfb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
