Mubawab API

Mubawab API for Moroccan and Tunisian Property Search, Rentals, Listing Details, Agencies and City Autocomplete

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.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
5
Endpoints
2
Countries (Morocco, Tunisia)
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

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.

Request preview
Request
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"
JSON response
{
  "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 }
}

What you can build

Structured data for real applications. Here are some ideas.

Moroccan Price Analysis

Track asking prices and rents by city, property type, area and rooms across Casablanca, Rabat, Marrakech and Tunis.

Listing Monitoring

Page through filtered searches, sorted by newest or by price, and open each listing for coordinates and photos.

New-build Projects

Find promotions and read the units of a project with price, area and rooms.

Mapping

Plot listings on a map with the latitude and longitude of each listing.

Mubawab scraper API

Mubawab API for Moroccan and Tunisian property listings, rentals and agencies

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.

Choose the right Mubawab API endpoint

Use Autocomplete to find a city

Resolve a city name to a slug, then pass it as the location of a search.

Open Mubawab Autocomplete API docs

Use Property Search for market coverage

Add price, area, room and amenity filters, choose a sort order, then page through the results.

Open Mubawab Search API docs

Use Listing Detail for the full record

Pass the id of a search result to get the description, coordinates, characteristics, photos and agency.

Open Mubawab Listing API docs

Available endpoints

Everything you need in one API.

Scrappa vs ScrapingBee / ScraperAPI

See how Scrappa compares to the official API.

Mubawab listing data as JSON
Scrappa:
ScrapingBee / ScraperAPI: Build your own parser
Morocco and Tunisia in one API
Scrappa:
ScrapingBee / ScraperAPI: Separate scrapers
Filters guaranteed on every item
Scrappa:
ScrapingBee / ScraperAPI: Not available
Price per 1k requests
Scrappa: From $0.20
ScrapingBee / ScraperAPI: Varies by plan
Unified API key
Scrappa: Yes (80+ APIs)
ScrapingBee / ScraperAPI: Scraping only
Free tier
Scrappa: 500 credits/month
ScrapingBee / ScraperAPI: Trial credits only

Key features

Search, listing detail, autocomplete, agency and filter routes as JSON
Apartments, villas, houses, land, offices, shops and riads for sale and for rent
Numeric prices with currency, area, rooms, bedrooms, bathrooms, photos and agency
Listing detail with full description, coordinates and characteristics
No browser, no login: public data served through a single Scrappa API key

Frequently asked questions

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.

Start using the Mubawab API

Sign up and get 500 free credits. No credit card required.