How to get niftyIT historical data

how to get niftyIT historical data , what is the code to get niftyIT current and historical levels

,asd

Hi @ANOOP_KHAN ,

In order to get the historical data for Nifty, you can refer to the sample code available here: Historical Data - DhanHQ Ver 2.0 / API Document.

Also, to get the data using Python, please refer here: GitHub - dhan-oss/DhanHQ-py: The official Python client for communicating with the Dhan API..

The security ID is 29 (NIFTY IT INDEX). To get security IDs for all the scrips, please refer here: Instrument List - DhanHQ Ver 2.0 / API Document.