$npx skillfedfor your agent

kiteconnect

The official Python client for the Kite Connect trading API

Worth itPyPI LibrariesReleased Jul 2026330.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kiteconnect-5.2.1-py3-none-any.whl
v5.2.1 · released 2026-07-23 · 7 runtime deps: service_identity, requests, six, pyOpenSSL, python-dateutil, autobahn, pywin32

Yes. Kiteconnect is the official, actively maintained client for Zerodha's trading API with no security vulnerabilities, permissive licensing, and low install friction. Install it if you are building a trading application on the Zerodha platform. Do not install if you do not have a Kite Connect API account or are targeting a different broker's API.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Kite Connect API account with valid api_key and api_secret from Zerodha.
  • C compiler (GCC on Linux/BSD/macOS, Visual C++ on Windows) needed for dependency compilation.
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you include the original license notice.

last release 2026-07-23 (22 days) · last repo commit 2026-07-23 · 1,293 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 330,670 downloads/mo, #7,533 on PyPI

Verify before relying

from kiteconnect import KiteConnect

kite = KiteConnect(api_key="your_api_key")
data = kite.generate_session("request_token", api_secret="your_secret")
kite.set_access_token(data["access_token"])
order_id = kite.place_order(tradingsymbol="INFY", exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_BUY, quantity=1, variety=kite.VARIETY_AMO, order_type=kite.ORDER_TYPE_MARKET, product=kite.PRODUCT_CNC, validity=kite.VALIDITY_DAY)
  • Whether the package works with Python versions beyond 3.7 (classifiers list 3.5–3.7 but requires_python is unspecified)
  • Specific behavior and error handling for autoslice orders when child orders fail
Same gist for agents: .md · .json

What it is and what it does

Kiteconnect is the official Python client for Zerodha's Kite Connect trading API, a REST-like service for building investment and trading platforms. It wraps HTTP endpoints and WebSocket connections to let you place orders, fetch portfolio data, stream live market quotes, and manage mutual fund transactions. The library handles session management, order placement (including auto-slicing for large orders that exceed exchange limits), instrument lookups, and real-time tick subscriptions via WebSocket callbacks.

The package is designed for developers building trading applications on the Zerodha platform. It abstracts away HTTP request construction and WebSocket frame handling, exposing a Python object interface with constants for order types, exchanges, and transaction modes. Recent versions dropped Python 2.7 support and added auto-slice order placement; the current release (v5.2.1) is actively maintained and carries no known security vulnerabilities.

Use it for

  • Build a retail trading dashboard that places equity and derivative orders on NSE/BSE/NFO exchanges in real time.
  • Stream live market tick data via WebSocket to update price displays or trigger algorithmic trading signals.
  • Automate portfolio rebalancing by fetching holdings and placing orders programmatically during market hours.
  • Place mutual fund orders and track their status without manual broker interaction.
  • Handle large order quantities that exceed exchange freeze limits using auto-slice order placement.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Kiteconnect is the official, actively maintained client for Zerodha's trading API with no security vulnerabilities, permissive licensing, and low install friction. Install it if you are building a trading application on the Zerodha platform. Do not install if you do not have a Kite Connect API account or are targeting a different broker's API.

Install

kiteconnect on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with a recent release (22 days old) and 1293 repository stars. Depends on several C-extension libraries (pyOpenSSL, autobahn) that require system compilers on Linux/macOS or Visual C++ on Windows, but these are well-established packages.

Requires a Kite Connect API account with valid api_key and api_secret from Zerodha. C compiler (GCC on Linux/BSD/macOS, Visual C++ on Windows) needed for dependency compilation.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you include the original license notice.

Quickstart

from kiteconnect import KiteConnect

kite = KiteConnect(api_key="your_api_key")
data = kite.generate_session("request_token", api_secret="your_secret")
kite.set_access_token(data["access_token"])
order_id = kite.place_order(tradingsymbol="INFY", exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_BUY, quantity=1, variety=kite.VARIETY_AMO, order_type=kite.ORDER_TYPE_MARKET, product=kite.PRODUCT_CNC, validity=kite.VALIDITY_DAY)

Verify before relying

  • Whether the package works with Python versions beyond 3.7 (classifiers list 3.5–3.7 but requires_python is unspecified)
  • Specific behavior and error handling for autoslice orders when child orders fail

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
service_identityrequestssixpyOpenSSLpython-dateutilautobahnpywin32
MaintenanceActively maintained 22 days since the last release
Last repo commit
First released
Downloads330,670 / month, #7,533 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Office/Business :: Financial :: InvestmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: kiteconnect-5.2.1-py3-none-any.whl

Tags

Capabilities
kite connect api clientzerodha trading api pythonreal-time order executionlive market data streamingtrading platform apiwebsocket market dataportfolio management api
Topics
trading-apiwebsocketzerodha

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kite connect api client”

  • kiteconnectOfficial Python client for the Kite Connect trading API, enabling…
  • kafka-connect-pyA command-line tool and Python client for managing Apache Kafka…
  • py-jama-rest-clientA Python REST API client for Jama Connect that retrieves and modifies…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also blackduck · dhanhq · smartapi-python · growwapi · metatrader5 · ib_async · longbridge · ib-insync · python-binance · alpaca-trade-api