first rev of json api.  takes in a start date (and an optional stop date)