Skip to main content
fastCRW Pergamon
Weather · MY

MET Malaysia

api.data.gov.my

Malaysian weather: general forecasts and warnings from the national meteorological department.

Showing the catalogue

1Request

Comma-separated columns, leading dash for descending. Effectively required for anything recent: this log defaults to OLDEST first, so a bare limit=5 hands back quakes from October 2023 unless you pass -utcdatetime.

Inclusive numeric window written <column>[<begin>:<end>], either bound optional. The most useful filter on this endpoint: magdefault screens by magnitude, depth by shallow versus deep, and lat/lon box the region.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/metmalaysia/earthquakes" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from MET Malaysia.

JSON
[
  {
    "utcdatetime": "2023-10-09T03:50:50",
    "localdatetime": "2023-10-09T11:50:50",
    "lat": 0.350031,
    "lon": 122.238975,
    "depth": 135,
    "location": "Semenanjung Minahassa, Sulawesi",
    "location_original": "Minahassa Peninsula, Sulawesi",
    "n_distancemas": "613km SE Semporna,Sabah",
    "n_distancerest": "97km W Gorontalo,Indonesia",
    "nbm_distancemas": "613km TG Semporna,Sabah",
    "nbm_distancerest": "97km B Gorontalo,Indonesia",
    "magdefault": 5.5,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "0.3500° U",
    "lon_vector": "122.2390° T"
  },
  {
    "utcdatetime": "2023-10-16T11:35:31",
    "localdatetime": "2023-10-16T19:35:31",
    "lat": 52.520874,
    "lon": -176.811569,
    "depth": 181,
    "location": "Kepulauan Andreanof, Kepulauan Aleutian ",
    "location_original": "Andreanof Islands, Aleutian Islands",
    "n_distancemas": "7,823km NE Pitas,Sabah",
    "n_distancerest": "1,642km E Petropavlovsk Kamchatskiy,Russia",
    "nbm_distancemas": "7,823km TL Pitas,Sabah",
    "nbm_distancerest": "1,642km T Petropavlovsk Kamchatskiy,Russia",
    "magdefault": 6.4,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "52.5209° U",
    "lon_vector": "176.8116° B"
  },
  {
    "utcdatetime": "2023-10-19T14:08:26",
    "localdatetime": "2023-10-19T22:08:26",
    "lat": -8.227485,
    "lon": 107.310715,
    "depth": 105,
    "location": "Jawa, Indonesia",
    "location_original": "Java, Indonesia",
    "n_distancemas": "1,083km S Tebedu,Sarawak",
    "n_distancerest": "142km SW Tasikmalaya,Indonesia",
    "nbm_distancemas": "1,083km S Tebedu,Sarawak",
    "nbm_distancerest": "142km BD Tasikmalaya,Indonesia",
    "magdefault": 5.2,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "8.2275° S",
    "lon_vector": "107.3107° T"
  },
  {
    "utcdatetime": "2023-10-19T18:58:57",
    "localdatetime": "2023-10-20T02:58:57",
    "lat": 7.442137,
    "lon": 126.480553,
    "depth": 48,
    "location": "Mindanao, Filipina",
    "location_original": "Mindanao, Philippines",
    "n_distancemas": "933km E Kinabatangan,Sabah",
    "n_distancerest": "87km S Bislig,Philippines",
    "nbm_distancemas": "933km T Kinabatangan,Sabah",
    "nbm_distancerest": "87km S Bislig,Philippines",
    "magdefault": 5.7,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "7.4421° U",
    "lon_vector": "126.4806° T"
  },
  {
    "utcdatetime": "2023-10-20T19:51:59",
    "localdatetime": "2023-10-21T03:51:59",
    "lat": 0.716768,
    "lon": 125.386955,
    "depth": 101,
    "location": "Utara Laut Maluku",
    "location_original": "Northern Molucca Sea",
    "n_distancemas": "869km SE Semporna,Sabah",
    "n_distancerest": "90km S Bitung,Indonesia",
    "nbm_distancemas": "869km TG Semporna,Sabah",
    "nbm_distancerest": "90km S Bitung,Indonesia",
    "magdefault": 5.1,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "0.7168° U",
    "lon_vector": "125.3870° T"
  },
  {
    "utcdatetime": "2023-10-23T23:05:25",
    "localdatetime": "2023-10-24T07:05:25",
    "lat": 24.031994,
    "lon": 122.555405,
    "depth": 15,
    "location": "Rantau Taiwan",
    "location_original": "Taiwan Region",
    "n_distancemas": "2,004km N Kudat,Sabah",
    "n_distancerest": "147km SE Keelung,Taiwan",
    "nbm_distancemas": "2,004km U Kudat,Sabah",
    "nbm_distancerest": "147km TG Keelung,Taiwan",
    "magdefault": 5.5,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "24.0320° U",
    "lon_vector": "122.5554° T"
  },
  {
    "utcdatetime": "2023-10-25T13:25:01",
    "localdatetime": "2023-10-25T21:25:01",
    "lat": 0.956989,
    "lon": 124.801239,
    "depth": 141,
    "location": "Semenanjung Minahassa, Sulawesi",
    "location_original": "West Papua Region, Indonesia",
    "n_distancemas": "799km SE Semporna,Sabah",
    "n_distancerest": "38km S Tomohon,Indonesia",
    "nbm_distancemas": "799km TG Semporna,Sabah",
    "nbm_distancerest": "38km S Tomohon,Indonesia",
    "magdefault": 5.3,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "0.9570° U",
    "lon_vector": "124.8012° T"
  },
  {
    "utcdatetime": "2023-10-26T05:44:18",
    "localdatetime": "2023-10-26T13:44:18",
    "lat": -7.321461,
    "lon": 129.364868,
    "depth": 136,
    "location": "Laut Banda",
    "location_original": "Banda Sea",
    "n_distancemas": "1,777km SE Semporna,Sabah",
    "n_distancerest": "423km S Ambon,Indonesia",
    "nbm_distancemas": "1,777km TG Semporna,Sabah",
    "nbm_distancerest": "423km S Ambon,Indonesia",
    "magdefault": 5.6,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "7.3215° S",
    "lon_vector": "129.3649° T"
  },
  {
    "utcdatetime": "2023-10-27T07:49:51",
    "localdatetime": "2023-10-27T15:49:51",
    "lat": -9.82893,
    "lon": 120.2696,
    "depth": 91,
    "location": "Rantau Sumba, Indonesia",
    "location_original": "Sumba Region, Indonesia",
    "n_distancemas": "1,528km SE Lubok Antu,Sarawak",
    "n_distancerest": "227km SE Bima,Indonesia",
    "nbm_distancemas": "1,528km TG Lubok Antu,Sarawak",
    "nbm_distancerest": "227km TG Bima,Indonesia",
    "magdefault": 5.4,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "9.8289° S",
    "lon_vector": "120.2696° T"
  },
  {
    "utcdatetime": "2023-10-28T13:04:54",
    "localdatetime": "2023-10-28T21:04:54",
    "lat": -7.752903,
    "lon": 126.041283,
    "depth": 10,
    "location": "Laut Banda ",
    "location_original": "Banda Sea",
    "n_distancemas": "1,591km SE Semporna,Sabah",
    "n_distancerest": "382km NE Kupang,Indonesia",
    "nbm_distancemas": "1,591km TG Semporna,Sabah",
    "nbm_distancerest": "382km TL Kupang,Indonesia",
    "magdefault": 5,
    "magtypedefault": "mb",
    "status": "NORMAL",
    "visible": true,
    "lat_vector": "7.7529° S",
    "lon_vector": "126.0413° T"
  },
  "… 894 more items"
]

