API Directory › 🌦 Weather › 7Timer!
No authHTTPS

7Timer! API

Free, no-key weather and astronomy forecast API, useful for stargazing conditions.

Category
Auth
No auth needed
HTTPS
Yes
CORS
Unknown
Open 7Timer! docs ↗

What it does

7Timer! is a long-running free weather API built on NOAA GFS model output, popular with astronomers. Its astro product reports cloud cover, seeing, transparency, humidity and wind in 3-hour steps out to about a week; other products give civil and meteorological forecasts.

Base URL

http://www.7timer.info/bin/api.pl

Authentication

None. No key, no sign-up. Pass lon, lat, product (civil, civillight, meteo, astro) and output=json.

Code examples

curl
curl -s "http://www.7timer.info/bin/api.pl?lon=3.39&lat=6.45&product=astro&output=json"
Python
import requests

r = requests.get("http://www.7timer.info/bin/api.pl", params={
    "lon": -0.12, "lat": 51.5, "product": "civil", "output": "json"}, timeout=15)
for step in r.json()["dataseries"][:4]:
    print("+%dh" % step["timepoint"], step["temp2m"], step["weather"])

Rate limits & quotas

No documented rate limit, but it is a small community service on HTTP — cache results (the model runs only a few times a day) and keep request volume low. There is no HTTPS endpoint, so treat responses as untrusted transport and don’t send anything sensitive.

Key response fields

dataseries[].timepointHours from the model init time (3-hour steps)
dataseries[].temp2m2-metre temperature, °C
dataseries[].cloudcover1–9 scale (astro product)
dataseries[].seeing / transparencyAstronomy quality indices (astro product)
dataseries[].weatherCondition string (civil product)
initModel initialisation timestamp the offsets are relative to

Common errors

(HTML instead of JSON)Missing output=json, or the service returned an error page — check the content type.
(stale data)The GFS run is a few hours old by design; use init to know the base time.
TimeoutsThe service can be slow — use a generous timeout and retry once.

When to use it (and alternatives)

Niche but handy for astronomy and stargazing tools (cloud cover, seeing, transparency) with zero setup. For general modern forecasts use Open-Meteo (which also exposes cloud-cover layers over HTTPS with a proper schema).

FAQ

What does 'timepoint' mean?

It is the number of hours after the model’s init time, in 3-hour increments. Add timepoint hours to init to get the real timestamp for each row.

Is there an HTTPS version?

Not officially. If you need TLS, proxy the request through your own HTTPS backend and cache the result.

Why do astronomers use it?

The astro product reports observing-specific metrics — cloud cover, atmospheric seeing and transparency — that general weather APIs usually don’t surface.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

Weather Checker

Related Weather APIs

← Back

More Weather APIs · All 196 APIs