My old API logic isnt working for the Kite new 2025 Personal API

AnushaHerle
Connection is failing due to insufficient permission as indicated below:

from kiteconnect import KiteConnect
api_key = "actualApi"
access_token = "generatedToken" //Here i hide due to security
kite = KiteConnect(api_key=api_key)
kite.set_access_token(access_token)
symbol = "NSE:RELIANCE"
try:
ltp = kite.ltp(symbol)
print(f"{symbol} Last Price:", ltp[symbol]["last_price"])
except Exception as e:
print("Error:", e)
3:59
[Running] python -u "c:\DDrive\PythonStrategy\SampleTest.py"
Error: Insufficient permission for that call.

What updation to me done for above logic so that the same works with the Kite new 2025 Personal API and my account is activated for Options trading and this code was working with my older Kite API connect.
  • Nivas
    With the Kite Connect Personal app, it's not possible to access real-time or historical market data. For more details, you might find this thread helpful.
  • AnushaHerle
    Thanks for your reply. My doubt is that this script was working fine with Kite older API which was 2000 per month so now will this need any changes to work with the new API which is for 500 per month or should there be any modifications done to the scripts in general.
  • Nivas
    The charges for the Kite Connect app have been reduced from Rs. 2000 to Rs. 500. If you're using the API key and access token from the paid version of the Connect app, you shouldn't experience any issues when fetching market data, like LTP.

    However, if you're using the API key and access token for the Personal app (free version), you might encounter an error. Please make sure you're using the API key and access token from the paid version of the Connect app or check if your Kite Connect subscription has expired.
  • AnushaHerle
    I have taken the subscribed version of 500 rupee but there is errors like below (in image) coming up but this script was working fine in the previous 2k subscribed version. So can you let me know if the API have been changed in this latest version that i need to update in my script.

  • sujith
    We never had this param 'given_stop_loss'. Are you sure you are using the official Kite Connect client library?
Sign In or Register to comment.