Downloading required number of bars (say 5) of 1 minutes of a symbol

Hello,

I need to get bars for a 1 minute time frame using Fyers API. i.e if current time is 10:30:00 am, I need to download 1 min bars from 10:25:00 am to 10:30:00 am. That means, to get 5 bars generated during this 5 minutes. But using the historical data api method, despite providing start date/time and end date/time api returns all the bars from the start of the market ie from 09:15:00 am. It does not consider time while returning bars.

 

Is there any way to download only five 1 minute bars which were generated in the duration of 5 minutes? Thank you.