Historical trends- 5 mins

Hi Team,

How do I get historical trend of 5 mind bank nifty chart and OI related details for back testing ?

I have recently subscribed by paying 499 but then it have only daily data not 5 mins. So now this is really not logical every day realtime get 1 mins data and convert that into 5 mins and store is somewhere.

Flyer have api which give 5 mins historical data.

Thanks
Pramod