v1

latestOpenAPI 3.1.02026-07-24200331.1 KB

Retrieve Historical Weather

post/historical

Headers

Accept-Encodingstring required

Request body

locationstring json required

ID of a pre-defined location, GeoJSON geometry or lat long array - see formats

fieldsstring[] required

Selected fields from our data layers (polygon/polyline default to Max, if not suffix is not specified) - see Historical Data Layers

timestepsstring[] required

Timesteps of the historical: "1h" or "1d" (defaults to "1h"). "1d" timesteps will default select the Max value of the fields. Only 1 timestep can be requested in each API call

startTimestring required

Start time can be "nowMinusXm/h/d" or ISO 8601 format "2019-03-20T14:09:50Z".

endTimestring required

End time can be "nowMinusXm/h/d" or ISO 8601 format "2019-03-20T14:09:50Z".

unitsstring

Unit system of the field values, either "metric" or "imperial" - see Field Descriptors

timezonestring

The timezone parameter displays the response datetime in the requested timezone. The timezone parameter is not affecting the request startTime and endTime. If you like to request data at a specific timezone, please add the timezone (in ISO 8601 format) to the startTime and endTime parameters. Timezone of time values, according to IANA Timezone Names (defaults to UTC) - see Formats

Response

200