Attribution: Source: MET Malaysia via data.gov.my

Licence: Government of Malaysia Open Data Terms of Use 1.0, read verbatim from the official 2015 circular: copy, publish, distribute, adapt and exploit commercially, with attribution.

Ask with this source

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

  • Earthquake bulletins

    Use MET Malaysia (metmalaysia) from fastCRW Pergamon, capability "Earthquake bulletins" (earthquakes). You need recent or historical earthquake events affecting Malaysia and its neighbours, with magnitude, depth and how far the epicentre sat from Malaysian soil. Example options: sort=-utcdatetime, range=magdefault[6:10], icontains=Sabah@n_distancemas. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "metmalaysia" and capability "earthquakes". 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>

  • 7-day general weather forecast

    Use MET Malaysia (metmalaysia) from fastCRW Pergamon, capability "7-day general weather forecast" (forecast). You want the official Malaysian weather outlook for the coming week, for one named town or district or for the whole country at once. Example options: contains=Langkawi@location__location_name, icontains=langkawi@location__location_name, filter=Ds001@location__location_id. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "metmalaysia" and capability "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>

  • Active severe weather warnings

    Use MET Malaysia (metmalaysia) from fastCRW Pergamon, capability "Active severe weather warnings" (warnings). You need to know what severe-weather alerts are live in Malaysia right now, which areas and seas they cover and until when they run. Example options: icontains=strong@warning_issue__title_en, contains=Rough Seas@warning_issue__title_en, filter=Strong Winds and Rough Seas Warning@warning_issue__title_en. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "metmalaysia" and capability "warnings". 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>