Skip to content
//Selangor Rainfall Scraper (InfoBanjir JPS) example\\

All Selangor districts from a page link

Every online rain gauge of Selangor, read from a pasted InfoBanjir rainfall page link.

Updated November 22, 2026

What this example returns

The dataset’s “Rainfall readings” view shows 7 columns: Station, Station Id, District, Last updated, Rain from midnight (mm), Last hour (mm), and Date. See every output field.

What each setting does

The input this example runs Selangor Rainfall Scraper (InfoBanjir JPS) with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

InfoBanjir rainfall page link (optional) pageUrl

https://infobanjirjps.selangor.gov.my/rainfall-data.html?districtId=-1&lang=en

Paste a rainfall page link from infobanjirjps.selangor.gov.my, for example https://infobanjirjps.selangor.gov.my/rainfall-data.html?districtId=6&lang=en. The district (districtId) or station (stationId) named in the link is used instead of the Districts field.

.json
{
  "pageUrl": "https://infobanjirjps.selangor.gov.my/rainfall-data.html?districtId=-1&lang=en"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Station readingfrom $0.00024One saved station row with its rainfall readings.

Full pricing

When to use this example

From the Selangor Rainfall Scraper (InfoBanjir JPS) readme:

Why is `rainfall_1h_mm` sometimes larger than `rainfall_mm`?

Rain in the last hour can include rain from before midnight; the Actor returns both values as the site publishes them.

How fresh is the data?

As fresh as the site: each station reports every 15 minutes or so, and reading_time shows when its latest reading came in. A station that has not reported for a while keeps its last time, exactly as on the page.

Other ways to run Selangor Rainfall Scraper (InfoBanjir JPS)

All examples of Selangor Rainfall Scraper (InfoBanjir JPS)

About Selangor Rainfall Scraper (InfoBanjir JPS)

Scrape live rainfall readings from InfoBanjir JPS Selangor (infobanjirjps.selangor.gov.my): every online rain gauge of a district (Klang, Petaling, Hulu Langat...) with station, district, last reading time, rain since midnight, last hour and six previous days in mm. No login.

Price:
From $0.24 / 1,000 results
Developer:
Querystone
Categories:
News, Other

Selangor Rainfall Scraper (InfoBanjir JPS) pageOutput fieldsPricing

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.