Last Active
Member, Administrator, Moderator


  • Kumar_Sunny
    Hi sujith
    November 17
  • Darchitect

    websocket api freezes and getting connection failed error.
    November 11
  • vibhavachar
    MV2460' getting invalid token can some one help?
    October 26
  • Sumansangwan

    hi, can you pls tell me how to get tick data of option chain. pls reply
    October 26
  • IQ2429
    can you any have sample source code of vb6. to login & placing order by api.

    & how can i get moving average crossover data by api.
    October 25
  • Vaibhav_singh
    I am trying to create apis for my mobile app in node js and i have downloaded the node js package from github and i am trying to connect my node app with kite connect via functions and i am passing my kite api_key for app. But to create session i also need request token and when i check the documentations where i see i have to login with my zerodha account to get request token. But it expires in few minutes. Is there any process or function where can i pass my parameters and get my request token from my code not from going to zerodha login dashboard process.
    October 2
  • manavparmar
    Hi Sujith,

    I have kept the instrument tokens of the recent expiry 21909, but when i pass the intrument token it does not fetch data
    September 10
  • noft The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 403 Forbidden

    Have been getting this error since afternoon of 31 Aug 2021. Have relogined several times and regenerated the token multiple times.
    This isnt going away. Usually it was very infrequent and went away after logging in again.
    What's to be done?
    September 2
  • rubaljhavar
    Hi Sujith , Need your help on the publisher API issue that I mentioned. It is now occurring very frequently. Need your urgent help here. It is still giving this error 'Error while fetching session. Please reload the page.' On reload of the page it goes away.
    August 25
  • maheshk3176
    Maximum allowed order requests exceeded.
    how much is allowed?
    August 23
  • maheshk3176
    raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /instruments/NFO (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
    August 23
  • Kamalv
    Issue: GeneralException: Couldn't find that `order_id`.
    OrderID# 210818000157782
    CustID# KF8186
    Placing Order at 2021-08-18 09:15:32.504196 (from my end)
    August 18
  • raviteja546
    Hi Sujith, When i try to extract P&L for intraday positions, i use kite.getPostions() and filter by "day" and trying to take sum of unrealised value, but its not updating live data.. i used 5secs gap to run p&l method but its not giving live value.. Please suggest..
    August 13
  • nb007
    {"status":"error","message":"The user is not enabled for the app.","data":null,"error_type":"InputException"} , i am facing this issue i am the single user
    August 11
  • durgeshpandey215
    $kite = new KiteConnect($zerodha_apikey); // here i have api key

    try {
    $user = $kite->generateSession($zerodha_request_token, $zerodha_secret); // here i have secret key but i don't have request token
    } catch(Exception $e) {
    echo "Authentication failed: ".$e->getMessage();
    throw $e;

    when i run this program with proper input i do not get any response I got error
    August 7
  • rajat86
    hi sujith
    as you mentioned
    It is mandatory by the exchange that a trader has to log in at least once a day. We don't recommend automating login.

    Can I use kiteconnect python apis to automate trades across days in aws?
    If yes, can you help me with the redirect url i have to give to purchase api access keys etc. What redirect url to give for use in aws?
    June 16
  • HarshalRathore
    Hello, sujith sir
    I am in a pickle and need you'r help on this
    Now I am going to present a case in front of you
    say, that today I shorted one PE and one CE (attributes order:market, variety:RGLR, validity:day) manually with kite app. Now I want to automate the tracking of the combined premium of this trade with python and when it hits my desired SL I want to square off the trade meaning I want to close both the trade.
    so, what function to use or which method for this. provide me the solution for both cases MIS and NRML product type.
    Thank you
    May 30
  • jaymahajan999
    Hi Sujith,

    from where can I get access to console API ?
    May 18
    • sujith
      We don't have console APIs on Kite Connect.
  • ajy
    this.kt = new K.KiteTicker({ api_key, access_token })

    this.kt.on('order_update', update => {
    console.log("order FOUND. YEAH");


    sometimes it works sometimes it is not called. but the orders are executed i checked.
    May 11
  • ajy
    hi sujith,
    in my node.js program. order update callback not called, but the order is executed and shows on website positions. please help. it was working yesterday butnot today. it has a very erratic behaviour. please help me.
    May 11
  • bhasin888
    hi sujith,

    is there a way to backtest my kite connect script before i deploy it in live market?
    the only option i know is to download the ohlc data locally and perform the backtest.
    May 7
  • narunbabu
    Hi Sujit,
    I have the API account. And I'm trying to get the ticks for around 1000 instruments. But I could not succeed. My python program works for 4 or 5 instruments even on LTP mode. Can you please help me. Or there is limit for the websocket?

    April 26
    • A_Ahuja
      I am facing the same issue.
  • Kadwa_Such
    This is a kind of 100% fraud by some stock brokers. You can file complaint in consumer court against Zerodha, Upstox and you will definitely win the case and can get huge compensation also. SEBI never allowed any brokers to block any trade but still they are blocking trades with some kind of SEBI’s manipulated message which is not fair trade practice. You can file RTI also in this regard to get the answer whether they have any right to block any specific trade or not and I am sure you will get answer in your favor with the RTI copy you can go to court to win the case. If you do not want to go to court due to money crunch just forward this comments to as many traders as possible so that all will get to know the running fraud.
    April 30
  • ArjunS
    Hi Sujith,

    I'm not able to see Pledged shares using Let me know if this is supported?
    April 8
  • pavanvora
    Hi Sujith,

    I just posted a question to the forum and then did a small edit and it got removed and shows as it will get posted after Authorized or something.

    Can you please have a look and make it visible to the forum. I'm facing some serious issues with API response and it was a very long question writing it again would take so many efforts. If it is not possible to make it available very soon then please let me know.

    Awaiting your reply.

    Thank you,
    April 2
  • deepakyadav
    Hey Sujith,

    My client Id is F02984 and the API is 90n4srk6fnfr9o6x. Not able to authorize the app. What to do?
    March 20
  • krishnak2
    Hi Sujith,
    is there any possibility to get kiteconnect app expiry date using api?
    March 20
    hi Sujith,

    I am getting an error like this:
    Connection closed: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: close reason without close code)

    Can you please explain what this means and how to sort it out.
    February 17
      hii sujith,
      I found the solution. actually I was calling an iterable rather than a list of stocks.

      thank you.
  • atpalgotraders
    Hi Sujuth,

    I want to trade based on candlesticks which requires todays data, Is live data enough or do we need to go for historical data?

    Best Regards,
    December 2020
  • Mangesh
    How to get child order id OF BRAKET OR COVER ORDER ? Can you please post a sample code?
    December 2020