Mubawab Morocco Real Estate Scraper avatar

Mubawab Morocco Real Estate Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Mubawab Morocco Real Estate Scraper

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

LIAICHI MUSTAPHA

Maintained by Community

Actor stats

1

Bookmarked

28

Total users

2

Monthly active users

21 days ago

Last modified

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

FieldTypeDefaultDescription
startUrlsarray[]Optional search or detail URLs; empty uses generated searches
transactionTypestringventevente, location, or both
citiesarrayall supported citiesLowercase city slugs such as casablanca or rabat
propertyTypesarrayapartments, villas, houses, riadsProperty types to include
maxListingsinteger500Maximum detail records; 0 means unlimited
maxSearchPagesinteger5Pagination pages per generated search; 0 means unlimited
maxConcurrencyinteger3Parallel browser pages
proxyConfigurationobjectApify Residential ProxyProxy 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

  1. Open the Actor and click Try for free.
  2. Select sale, rental, or both transaction types.
  3. Choose cities and property types, or paste direct Mubawab URLs.
  4. Test with maxListings: 10 and maxSearchPages: 1.
  5. Start the run and inspect the Output table.
  6. Export the dataset as JSON, CSV, Excel, or through the API.
from apify_client import ApifyClient
client = 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.