How do I get an API Query for specific dates?