mrs
Retrieve moonrise and moonset times for any date between 2018 and 2024 using Hong Kong Observatory data.
Instructions
Times of Moonrise/Moonset (MRS) API Request
Parameters:
dataType: 'MRS' (for Moonrise/Moonset Times)
rformat: 'json' or 'csv' (Response format, default: csv)
year: 2018-2024
month: (Optional) 1-12 (requires year)
day: (Optional) 1-31 (requires year and month)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/opendata.php?dataType=MRS&year=2025&month=1&rformat=json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year between 2018-2024 | |
| month | No | Optional month (1-12) when specific month data is needed | |
| day | No | Optional day (1-31) when specific day data is needed | |
| rformat | No | Output format: 'json' or 'csv' (default: 'csv') |