clmmaxt
Retrieve daily maximum temperature records for a specified station and year, with optional month filtering. Data available from 1884 to present.
Instructions
Daily Maximum Temperature (CLMMAXT) API Request
Parameters:
station: Station code (refer to documentation for full list)
year: Year (1884 - current year, station-specific range)
month: Month (1-12, optional but requires year)
rformat: 'json' or 'csv' (Response format, default: csv)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/opendata.php?dataType=CLMMAXT&station=HKO&year=2025&rformat=json
Response Keys (JSON format):
type: Array with data type ["Max Temperature"]
fields: Array with field names ["Year", "Month", "Day", "Temperature(C)"]
data: Array of arrays with temperature data
legend: Array with station information
Response Keys (CSV format):
Type: Data type line
Header row: Year,Month,Day,Temperature(C)
Data rows: Actual temperature data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station | Yes | Station code (e.g., HKO for Hong Kong Observatory) | |
| year | Yes | Year between 1884 and current year | |
| month | No | Optional month (1-12) when specific month data is needed | |
| rformat | No | Output format: 'json' or 'csv' (default: 'json') | json |