Precipitation nowcast for a location: radar-based precipitation rate, precipitation type and lightning in 5 minute steps, with hourly dayparts and a human-readable nowcast message in multiple languages. By default the next 3 hours (2 hours when less forecast is available); use period to add the recent past, e.g. last1hour+forecast for the previous hour and the forecast in one call. Uses the best radar for the location (Netherlands, West Europe, or World). Past data covers up to 1 hour (about 30 minutes for the World radar).
1 credit; 2 credits for period=complete and last1hour+forecast / last1hour+next{M}hours
Deducted from your plan's monthly call credits · Compare plans
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| lat | number | Required | - | The latitude of the location (-90 to 90). Rounded to 3 decimals (about 110 m); the response returns the rounded value. |
| lon | number | Required | - | The longitude of the location (-180 to 180). Rounded to 3 decimals (about 110 m); the response returns the rounded value. |
| period | string | Optional | default | 'default': forecast from now, 3 hours (2 when less is available). 'observations': only the observed part. 'complete': the whole radar run, all past data it holds plus all forecast (2 credits). 'last1hour+forecast': the hour before now plus the default forecast (2 credits). 'last1hour+next{M}hours': the hour before now plus M hours (1-3) of forecast, e.g. last1hour+next2hours (2 credits). Past data is limited to what the radar run holds: up to 1 hour, about 30 minutes for the World radar (see observedMinutes). Encode '+' as %2B in URLs; a space also works. |
| Property | Type | Description | |
|---|---|---|---|
model | string | Always 'nowcast'. | |
period | string | The period that was applied. | |
source | string | null | Radar region the data came from: the first of radar-nl, radar-westeurope, radar-world that covers the location. | enum: ["radar-nl", "radar-westeurope", "radar-world", null] |
message | object | null | Human-readable nowcast message for the location: one text per language code (nl, en, de, fr, ...), tags (array of strings) and ispush (0/1, whether the situation is push-notification worthy). Null when there is no message. | |
runtime | integer | null | Observation time of the radar data used, Unix timestamp (seconds). | |
dayparts | array | Hourly aggregates. | |
└─time | integer | - | |
└─weathericon | array | null | - | |
└─precipitationrate | number | null | - | |
elements | array | One timeseries per element, 5 minute steps. | |
└─data | array | - | |
└─time | integer | Unix timestamp (seconds). | |
└─value | number | string | null | precipitationrate in mm/h; precipitationtype one of rain, freezing rain, snow, mix, invalid; lightningclass an integer class (-1 = none). | |
└─observed | boolean | True for observed steps (at or before runtime), false for forecast steps. | |
└─unit | string | null | mm/h for precipitationrate; null otherwise. | |
└─level | string | - | |
└─element | string | - | enum: ["precipitationrate", "precipitationtype", "lightningclass"] |
latitude | number | Latitude used, rounded to 3 decimals. | |
longitude | number | Longitude used, rounded to 3 decimals. | |
missingData | object | null | Inputs that were missing for this run and replaced by placeholders, e.g. { precipitationtype: true }. Null when complete. | |
dataStrategy | string | null | 'standard', or 'fallback' when less data than usual was available. | |
dataGuarantee | string | null | Length of the forecast part: '3hours', '2hours', '{M}hours' for next{M}hours, 'observations', 'complete' (whole run), or 'partial' when the run could not fill the requested window. | |
observedMinutes | integer | Span of observed data in the response, from the first step to the observation time (runtime): up to 60 for the Netherlands/West Europe radar, about 30 for World. |