Skip to main content
fastCRW Pergamon
Weather · HK

Hong Kong Observatory Open Data

data.weather.gov.hk

Hong Kong Observatory open data API: real-time station readings, local and nine-day forecasts, weather warnings and quick earthquake messages for Hong Kong, in English, traditional Chinese or simplified Chinese.

Showing the catalogue

1Request

Response language: English, traditional Chinese or simplified Chinese.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/hko/earthquake?lang=en" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from Hong Kong Observatory Open Data.

JSON
{
  "lat": 32.37,
  "lon": 93.78,
  "mag": 7,
  "region": "in Xizang",
  "ptime": "2026-10-22T22:33:00+08:00",
  "updateTime": "2026-10-22T22:48:00+08:00"
}

Attribution: Source: Hong Kong Observatory, Government of the Hong Kong Special Administrative Region. Data reproduced under the DATA.GOV.HK Terms of Use.

Licence: The Observatory publishes its datasets on DATA.GOV.HK, whose terms grant reuse explicitly: "Use of Data on DATA.GOV.HK You are allowed to browse, download, distribute, reproduce, hyperlink to, and print the Data for both commercial and non-commercial purposes on a free-of-charge basis on condition that:- you shall comply with the Terms of Use; you shall identify clearly the source of the Data and acknowledge the Government and the Relevant Organisations' ownership of the intellectual property rights in the Data and in all copies thereof including but not limited to paper copies, digital copies and copies placed on other websites; you shall indemnify the Government and the Relevant Organisations against any alleged loss or liability arising from or in connection with the use of the Data." The Hong Kong Observatory's own open data page links every dataset to its DATA.GOV.HK record and states no narrower terms, so the commercial, free-of-charge distribution grant applies. Attribution to the Hong Kong Observatory and acknowledgement of Government ownership are conditions of use.

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Quick earthquake message

    Use Hong Kong Observatory Open Data (hko) from fastCRW Pergamon, capability "Quick earthquake message" (earthquake). You want the latest earthquake the Observatory has located, not a weather reading. Example options: lang=en. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hko" and capability "earthquake". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Local weather forecast

    Use Hong Kong Observatory Open Data (hko) from fastCRW Pergamon, capability "Local weather forecast" (local-forecast). You want the Observatory's short written forecast for Hong Kong. Example options: lang=en. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hko" and capability "local-forecast". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Nine-day forecast

    Use Hong Kong Observatory Open Data (hko) from fastCRW Pergamon, capability "Nine-day forecast" (nine-day-forecast). You are planning several days ahead and need daily highs, lows and rain probability. Example options: lang=en. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hko" and capability "nine-day-forecast". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Real-time weather readings

    Use Hong Kong Observatory Open Data (hko) from fastCRW Pergamon, capability "Real-time weather readings" (real-time-readings). You need the weather in Hong Kong right now, station by station. Example options: lang=en. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hko" and capability "real-time-readings". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>