Quick start
Hi! This is the API behind Weatherfur, and you're welcome to use it.
Every endpoint is a plain GET that returns JSON. Add
?lang=de for German text.
curl https://weatherfur.org/api/v1/fsi
{
"score": 8.5,
"band": "Excellent",
"band_key": "excellent",
"color": "#40ad3e",
"advice": "Perfect suiting conditions. Touch grass and enjoy the festival!",
"wetbulb_c": 16.8,
"effective_wetbulb_c": 16.8,
"subscores": [ … ],
"meta": { "station_id": "10147", "language": "en", … }
}
Every field and parameter is in the Reference, where you can also try each call. Raw spec: /openapi.json.
Two rules
-
Build against
/api/v1: it is the only published part, and likely to stay stable. - Use responsefully: Server no likey big useages. Pwease be kind to the sewvew. uwu
Endpoints
| Endpoint | Returns | Size |
|---|---|---|
/api/v1/fsi | The score now: band, colour, advice, sub-scores | ~1 kB |
/api/v1/current | The latest station reading | ~0.7 kB |
/api/v1/forecast | Weather and score, hour by hour | ~7 kB |
/api/v1/daily | Per day: score range, best and worst hour, totals | ~3 kB |
/api/v1/warnings | DWD warnings and advance notices in force | ~2 kB |
/api/v1/scale | The bands and their colours | ~0.6 kB |
/api/v1/point | Any place and time range (below) | ~2–20 kB |
/api/v1/overview | All of the above in one call | ~15 kB |
/api/v1/measurements | Readings from sensors at the venue. Sending one needs a token. | small |
/api/load | How busy the site is | ~0.2 kB |
/api/health | Liveness and cache age | ~0.2 kB |
Parameters
These work on every endpoint they make sense for.
| Parameter | Does | Default |
|---|---|---|
event | An event's slug, as in /e/<slug>. Answers for its place, models and warning areas. Unknown slug: 404. | the venue |
suit | What is worn: a preset or a list of parts (below) | fullsuit |
lang | en or de, for text fields | en |
hours | 1 to 120, on /forecast and /overview | 24 |
wind_unit | mph or kn adds converted wind fields. The km/h ones always stay. | kmh |
Every response carries meta
station_id,location,latitude/longitude,timezone: where the numbers are forgenerated_at: when, in ISO 8601 UTCattribution: the credit to show. DWD, plus any other model used (ECMWF data is CC BY 4.0).degraded: sources that failed for this response. Check it before you treat a response as complete.
Forecast for any place
/api/v1/point without a range: the next 24 hours. With one:
your event, and the hours around it. The widget is
built on it.
curl "https://weatherfur.org/api/v1/point?lat=53.5614&lon=9.9811&start=2027-08-20T14:00&end=2027-08-20T18:00"
-
Where: the nearest DWD forecast station within 60 km,
named in
stationwith itsdistance_km. Further away is a404. Leave outlat/lonfor the venue. -
When:
start/endin ISO 8601. A bare date covers the whole day; a time without an offset is local time.marginadds hours either side (default 4).in_rangemarks your own hours, andsummarycovers only those. Hours the forecast doesn't reach havescore: null. -
status:live(no range),complete,partial,pending(too far ahead;available_fromsays when) orpast. - Warnings are attached only within 15 km of the venue.
A station nobody asked for in the last half hour costs a DWD download, so
new stations are capped at 30 a minute across all callers
(503 beyond). Cached stations are free. Please don't walk the
catalogue.
The score
0 to 10: how safe and pleasant it is outside in what you wear. It assumes
no cooling vest or fans, so it is a hint, not a verdict. Four parts feed
it, each returned with its score, weight and a
plain reason:
key | Weight | Looks at |
|---|---|---|
thermal_humidity | 50 % | Wet-bulb temperature plus sun |
precipitation | 30 % | Rain rate and chance, wet ground |
wind | 12 % | A light breeze is best; still air and gales both hurt |
stickiness | 8 % | Dew point: clammy above 15 °C |
Not just a weighted mean: the score is the lowest of the
mean, thermal_humidity and precipitation, so
heat or rain can't be averaged away.
Suit profiles: ?suit=
Every endpoint that returns a score takes it. Without it, the score is for a full suit.
suit= | Means |
|---|---|
fullsuit | Head, body, hand paws, feet paws, tail |
fullpartial | Head, hand paws, feet paws, tail |
partial | Head, hand paws, tail |
none | Ordinary clothes: an outdoor comfort score |
head,tail | Any parts from head, body, handpaws, feetpaws, tail |
Less suit means less heat stress, gentler rain and no penalty for still
air. Out of suit, wind chill counts. Thunderstorms and severe gusts cap the
score for everyone. meta.suit names the profile used; an
unknown part is a 422.
Switch on band_key, not band
band is translated. band_key is always one of
excellent, good, fair,
poor, bad. Take colours from
/api/v1/scale so yours match ours. An hour counts as suitable
from suitable_from (5.0).
Warnings
- They don't change the score. They sit beside it; combine them yourself if you need to.
hazard: false: official, but no danger in suit. That is fog, which DWD warns about for traffic. Don't raise an alarm for it.advance: true: a DWD advance notice (Vorabinformation). Severe weather is possible but not certain, so don't show it as a warning in force.
headline, description and instruction
are DWD's official text and always German. Only label is
translated. Use kind and severity for logic.
Rate limit and caching
100 requests per minute per client, on a sliding window. Every response says where you stand:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 97
Over the limit you get a 429 with Retry-After.
Pages are never limited.
Please cache
Polling faster than the data changes gains nothing. Every response has an honest Cache-Control.
| Source | DWD publishes | We cache |
|---|---|---|
| Station readings | hourly | 10 min |
| Forecast | every ~6 h | 30 min |
| Warnings | every few minutes | 3 min |
Errors
| Status | Meaning |
|---|---|
401 | Missing or wrong token when sending a measurement |
404 | Unknown event, or no station near the point |
422 | A parameter failed validation, e.g. lang=fr or suit=wings |
429 | Rate limited. The body has retry_after_seconds. |
503 | No usable DWD data right now |
One source being down is not an error: you get everything else, with the
missing source in meta.degraded. A failed refresh falls back
to the last good value, so check generated_at and
observed_at.
Attribution and fair use
Weather data is from Deutscher Wetterdienst (DWD), used
under GeoNutzV.
If you republish it, credit DWD. The exact text is in
meta.attribution.
Weatherfur is a volunteer project: not for profit, not a convention's official site and not a DWD service. The score is advice, not a safety rating. Heat exhaustion is real, and no number replaces your own judgement or a headless break.
Building something with it? Welcome! Cache, and set a
User-Agent so a runaway script can be told apart from a person.