Managing timeframes

Data Flow refreshes every hour or every half hour.

 

Hour Format:

The format to query using a hourly format is the following: YYYY-MM-DDTHH

When you click on “Copy the URL”, do not forget to specify a time at which you’d like to extract the data so that it functions properly.

 

Half-hour Format:

The format to query using a half-hour format is the following: start:'yyyy-MM-ddTHH:mm',end:'yyyy-MM-ddTHH:mm'

To query every half-hour, you must specify the starting & the ending minutes:

For the first 30 minutes of every hour: start: 00; end: 29
For the second 30 minutes of every hour: start: 30; end: 59

 

Tip:
Data is only available for complete hour or half-hour timeframes. We are currently subject to 3 to 5 minute delays for real time data. We therefore recommend waiting 10 minutes before requesting data from the previous hour in order to reduce the occurrence of the "Data Not Ready" error.

 

In the half-hour format, for example:

The only valid values the “mm” placeholder at “start:” can hold are “0” or “30”
The only valid values the “mm” placeholder at “end:” can hold are “29” or “59”

To query data for 30 minutes at 4PM on the 25th of July 2018 (4:00PM to 4:29PM)
start:'2018-07-25T16:00',end:'2018-07-25T16:29'

To query data for 30 minutes at 9:30AM on the 25th of July 2018 (9:30AM to 9:59AM)
start:'2018-07-25T09:30',end:'2018-07-25T09:59'



 

 

Have more questions? Submit a request