Hourly history with WeatherKit REST API

Has anyone figured out the correct incantation of request parameters to get historic hourly weather conditions from WeatherKit? I've tried every combo of hourlyStart, dailyStart, currentAsOf, etc with past dates and it seems like the oldest it will go back to is midnight for today. I would like to get the last 24 hours of conditions.

Post not yet marked as solved Up vote post of John_s25 Down vote post of John_s25
151 views

Replies

Ditto! It respects dailyEnd, but not dailyStart. This query will yield an empty array. Removing dailyEnd will return 10 days of June.

https://weatherkit.apple.com/api/v1/weather/en/41.029/-74.642
?dataSets=forecastDaily
&currentAsOf=2022-01-01T00:00:00Z
&dailyStart=2022-01-01T00:00:00Z
&dailyEnd=2022-01-07T00:00:00Z
&timezone=Americas/Los_Angeles
&countryCode=US

It's probably forthcoming later this summer, but filed FB10383199.

Yeah - we are having the same problems. Can get current weather only but are much more interested in historical.