Skip to main content
All providers

data.gov.my

Open data portalsMY

api.data.gov.my

Malaysia's public-sector open data: the data catalogue served as queryable rows.

Capabilities (6)

GET /v1/data/datagovmy/catalogue1 credit

Returns the full time series of one data.gov.my catalogue dataset as a JSON array of records, with optional row and column filtering.

idlimit?sort?filter?ifilter?contains?icontains?range?date_start?date_end?timestamp_start?timestamp_end?include?exclude?
GET /v1/data/datagovmy/earthquake-warning1 credit

Returns MET Malaysia's earthquake records (UTC and local time, latitude, longitude, depth, magnitude and location text) as a JSON array covering the full history held by the agency.

limit?sort?filter?ifilter?contains?icontains?range?date_start?date_end?timestamp_start?timestamp_end?include?exclude?
GET /v1/data/datagovmy/flood-warning1 credit

Returns every Malaysian river-monitoring station with its coordinates, district, state, sub-basin, current water level and the alert, warning and danger thresholds.

limit?sort?filter?ifilter?contains?icontains?range?date_start?date_end?timestamp_start?timestamp_end?include?exclude?
GET /v1/data/datagovmy/opendosm1 credit

Returns the records of one OpenDOSM series (the Department of Statistics Malaysia's economic indicators such as CPI, GDP and labour force) as a JSON array.

idlimit?sort?filter?ifilter?contains?icontains?range?date_start?date_end?timestamp_start?timestamp_end?include?exclude?
GET /v1/data/datagovmy/weather-forecast1 credit

Returns MET Malaysia's 7-day general forecast for every state, district, town, division and recreation centre: morning, afternoon, night and summary forecast plus min and max temperature.

limit?sort?filter?ifilter?contains?icontains?range?date_start?date_end?timestamp_start?timestamp_end?include?exclude?
GET /v1/data/datagovmy/weather-warning1 credit

Returns MET Malaysia's currently issued weather warnings, each with a bilingual (Malay and English) title, issue and validity timestamps, and the affected areas.

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

Response example

The shape of data from datagovmy/catalogue (Data catalogue series). A sample, not live data.

JSON
[
  {
    "date": "2017-03-30",
    "ron95": 2.13,
    "ron97": 2.41,
    "diesel": 2.11,
    "ron95_skps": null,
    "diesel_budi": null,
    "diesel_skds": null,
    "series_type": "level",
    "ron95_budi95": null,
    "diesel_eastmsia": 2.11
  },
  {
    "date": "2017-04-06",
    "ron95": 2.16,
    "ron97": 2.43,
    "diesel": 2.08,
    "ron95_skps": null,
    "diesel_budi": null,
    "diesel_skds": null,
    "series_type": "level",
    "ron95_budi95": null,
    "diesel_eastmsia": 2.08
  },
  "… 18 more items"
]

Ask with this source

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

  • Data catalogue series

    Use data.gov.my (datagovmy) from fastCRW Pergamon, capability "Data catalogue series" (catalogue). You already know a data.gov.my catalogue id (such as fuelprice or crime_district) and want its actual rows. Example options: id=fuelprice, limit=20, sort=-date. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovmy" and capability "catalogue". 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>

  • Earthquake log

    Use data.gov.my (datagovmy) from fastCRW Pergamon, capability "Earthquake log" (earthquake-warning). You want recent or historical earthquakes recorded by Malaysia's meteorological department. Example options: limit=20, sort=-utcdatetime, range=magdefault[5:9]. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovmy" and capability "earthquake-warning". 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>

  • River level and flood stations

    Use data.gov.my (datagovmy) from fastCRW Pergamon, capability "River level and flood stations" (flood-warning). You want live river levels or flood-risk status for a Malaysian district or river basin. Example options: limit=20, sort=-date, contains=PAHANG@state. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovmy" and capability "flood-warning". 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>

  • OpenDOSM statistics series

    Use data.gov.my (datagovmy) from fastCRW Pergamon, capability "OpenDOSM statistics series" (opendosm). You want an official Malaysian macroeconomic or demographic statistic by its OpenDOSM id rather than a general catalogue dataset. Example options: id=cpi_headline, limit=20, sort=-date. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovmy" and capability "opendosm". 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: data.gov.my

Cache: up to 3600s