Mubawab Morocco Real Estate Scraper avatar

Mubawab Morocco Real Estate Scraper

Deprecated

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Mubawab Morocco Real Estate Scraper

Mubawab Morocco Real Estate Scraper

Deprecated

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

42

Total users

2

Monthly active users

3 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
proxyConfigurationobjectno proxyNot 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_dh and price_per_m2 are extracted again on current Mubawab pages, from the listing's structured data.
  • Sale or rent on every record: transaction_type falls 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

  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 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.

PlanPer 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:

ActorWhat it collects
Avito Maroc ScraperAvito.ma classifieds, including real estate, with prices and locations
Rekrute Jobs ScraperJob listings from Rekrute, Morocco's main job board
Emploi Public Morocco ScraperMoroccan public-sector job competitions
Tanqeeb Jobs ScraperJob listings across 18 Middle East and North Africa countries