Skip to content

MetMalaysia Weather Scraper

Try for free

Scrape weather forecasts, warnings and observations from MET Malaysia (met.gov.my): 7-day forecasts for every state, district, town and tourist spot, current warnings with issue time, and station readings. No login needed.

🌦️ MetMalaysia Weather Scraper

Get Malaysian weather data straight from MET Malaysia (Malaysian Meteorological Department, www.met.gov.my) as one clean table: 7-day forecasts for every state, district, town and tourist spot, the current warning bulletins with the time they were issued, and station readings of rain, temperature, humidity and visibility. Pick what you need, run, and export to JSON, CSV or Excel. No login needed.

✨ Why use MetMalaysia Weather Scraper?

  • 🗺️ Every forecast location — the 16 states, about 170 districts, about 200 towns and about 40 tourist destinations, each with 7 days of forecasts.
  • 🌡️ Ready-to-use numbers — minimum and maximum temperature as numbers, the forecast date in ISO form next to the date as printed.
  • ⚠️ All warning bulletins — thunderstorm, continuous rain, strong winds and rough seas, tropical cyclone, and earthquake and tsunami, with the issue time; in English and Malay where the site publishes both (the earthquake bulletin is English only).
  • 🌧️ Station readings — current temperature of the 16 main stations, plus hourly rain (mm), temperature (°C), humidity (%) and visibility (km) of the last 24 hours for each observation station.
  • 🇲🇾 Text as published — forecasts in English or Bahasa Melayu, kept word for word.
  • ⚡ Light — plain HTTP requests, no browser.

🎯 Use cases

  • 📅 Planning — events, construction, logistics or travel planning across Malaysian towns and states.
  • 🚨 Alerting — watch the warning bulletins and react when a thunderstorm, continuous rain or strong wind warning is issued.
  • 📊 Analysis — collect forecasts and hourly readings every day to build your own history.
  • 🌾 Agriculture and fisheries — follow rain and wind conditions for your district or coastal waters.

🚀 How to use

  1. Choose the Data to scrape: forecasts, warnings, observations (or all three).
  2. For forecasts, choose the Forecast levels (states, districts, towns, tourist destinations).
  3. Optionally list Only these locations (for example Johor, Kuala Lumpur, Ipoh).
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or read them through the API.

📥 Input

FieldWhat it does
dataTypesforecasts, warnings, observations; empty = all three.
forecastLevelsstate, district, town, tourist; empty = states.
locationsOnly these places (name or site code such as St013, Tn081, 48648). Warnings always cover the whole country.
includeHourlyObservationsAlso save the hourly rain, temperature, humidity and visibility of the last 24 hours per station (on by default).
languageen (English) or ms (Bahasa Melayu) forecast texts.
maxResultsStop after this many records; 0 = no limit.
proxyConfigurationProxy settings; the default residential proxy in Malaysia works.
{
  "dataTypes": ["forecasts", "warnings", "observations"],
  "forecastLevels": ["state", "town"],
  "language": "en"
}

📤 Output

One row per forecast day, warning bulletin or station reading. recordType tells them apart; fields that don't apply to a record type are empty.

FieldDescription
recordTypeforecast, warning or observation
location, locationId, locationTypePlace name, the site's code, and its kind (state, district, town, tourist, station, country)
stateState of the station (current readings)
forecastDate, forecastDateText, dayOfWeekForecast day (ISO), as printed, and the day name
weatherConditionForecast weather of the day; for current readings the condition of the station's icon
morning, afternoon, nightForecast for each part of the day
minTempC, maxTempCForecast minimum and maximum temperature, °C
observationType, observationTimecurrent (ISO time of the reading) or hourly (hour label as the site shows it)
rainfallMm, temperatureC, humidityPct, visibilityKmRain in the hour (mm), temperature (°C), relative humidity (%), visibility (km)
warningType, warningCode, warningStatusKind of bulletin, its code on the site, and issued or no warning
warningTitle, warningTextBulletin title and text in English
warningTitleMs, warningTextMsBulletin title and text in Malay
publishedAt, publishedTextIssue time (ISO, Malaysia time +08:00) and the issue line as published
language, sourceUrl, scrapedAtText language, source page and scrape time

Example forecast row:

{
  "recordType": "forecast",
  "location": "Johor",
  "locationId": "St013",
  "locationType": "state",
  "forecastDate": "2026-11-21",
  "forecastDateText": "21/11/2026",
  "dayOfWeek": "Saturday",
  "weatherCondition": "Isolated thunderstorms",
  "morning": "Isolated rain",
  "afternoon": "Isolated thunderstorms",
  "night": "Isolated thunderstorms",
  "minTempC": 23,
  "maxTempC": 32,
  "sourceUrl": "https://www.met.gov.my/en/forecast/weather/state/St013"
}

Example warning row:

{
  "recordType": "warning",
  "warningType": "Thunderstorm",
  "warningCode": "IWR30002",
  "warningStatus": "issued",
  "warningTitle": "Thunderstorms Warning",
  "warningText": "THUNDERSTORMS WARNING\nThunderstorms, heavy rain and strong winds are expected over the state of Sarawak: ...",
  "publishedAt": "2026-11-20T22:45:00+08:00",
  "publishedText": "Issued at 10:45 PM, 20 November 2026",
  "sourceUrl": "https://www.met.gov.my/data/IWR30002.html"
}

💡 Good to know

  • Issue times: warnings carry the time printed on the bulletin. The forecast pages print no issue time, so publishedAt is empty for forecasts; scrapedAt tells you when they were read.
  • Hourly readings: the site shows the last 24 hours per station with hour labels (1AM ... 12AM) and no date, so observationTime keeps the label as shown. Hours without any value are left out; a single value the site leaves blank stays empty. Two stations have no name on the site, so location holds their station number.
  • Warnings without an active alert are still saved, with warningStatus = no warning, so you can see that the bulletin was checked. The earthquake bulletin counts as issued whenever it reports an earthquake; read its text for the tsunami assessment (often "No tsunami threat to Malaysia").
  • Station codes: the current-weather feed gives Kuala Lumpur and Petaling Jaya the same station code, as published.
  • Rain amounts are published per station for the last 24 hours; forecasts describe rain in words (for example "Isolated rain").
  • Volume: states give 112 forecast rows, towns about 1,400, districts about 1,200; all hourly readings about 1,000 rows.
  • Proxy: www.met.gov.my answers connections from Malaysia, so the default proxy is residential in Malaysia.

❓ FAQ

Is a login needed? No. Everything comes from public pages of www.met.gov.my.

How fresh is the data? Every run reads the pages live. MET Malaysia updates forecasts daily and warnings whenever a new bulletin is issued.

Can I get only one city? Yes: add it under Only these locations, for example Kuala Lumpur with the town forecast level.

Questions or a missing field? Write to hello@scrape.ly.

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.