For example: I could see for instrument token: 4565249, day interval data is available from year 2009 but 15minute interval data is not available. For 15minute interval data is only available from 2015 onwards.
Is there some API or something so that we can know what is the starting date for historical data of a company in a certain interval?
No, we don't have a specific API to fetch start end. But, we have defined the availability period for all candle periods in this thread.