Dark Sky API
Dark Sky was a beloved hyperlocal weather API, acquired by Apple in March 2020. New signups closed immediately and the API was shut off on March 31, 2023. Apple's WeatherKit replaces it, but is gated to Apple Developer accounts.
🟡 Unknown
collecting…
Discontinued March 31, 2023, after the Apple acquisition.
API key
Free alternatives (live ranking)
- NOAA National Weather Service — 🟢 Online · Unlimited (US only), no key, no credit card
- MET Norway Locationforecast — 🟢 Online · Unlimited, no key, must set User-Agent header
- Tomorrow.io — 🟢 Online · 25 locations, 500 calls/day, free key, no CC
Paid alternatives
- Apple WeatherKit — free with Apple Developer account
- Pirate Weather — drop-in replacement, free tier
Frequently Asked Questions
Does Dark Sky API require an API key?
Yes, Dark Sky API requires a free API key. You can sign up via their documentation.
What is Dark Sky API's free tier?
Discontinued March 31, 2023, after the Apple acquisition.
Is Dark Sky API down right now?
We have not completed a check of Dark Sky API yet. We check every tracked API hourly.
Implementation notes
When to use Dark Sky API
Dark Sky was the weather API developers actually enjoyed using: one request to /forecast/KEY/lat,lon returned current conditions, a minute-by-minute precipitation forecast for the next hour, hourly and daily blocks and severe-weather alerts, with the first 1,000 calls each day free. Apple bought the company in March 2020 and closed new signups immediately; the shutdown date was pushed back more than once, and the API was gone for good by spring 2023, its data folded into Apple's own developer program. Replace it feature by feature. For global forecasts with no key, Open-Meteo is the closest match and accepts imperial units and Unix timestamps, so most of the response mapping is mechanical. For the minutely rain nowcast, Open-Meteo's 15-minute data is the nearest free option where it is natively modelled, and Tomorrow.io is the keyed alternative. For US severe-weather alerts, the NOAA National Weather Service API is the authoritative source. For Germany, Bright Sky serves DWD data with no key.
Common pitfalls
- Units no longer switch as a bundle. Dark Sky's units=us flipped temperature, wind, precipitation and visibility together, and us was the default. Open-Meteo defaults to Celsius, km/h and millimetres and takes separate temperature_unit, wind_speed_unit and precipitation_unit parameters — set temperature to fahrenheit, forget precipitation_unit, and you will render millimetres of rain labelled as inches.
- Rows become columns. Dark Sky returned hourly.data as an array of per-hour objects; Open-Meteo returns hourly.time as one array and each variable as a parallel array of the same length. Zip them by index at the edge of your adapter, and pass timeformat=unixtime if the rest of your code expects Dark Sky's epoch-second timestamps rather than ISO strings.
- Icons and summaries do not exist on the other side. Dark Sky shipped icon strings such as partly-cloudy-night and an English summary sentence for every block, translated through its lang parameter. Open-Meteo returns a numeric WMO weather_code with no text and no icon, and no day-or-night distinction unless you also request is_day — budget for your own code-to-icon table and summary strings, including translations.
- Probabilities change scale. Dark Sky's precipProbability ran from 0 to 1; Open-Meteo's precipitation_probability is a percentage from 0 to 100. A threshold copied straight across — show the umbrella above 0.5 — fires for every hour with any chance of rain at all.
- The minutely block has no truly global substitute. Open-Meteo's minutely_15 data is natively modelled only in North America (NOAA HRRR) and parts of Western and Central Europe (ICON-D2, AROME); everywhere else it is interpolated from hourly values and will look smoother and more certain than it is. Do not ship a rain-starting-in-ten-minutes feature on interpolated data.
- Alerts need a second provider. Dark Sky folded alerts into the forecast response; Open-Meteo has none. In the US, poll NOAA's /alerts/active?point=lat,lon with an identifying User-Agent — a request with no User-Agent gets a 403 — and keep only alerts whose status is Actual.
Quick start (bash)
# Dark Sky /forecast/KEY/40.71,-74.00 -> Open-Meteo: no key, imperial units set one by one, epoch seconds
curl -s 'https://api.open-meteo.com/v1/forecast?latitude=40.71&longitude=-74.00¤t=temperature_2m,apparent_temperature,weather_code,is_day&minutely_15=precipitation&hourly=temperature_2m,precipitation_probability&daily=temperature_2m_max,temperature_2m_min&temperature_unit=fahrenheit&wind_speed_unit=mph&precipitation_unit=inch&timeformat=unixtime&timezone=auto' | jq '.current, .minutely_15.precipitation[:4]'
# alerts used to arrive in the same response; in the US they now come from NOAA
curl -s -H 'User-Agent: my-app/1.0 ([email protected])' 'https://api.weather.gov/alerts/active?point=40.71,-74.00' | jq '[.features[].properties | select(.status == "Actual") | .headline]' Embed this badge
Add a live status badge to your README, docs, or website.
Markdown
[](https://freeapi.watch/dark-sky) HTML
<a href="https://freeapi.watch/dark-sky"><img src="https://api.freeapi.watch/badge/dark-sky.svg" alt="Dark Sky API Status"/></a>