Skip to main content
All providers

MET Malaysia

Weather & EnvironmentMY

api.data.gov.my

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

Capabilities (3)

GET /v1/data/metmalaysia/earthquakes1 credit

Returns MET Malaysia's seismic log, one row per recorded earthquake in and around the Malaysian region back to 2023 (904 events, 452 KB today), each with UTC and local (UTC+8) timestamps, latitude, longitude and depth in km, the epicentre name in English and Bahasa Melayu, the magnitude and its scale type, a status flag, and the distance and bearing both to the nearest Malaysian town and to the nearest foreign one.

filter?ifilter?contains?icontains?range?sort?date_start?date_end?timestamp_start?timestamp_end?limit?include?exclude?meta?
GET /v1/data/metmalaysia/forecast1 credit

Returns MET Malaysia's official daily general forecast as one row per location per day (roughly 3,080 rows covering about 440 Malaysian states, districts, towns, divisions and recreation centres over seven days), each row carrying location_id and location_name, the date, separate morning, afternoon and night forecast texts, a summary_forecast with the summary_when period it applies to, and min_temp/max_temp in Celsius.

filter?ifilter?contains?icontains?range?sort?date_start?date_end?limit?include?exclude?meta?
GET /v1/data/metmalaysia/warnings1 credit

Returns the severe-weather bulletins MET Malaysia currently has in force (strong winds and rough seas, thunderstorms, continuous rain and similar), each with the issue timestamp, a categorised title, the valid_from/valid_to window, and full heading, body text and public instruction in both English and Bahasa Melayu.

filter?ifilter?contains?icontains?sort?date_start?date_end?timestamp_start?timestamp_end?limit?include?exclude?meta?

Response example

The shape of data from metmalaysia/earthquakes (Earthquake bulletins). A sample, not live data.

Example truncated, full shape in JSON from the API.

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": "799

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>

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.

https://dasar.jdn.gov.my/search-g/download-file/25/7f821c650c868d025fb

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: MET Malaysia via data.gov.my

Cache: up to 3600s