Changelog¶
Kite Connect 3.1 — Changes¶
Orders¶
- Added
exchange_update_timestampto order response - Added
metafield to order response
GTT orders¶
- Added support placing, updating, and deleting for GTT orders
Quote Call¶
- Added Circuit Limits to quote call response
Historical Data¶
- Added OI to historical candle data response
Kite Connect 3.0 — Changes¶
The new APIs continue to be on the same route api.kite.trade, but to connect to the 3.0 backend, the header X-Kite-Version: 3 should be sent with every HTTP request. This is illustrated throughout the documentation in the curl examples.
API endpoint changes¶
| Endpoint | Status | |
|---|---|---|
/quote |
New | Retrieve complete market quotes (including depth) for up to 500 instruments in one go |
/quote/ohlc |
New | Retrieve OHLC quotes for up to 1000 instruments in one go |
/quote/ltp |
New | Retrieve LTP (last_price) quotes for up to 1000 instruments in one go |
/user/profile |
New | Retrieve user profile |
/market/instruments/:exchange/:tradingsymbol |
Removed | Replaced by the new /quote API |
Login¶
For obtaining a 3.0 login session, the query param v=3 should be added to the initial login URL.
https://kite.zerodha.com/connect/login?v=3&api_key=xxx
Authentication¶
In the previous version, request authentication was done by sending the api_key and access_token query parameters. In 3.0, this has been replaced by the Authorization header. This is evident in all the examples in this documentation.
All requests now have to be authenticated by sending the HTTP header:
Authorization: token api_key:access_token
WebSocket¶
- The new WebSocket address is wss://ws.kite.trade. This is already embedded into the updated Kite Connect 3.0 client libraries.
-
The WebSocket API's binary quote protocol has changed to accommodate new fields. The new packet structure is described in the WebSocket section. New fields — Open Interest, Open Interest Day High, Open Interest Day Low, Last trade timestamp, and Exchange timestamp.
-
The WebSocket API now also supports delivery of realtime order Postbacks and other types of messages.
-
For connection authentication, the old combination of
api_key, user_id, public_tokenis not supported anymore. It is now justapi_keyandaccess_tokenquery parameters. -
The number of instruments that can be subscribed to has been increased from 200 to 1000.
Changes to API responses¶
| Date | Change |
|---|---|
/session/token |
New fields:api_keyrefresh_tokenChanged fields: order_type -> order_typesexchange -> exchangesproduct -> productsRemoved fields: password_resetmember_id |
/portfolio/positions |
New fields:day_buy_qtyday_buy_priceday_buy_valueday_sell_qtyday_sell_priceday_sell_value |
/trades/orders/:order_id/trades |
New fields:fill_timestampRemoved fields: order_timestamp |
Changelog¶
| Date | Change |
|---|---|
| 2025-06-12 | Added Alerts API |
| 2025-01-17 | Added MTF orders |
| 2023-07-18 | Added virtual contract API |
| 2023-07-18 | Added virtual contract API |
| 2023-07-11 | Added basket margin API |
| 2022-12-22 | Added holdings auction list API and auction order params |
| 2022-03-19 | Added iceberg and TTL orders |
| 2021-09-28 | Updated new APIs rate limit |
| 2021-03-12 | Added holdings authorisation API |
| 2020-08-24 | Added margin calculator APIs |
| 2019-12-10 | Released minor feature updates - Kite Connect 3.1 |
| 2018-01-17 | Major version upgrade to Kite Connect 3 from API v1. |
| 2017-09-11 | Introduced bulk quote APIs |
| 2016-05-07 | /orders call and bracket order modification and cancellation now involve the new parent_order_id parameter |
| 2016-07-02 | Several new fields added to the Webhooks payload (exchange_timestamp, order_type, product, unfilled_quantity, validity) |
| 2017-09-11 | Added support for granular timestamp from and to queries to historical data APIs |
| 2017-09-12 | Added bulk quote fetch APIs |
| 2017-11-13 | Added support for 'UPDATE' Postbacks |