Mubawab Morocco Real Estate Scraper
Pricing
from $1.00 / 1,000 results
Mubawab Morocco Real Estate Scraper
Scrape 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
28
Total users
2
Monthly active users
21 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 | Apify Residential Proxy | Proxy settings |
{"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.
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 is a pay-per-event Actor. A successfully saved property record costs $0.001, or $1 per 1,000 results, plus any platform usage shown by Apify. Browser and residential-proxy usage can affect the final run cost.
FAQ
Why are some property fields null?
Mubawab listings do not always provide every attribute. Missing source values remain null instead of being guessed.
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.