APIHub
Back to Explore

7Timer!

The 7Timer! API delivers location‑specific weather and astronomical forecasts. Clients can retrieve a PNG forecast diagram (via /bin/astro.php) or obtain the raw forecast data in XML or JSON for various products (astro, civil, civillight, meteo, two) via /bin/api.pl.

Weather
none
No HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

2042ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/bin/astro.php

Returns a PNG‑type image of the forecast diagram (graphical API).

  • lon (query, required) — Geographic longitude of the site, as a float (precision 0.001).
  • lat (query, required) — Geographic latitude of the site, as a float (precision 0.001).
  • ac (query) — Altitude correction (only for ASTRO product); allowed values are 0 (default), 2 or 7.
  • lang (query) — Language of the output (not applicable for METEO product).
  • unit (query) — Unit system, either "metric" or "british".
  • output (query, required) — Output format; must be "internal" for graphical PNG output.
  • tzshift (query) — Timezone shift; allowed values are 0, 1 or -1.
GET

/bin/api.pl

Returns forecast data in XML or JSON (machine‑readable API).

  • lon (query, required) — Geographic longitude of the site, as a float (precision 0.001).
  • lat (query, required) — Geographic latitude of the site, as a float (precision 0.001).
  • product (query, required) — Product to use; one of "astro", "civil", "civillight", "meteo" or "two".
  • output (query, required) — Output format; either "xml" or "json".

2 endpoints auto-detected

curl -X GET \
  "http://www.7timer.info/doc.php?lang=en/bin/astro.php"

www.7timer.info · HTTPS only