Property Search
/api/mubawab/search
Search property for sale or for rent
Scrappa's Mubawab API returns structured JSON from Mubawab, a property marketplace for Morocco and Tunisia. Search apartments, villas, houses, land, offices, shops and riads for sale and for rent with city, price, area, room, bathroom and amenity filters, open any listing for coordinates, characteristics and photos, and read agency profiles.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/mubawab/search?location=rabat&transaction=sale&min_price=1000000&max_price=2000000&sort=price_asc" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"success": true,
"data": {
"items": [
{
"id": 8287523,
"title": "Appartement avec terrasse et vue mer",
"price": 1000000,
"currency": "DH",
"offer_type": "sale",
"property_type": "apartments",
"area_m2": 126,
"bedrooms": 1,
"bathrooms": 1,
"location": "L'Ocean, Rabat"
}
],
"excluded_by_filters": 0,
"pagination": { "page": 1, "page_size": 32, "total": 74, "total_pages": 3, "has_next": true }
},
"meta": { "country": "ma", "language": "fr", "endpoint_family": "search", "billable": true }
}
Structured data for real applications. Here are some ideas.
Track asking prices and rents by city, property type, area and rooms across Casablanca, Rabat, Marrakech and Tunis.
Page through filtered searches, sorted by newest or by price, and open each listing for coordinates and photos.
Find promotions and read the units of a project with price, area and rooms.
Plot listings on a map with the latitude and longitude of each listing.
Mubawab scraper API
The Mubawab API is built for real-estate analytics, listing tools and market research. Each search item carries the price and currency, area, rooms, bedrooms, bathrooms, amenities, photos and a description excerpt. Listing detail adds the full text, coordinates, characteristics and the agency.
One search route for sale and rent in Morocco and Tunisia, in French or English.
Filters are always honoured: items that break a filter are never returned.
Pagination returns the real page; a page past the last one answers 404, never page 1 under another number.
Failed requests are never billed.
Resolve a city name to a slug, then pass it as the location of a search.
Open Mubawab Autocomplete API docsAdd price, area, room and amenity filters, choose a sort order, then page through the results.
Open Mubawab Search API docsPass the id of a search result to get the description, coordinates, characteristics, photos and agency.
Open Mubawab Listing API docsEverything you need in one API.
/api/mubawab/search
Search property for sale or for rent
/api/mubawab/listing
Get the full record of one listing
/api/mubawab/autocomplete
Find city slugs by name
/api/mubawab/agency
Get one agency with its listings
/api/mubawab/filters
List property types, sort options and amenities
See how Scrappa compares to the official API.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Mubawab listing data as JSON | Build your own parser | |
| Morocco and Tunisia in one API | Separate scrapers | |
| Filters guaranteed on every item | Not available | |
| Price per 1k requests | From $0.20 | Varies by plan |
| Unified API key | Yes (80+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits only |
No. Scrappa is an independent service and is not affiliated with or endorsed by Mubawab. The API returns structured JSON from public listing data through a Scrappa API key.
Morocco (ma) and Tunisia (tn), in French and English. Arabic pages are not available.
No. Contact data is not part of the response.
No. Only successful responses are billed.