---
title: "Historical weather measurements for a date and location"
method: GET
path: "/related/weather.json"
tags: ["Related"]
---

# Historical weather measurements for a date and location

`GET /related/weather.json`

## Request

- Base URL: `https://api.openarchieven.nl/1.1`
- URL: `https://api.openarchieven.nl/1.1/related/weather.json`
- Auth: none declared

Returns historical weather measurements from the nearest Dutch weather station for the specified date and coordinates. Data sources are the Royal Netherlands Meteorological Institute (KNMI): measurements 1701–1905 and 1901–2014. Note: this endpoint exposes several types of historical datasets, so measurement types and units can vary between records.

## Query parameters

- `date` string, date, required
- `longitude` number, float, required
- `latitude` number, float, required
- `lang` 'nl' | 'en'
- `callback` string

## Response `200`

Array of weather measurement objects. Each object represents one measurement set from the nearest station. Fields have a `value` and optionally a `decoded` or `label` sub-field.

- WeatherMeasurement[]
  - `YYYYMMDD` object
    - `value` string: Date in YYYYMMDD format.
  - `STN` object
    - `value` string: Weather station number.
  - `STN_PLACE` object
    - `value` string: Name of the weather station location.
    - `label` string
  - `STN_URL` object
    - `value` string, uri: URL with more information about the weather station.
    - `label` string
  - `STN_LOC` object
    - `longitude` number
    - `latitude` number
  - `M` object
    - `value` string: Measurement index within the day.
  - `WW` object
    - `value` string: Weather code.
    - `decoded` string: Human-readable weather description.
  - `T` object
    - `value` number: Temperature measurement.
  - `P` object
    - `value` string: Air pressure measurement.
  - `DD` object
    - `value` string: Wind direction code.
  - `FH` object
    - `value` string: Wind speed measurement.
  - `rijnland` integer: Rijnland indicator flag.

## Other responses

- `400`: Invalid or missing parameters
- `429`: Too Many Requests — rate limit of 4 requests per second per IP exceeded.

---

[API](https://skmtc.dev/openarchieven/apis/open-archives-api.md) · [All operations](https://skmtc.dev/openarchieven/apis/open-archives-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openarchieven/apis/open-archives-api/revisions/4ff4685dd9e9?raw)
