added back the date requirement on the api query