added api filters based on date