qem
Retrieve earthquake data including latitude, longitude, magnitude, region, and time from the Hong Kong Observatory. Supports English, Traditional Chinese, and Simplified Chinese.
Instructions
Quick Earthquake Messages (qem) API Request
Parameters:
lang: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/earthquake.php?dataType=qem&lang=en
Response Keys:
lat: Latitude
lon: Longitude
mag: Richter magnitude scale
region: Region
ptime: Earthquake date and time (YYYY-MM-DD'T'hh:mm:ssZ)
updateTime: Update time (YYYY-MM-DD'T'hh:mm:ssZ)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | change the language of the result | en |