While accessing Option chain, i get "Option chain error: Insufficient permission for that call."

susant123
While accessing Option chain, i get "Option chain error: Insufficient permission for that call.". Does that mean I have to pay for the option chain access rights?
  • sujith
    Kite Connect doesn't offer option chain API out of the box. Are you using any library?
  • susant123
    Thank you for your response!

    I get this for all calls. For example When I call this with a proper access_token and

    const kite = new KiteConnect({
    api_key: process.env.KITE_API_KEY,
    access_token: user.rows[0].kite_access_token
    });

    const quote = await kite.getQuote(`${scriptExchange}:${script.rows[0].symbol}`);

    I get same error:
    Response:
    {
    status: 'error',
    message: 'Insufficient permission for that call.',
    data: null,
    error_type: 'PermissionException'
    }

    I am using NodeJS in my project and "kiteconnect": "^4.1.0", npm package.
  • susant123
    I tried with latest package too "kiteconnect": "^5.0.1",. I get exact same error. I thought it was made free. Does this mean I have to recharge with 2000 to access the quotation of a scrip? I have added 100 to my account to see if that works, but till now, I do not see it working. Please help!
  • susant123

    As you can see, this was created as a Personal App. I was hoping I will be able to access all the end points except Historical data. But for everything I get the error {
    status: 'error',
    message: 'Insufficient permission for that call.',
    data: null,
    error_type: 'PermissionException'
    }
  • sujith
    You need to subscribe to Kite Connect for accessing live market data or historical candle data.
  • susant123
    Thank you. Yes, you are right. I created a different paid API and it works fine now. When Zerodha says, they have made APIs free for personal use I was expecting at least price API will be free. Alas, thats not the case. Its just buy and sell. Not great
Sign In or Register to comment.