accepting query urls with start_date, end_date and aggregate parameteres