@samarth please go through the API doc for historical data https://smartapi.angelone.in/docs/Historical.
Also, you need to have an Angel One ID for using historical data API.
@iamkaustubhb these stocks do fall into the cautionary messages.
Please find below the cautionary messages given by the exchange for these stocks:
LLOYDS - The scrip PE is greater than 50 for previous 4 trailing quarters
ABREL - The scrip PE is greater than 50 for previous 4 trailing quarters
PILANIINVS - High low price variation was greater than 150% in previous 12 months
@Tan you can solve this in 2 ways:
Either give POA authorization from the Angel one App / web
or
Use EDIS API - https://smartapi.angelone.in/docs/Edis from the SmartAPIs