Mubawab Morocco Real Estate Scraper
DeprecatedPricing
from $1.00 / 1,000 results
Mubawab Morocco Real Estate Scraper
DeprecatedScrape Mubawab.ma real estate listings across Morocco. Extract prices, surfaces, property types, cities, neighborhoods, and URLs for market and investment research.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
LIAICHI MUSTAPHA
Maintained by CommunityActor stats
1
Bookmarked
42
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
Scrape Mubawab.ma property listings across Morocco with prices, surface area, rooms, property type, transaction type, city, neighborhood, and direct listing URLs. The output is ready for market research, investment analysis, and property-data pipelines.
Features
- Covers sale and rental listings across major Moroccan cities
- Supports apartments, villas, houses, riads, land, offices, and commercial properties
- Extracts price, price per square meter, surface, rooms, bathrooms, and floor
- Includes city, neighborhood, standing, property condition, and transaction type
- Accepts generated city/category searches or direct Mubawab URLs
- Provides overview and analysis-ready dataset views plus run statistics
Use Cases
- Property market analysis: compare price per square meter by city and neighborhood
- Investment research: identify listings and areas that merit deeper review
- Real estate dashboards: populate recurring inventory and pricing reports
- Competitive monitoring: track available stock across locations and property types
- Data science: build clean Moroccan housing datasets for statistical analysis
Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | array | [] | Optional search or detail URLs; empty uses generated searches |
transactionType | string | vente | vente, location, or both |
cities | array | all supported cities | Lowercase city slugs such as casablanca or rabat |
propertyTypes | array | apartments, villas, houses, riads | Property types to include |
maxListings | integer | 500 | Maximum detail records; 0 means unlimited |
maxSearchPages | integer | 5 | Pagination pages per generated search; 0 means unlimited |
maxConcurrency | integer | 3 | Parallel browser pages |
proxyConfiguration | object | no proxy | Not needed for most runs; turn on Apify Proxy only if Mubawab blocks your requests |
{"transactionType": "vente","cities": ["casablanca"],"propertyTypes": ["appartements"],"maxListings": 100,"maxSearchPages": 3,"maxConcurrency": 2}
Output
Each dataset item represents one property listing:
{"listing_id": "8261406","price_dh": 1550000,"price_per_m2": 15979,"surface_m2": 97,"num_rooms": 3,"num_bathrooms": 2,"floor": 3,"property_type": "appartement","standing": "moyen_standing","state": "bon_etat","city": "casablanca","neighborhood": "maarif","transaction_type": "vente","listing_url": "https://www.mubawab.ma/fr/a/8261406/example","listing_title": "Appartement a vendre a Casablanca","scraped_at": "2026-07-11T10:00:00.000Z"}
The Output tab includes an overview view, a compact analysis view, and a STATS record with duration and saved-result count.
For rentals (location), price_dh is the monthly rent. price_per_m2 is derived from price_dh and surface_m2.
What's new (October 2026)
- Prices fixed:
price_dhandprice_per_m2are extracted again on current Mubawab pages, from the listing's structured data. - Sale or rent on every record:
transaction_typefalls back to the search the listing came from. - Faster, cheaper runs: no proxy by default, and maps, ads and analytics are no longer loaded.
How to Use
- Open the Actor and click Try for free.
- Select sale, rental, or both transaction types.
- Choose cities and property types, or paste direct Mubawab URLs.
- Test with
maxListings: 10andmaxSearchPages: 1. - Start the run and inspect the Output table.
- Export the dataset as JSON, CSV, Excel, or through the API.
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("scraper_guru/mubawab-housing-scraper").call(run_input={"transactionType": "vente","cities": ["casablanca", "rabat"],"propertyTypes": ["appartements"],"maxListings": 200,})
Pricing
This Actor uses pay-per-event pricing, so platform usage is included. You pay for each listing saved to the dataset, plus a tiny start charge of $0.00005 per run.
| Plan | Per 1,000 listings (from November 9, 2026) | Per 1,000 listings (until November 8, 2026) |
|---|---|---|
| Free | $3.00 | $1.00 |
| Bronze | $2.40 | $1.00 |
| Silver | $2.30 | $1.00 |
| Gold, Platinum, Diamond | $2.20 | $1.00 |
Example: 100 apartments for sale in Casablanca cost about $0.30 on the Free plan. Apify shows the exact plan-adjusted price before each run.
FAQ
Why are some property fields null?
Mubawab listings do not always provide every attribute. Missing source values remain null instead of being guessed. price_dh is null when the listing says "price on request"; standing is rarely published.
Do I need a proxy?
Usually not. Runs work without one. If Mubawab starts blocking requests, enable Apify Proxy in the input.
Can I scrape one property URL?
Yes. Add the direct detail URL to startUrls and use a small result limit.
How fresh is the data?
Every run fetches the current public listings available on Mubawab.ma.
Can I monitor prices over time?
Yes. Schedule a Task and retain each dated dataset as a market snapshot.
Is scraping Mubawab legal?
Use the data lawfully and follow Mubawab's terms, applicable data-protection rules, and reasonable request limits.
For extraction issues or site changes, open the Issues tab on this Actor.
More Morocco and MENA data
Other Actors from the same developer for Moroccan and regional market data:
| Actor | What it collects |
|---|---|
| Avito Maroc Scraper | Avito.ma classifieds, including real estate, with prices and locations |
| Rekrute Jobs Scraper | Job listings from Rekrute, Morocco's main job board |
| Emploi Public Morocco Scraper | Moroccan public-sector job competitions |
| Tanqeeb Jobs Scraper | Job listings across 18 Middle East and North Africa countries |