hourlyrainfall
Get rainfall amounts from Hong Kong automatic weather stations for the past hour, including station names and measurements in mm.
Instructions
Rainfall in the Past Hour from Automatic Weather Station API Request
Parameters:
lang: Language option (en, tc, sc) - default: en
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/hourlyRainfall.php?lang=en
Response Keys:
obsTime: Observation time in ISO 8601 format
hourlyRainfall: Array of rainfall data from automatic weather stations
automaticWeatherStation: Name of the weather station
automaticWeatherStationID: ID of the weather station
value: Rainfall amount
unit: Measurement unit (mm)
Response example: { "obsTime": "2025-01-01T08:00:00+08:00", "hourlyRainfall": [ { "automaticWeatherStation": "Lau Fau Shan", "automaticWeatherStationID": "RF001", "value": "0", "unit": "mm" }, { "automaticWeatherStation": "Wetland Park", "automaticWeatherStationID": "RF002", "value": "2", "unit": "mm" } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for the response: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese) | en |