Malaysia publishes daily prices for everyday food and grocery items as open data. The dataset is called PriceCatcher. The raw files are monthly and large, with item and shop codes in separate lookup files, so getting "chicken prices in Selangor this week" means downloading, joining and filtering yourself. Disclosure: I run an Apify Actor that does that join. This post shows how to use it from Python, and where the data stops being useful.
What the data is
The dataset page names the Department of Statistics Malaysia (DOSM) and the Ministry of Domestic Trade as data sources and says prices are collected and verified by groundstaff every day. The data is released under CC BY 4.0. In the lookup on 3 December 2026 there were 797 items and about 3,900 premises.
Items are generic goods such as chicken, green chilli or rice, each with a unit. There are no brands and no barcodes, so this is a price index by place and day, not a branded basket tool. For measuring inflation, DOSM recommends its consumer price index instead.
Get price moves with the Apify API
The Actor has six modes: latest, byItem, byPlace, history, priceChange and stateSummary. This asks for shops in Selangor whose chicken price moved by at least 5% against a week earlier:
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("yappman/malaysia-pricecatcher-grocery-prices").call(
run_input={
"mode": "priceChange",
"states": ["Selangor"],
"itemCategory": "AYAM",
"lookbackDays": 7,
"compareDays": 7,
"minChangePercent": 5,
"maxItems": 20,
}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["itemName"], row["premiseName"], row["district"],
row["previousPriceRm"], "->", row["priceRm"],
f'{row["priceChangePercent"]}%')
Each row has the item, the shop, the state and district, the date and the price in ringgit. In priceChange mode it also has the earlier price and the change in RM and percent.
State medians without downloading rows
If you want a trend rather than individual shops, stateSummary returns per item, state and day the number of observations and the minimum, median and maximum price. It is the smallest output, because the sums are done for you:
run = client.actor("yappman/malaysia-pricecatcher-grocery-prices").call(
run_input={"mode": "stateSummary", "items": ["beras"],
"dateFrom": "2026-11-01", "dateTo": "2026-11-30",
"maxItems": 500}
)
With maxItems 500 and one month file this costs at most 0.005 + 0.003 + 500 x 0.0015 = $0.758.
Dates in history and stateSummary runs span at most 366 days, both ends included.
What it costs
Pay per event, the same on every plan: $0.005 a run, $0.003 for each monthly file read, $0.0015 a row. The first run above is 20 rows with one file read: 0.005 + 0.003 + 20 x 0.0015 = $0.038. When the latest date in the data is the 13th or earlier, the 14-day window reads two files, which makes it $0.041. If a filter matches no item or no shop, the run reads no month file and charges nothing. A run where nothing passes the 5% test still pays the run and month-file events ($0.008, or $0.011 with two files).
Things to know
- The data lags the calendar. The publisher's page shows a daily update, but on 3 December 2026 the newest date in the file was 1 December. A lookback window ends on the latest date in the data, not on today.
-
chainGuessis a guess from the shop name by fixed patterns (Mydin, 99 Speedmart and a few more). The source has no chain field; unmatched shops are null. - The Actor keeps each month file in a key-value store in your own Apify account, so repeat runs ask the publisher only whether the file changed. That store counts toward your usage; you can delete it at any time.
- History starts in January 2022;
dateFromcannot be earlier than 2022-01-01. - It reads the published open files only. It does not scrape any shop website.
- Not affiliated with or endorsed by DOSM, KPDN or the Government of Malaysia.
To get a price-move alert, save the input as a Task and put it on an Apify schedule.
Store page: https://apify.com/yappman/malaysia-pricecatcher-grocery-prices?fpr=wy5pu7 (affiliate link: we may earn a commission if you sign up through it).
Contains data from PriceCatcher (https://open.dosm.gov.my/data-catalogue/pricecatcher), Department of Statistics Malaysia (DOSM) and the Ministry of Domestic Trade, via data.gov.my, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Changes: joined with the item and premise lookups, filtered, rounded and summarised; contact-like text replaced; chainGuess added.
Top comments (0)