The Dark Sky API lets you query for short-term precipitation forecast data at geographical points inside the United States. Each called method returns a JSON object; in case of errors, that object will contain a single property error with a string description of the error. Please see the below methods for more information.

In order to use the API, you will need an API Key. You can sign up for one here.


Libraries & Tools

Though unofficial, there are already a few helper libraries for working with the Dark Sky API…

Hourly Forecast

https://api.darkskyapp.com/v1/forecast/APIKEY/LAT,LON
https://api.darkskyapp.com/v1/brief_forecast/APIKEY/LAT,LON

Returns a forecast for the next hour at a given location.

More info...

Multiple Points and Times

https://api.darkskyapp.com/v1/precipitation/APIKEY/LAT1,LON1,TIME1;LAT2,LON2,TIME2;...

Returns forecasts for a collection of arbitrary points.

More info...

Currently Interesting Storms

https://api.darkskyapp.com/v1/interesting/APIKEY

Returns a list of interesting storms happening right now.

More info...