# Mudah.my Malaysia Cars Scraper (`parseforge/mudah-my-cars-scraper`) Actor

Scrapes used car listings from Mudah.my, Malaysia's largest classifieds marketplace. Returns price, year, mileage, location, and seller details for each listing as a flat row.

- **URL**: https://apify.com/parseforge/mudah-my-cars-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** E-commerce, Automation, Integrations
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Mudah.my Malaysia Cars Scraper

**Scrape Malaysian car listings from Mudah.my by search URL, make, or model, up to a million per run.** Every listing returns price, year, mileage, location, and seller details. No login or API key. Export to CSV, JSON, Excel, or XML.

Mudah.my is Malaysia's largest classifieds marketplace, but browsing hundreds of used-car listings by hand is slow. This scraper reads the public car-for-sale pages directly, filters by make or model, and returns each match in one fixed schema. It works from any Mudah.my cars listing URL or a free-text search query.

| Who uses it | What they scrape Mudah.my for |
|---|---|
| Used-car dealers | Monitor competitor pricing and stock across Malaysia daily. |
| Market analysts | Track average resale values by make, model, and year. |
| Car buyers | Find the best deal for a specific model in their region. |
| Lead-generation teams | Build a list of private sellers for a particular car segment. |

### What it does

This Actor collects Malaysian used-car listings from Mudah.my and returns each one as a flat row with price, year, mileage, location, and seller info.

- 🔗 **Start from any URL:** paste a Mudah.my cars search or listing page, and the actor paginates through all results.
- 🔍 **Free-text search:** type a make or model like 'Perodua Myvi' and the actor appends it to the Mudah search.
- 📊 **Flat row output:** every car comes as one row with price, year, mileage, location, and seller details, ready for spreadsheets.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Mudah.my data

**📈 Track used-car prices.**

A dealer runs the scraper weekly on a 'Honda Civic' search to adjust their own lot prices against the Mudah.my average.

**📍 Find cars near you.**

A buyer sets a start URL filtered to Kuala Lumpur and a max price to see only relevant local listings.

**📋 Build a seller list.**

A lead-gen team scrapes all 'Perodua Axia' listings and exports the seller phone numbers for outreach.

**📉 Analyze depreciation.**

An analyst collects the same model across multiple years to plot how resale value drops with age and mileage.

### Why choose this scraper

| | What you get |
|---|---|
| **No API key** | Reads the public Mudah.my pages directly, no registration or token. |
| **Up to 1M listings** | Collect a handful of cars or the entire market in one run. |
| **Fixed schema** | Every listing lands in the same columns, so you can merge runs. |

### How it compares

This actor focuses on Mudah.my cars with a simple URL-plus-search-query input, while the competitors below cover the wider Mudah.my marketplace or offer different pricing models.

| Feature | ParseForge | Mudah.my Scraper | Fast & Reliable | $2 / 1k | Mudah.my Malaysia Car Listings Scraper | Mudah.my Scraper |
|---|---|---|---|---|
| Dedicated cars-only mode | Yes | Not listed | Yes | Not listed |
| Free-text make/model search | Yes | Not listed | Not listed | Not listed |
| Start from any listing URL | Yes | Not listed | Not listed | Not listed |
| Up to 1,000,000 listings per run | Yes | Not listed | Not listed | Not listed |
| Multi-category scraping (property, jobs, etc.) | Not listed | Yes | Not listed | Yes |
| Pagination support | Yes | Not listed | Yes | Not listed |

### Configure the run

Drive the Actor from a Mudah.my cars listing URL and an optional make or model query. Filters run as each listing is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
 "maxItems": 10
}
```

A larger pull:

```json
{
 "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
 "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0085 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Mudah.my Malaysia Cars Scraper](https://apify.com/parseforge/mudah-my-cars-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Mudah.my through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/mudah-my-cars-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your start URL points to a valid Mudah.my cars search page and that the searchQuery, if used, matches listings that exist. Try running without the searchQuery first.

**The actor stops before reaching my maxItems.**

Mudah.my may have fewer listings than your maxItems value. The actor stops when it runs out of pages. Lower maxItems or broaden your search.

**Some listings are missing the price or mileage.**

Mudah.my sellers do not always fill in every field. The actor returns whatever is publicly shown; missing data will be empty in that row.

**I get a timeout or error after many pages.**

Large runs can hit platform limits. Try splitting the job by year or state into multiple smaller runs, or increase the run timeout in Apify.

**The output has duplicate cars.**

If a listing appears on multiple Mudah.my pages, it may be collected twice. Deduplicate in post-processing using the listing ID or URL column.

### FAQ

| Question | Answer |
|---|---|
| Can I scrape only cars from a specific state? | Yes. Set the start URL to a Mudah.my search that already has the state filter applied, and the actor will paginate within that result set. |
| Does this scraper handle Mudah.my pagination? | Yes. It follows the 'next page' links automatically until it hits your maxItems limit or runs out of listings. |
| What output formats do I get? | The dataset can be exported to CSV, JSON, Excel, XML, or pushed to a webhook in real time. |
| Can I search by car make and model at the same time? | Yes. The searchQuery field accepts free text like 'Proton Saga' and appends it to the Mudah.my search. |
| Do I need a Mudah.my account to scrape? | No. The actor reads the public listing pages, so no login or API key is required. |
| How many listings can I collect in one run? | You set the maximum with the maxItems field, up to 1,000,000 cars per run. |
| Does it scrape sold or unavailable listings? | No. It only collects listings that are currently active on the Mudah.my cars-for-sale pages. |
| Can I get the seller's phone number? | The actor returns whatever contact details Mudah.my displays publicly on the listing card. If a phone number is shown, it will be in the output. |
| Will I get blocked if I scrape too fast? | The actor runs on Apify's infrastructure with built-in request management. For very large runs, you can use a higher plan with more IP rotation. |
| Can I schedule this to run daily? | Yes. Apify's scheduler lets you set a cron expression so the actor runs every day, hour, or week automatically. |

### Related actors

- [facebook-marketplace-scraper](https://apify.com/parseforge/facebook-marketplace-scraper?fpr=vmoqkp): Use this if you want to cross-check used-car prices on Facebook Marketplace Malaysia.

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Mudah.my. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `startUrl` (type: `string`):

Full search/listing URL from https://www.mudah.my/malaysia/cars-for-sale. If empty, the actor uses the site's default listings page.

## `maxItems` (type: `integer`):

Maximum number of cars to collect per run.

## `searchQuery` (type: `string`):

Optional free-text query. Appended to the Mudah search if provided.

## Actor input object example

```json
{
  "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/mudah-my-cars-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/mudah-my-cars-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrl": "https://www.mudah.my/malaysia/cars-for-sale",
  "maxItems": 10
}' |
apify call parseforge/mudah-my-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/mudah-my-cars-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9gDncrh387MboMOFy/builds/6rHIxcIKqwZ95H5rt/openapi.json
