MarocAnnonces Real Estate Scraper avatar

MarocAnnonces Real Estate Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
MarocAnnonces Real Estate Scraper

MarocAnnonces Real Estate Scraper

Scrape apartments, villas, land, and offices for sale or rent on marocannonces.com, with rooms, bathrooms, and surface.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Marco Rodrigues

Marco Rodrigues

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

🏠 MarocAnnonces Real Estate Scraper

Want property ads from MarocAnnonces in a spreadsheet? This scraper makes it easy.

Use structured filters — better for AI agents — or paste an input_url. When input_url is set it overrides the filters.

This actor stays on sale and rent shelves that share the same columns (offer, rooms, bathrooms, surface): apartments, villas, studios, shops, offices, land, farms, and pharmacies. It returns up to 2000 rows per run.

Cars, goods, jobs, and services live in separate actors, because those shelves use different filters and different columns.

💡 Perfect for...

  • Agencies: Export MarocAnnonces sale and rent ads with rooms and surface.
  • Dashboards: Track asking prices in Casablanca, Rabat, and Marrakech.
  • Market research: Slice listings by city, rooms, surface, or price.
  • Data analysts: Export structured rows with seller, phone, photos, and the public ad text.
  • 🤖 AI Agents: Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live MarocAnnonces property ads.
  • 📚 RAG Systems: Feed titles, cities, and specs into retrieval pipelines.
  • 🔗 AI Workflows: Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

✨ Why you'll love this scraper

  • 🔗 Input URL or Filters: Paste any MarocAnnonces property URL, or pick sale or rent, a shelf, and a city. input_url always wins when set.
  • 🎯 Website-Matched Filters: Offer, shelf, city, keyword, price, surface, rooms, and bathrooms.
  • 🌐 Full property ads: Rooms, bathrooms, surface, photos, seller, phone, and description.

📦 What's inside the data?

id, url, title, category, offer_type, price, price_text, currency, city, country, posted, views, image, images, description, seller, phone, rooms, bathrooms, area_m2

🚀 Quick start

Option A: paste https://www.marocannonces.com/categorie/315/Vente-immobilier/Appartements.html. Option B: pick sale or rent, a shelf, and a city, then set max_results.

Input Example (filters):

{
"offer": "vente",
"category": "appartements",
"city": "Marrakech",
"rooms": 2,
"max_results": 100
}

Input Example (URL):

{
"input_url": "https://www.marocannonces.com/categorie/321/Location-immobilier/Appartements.html",
"max_results": 100
}

Output Example:

{
"id": "10474037",
"url": "https://www.marocannonces.com/categorie/315/Appartements/annonce/10474037/Appartement-à-vendre-résidence-Coralia-Marrakech.html",
"title": "Appartement à vendre résidence Coralia Marrakech",
"category": "Appartements",
"offer_type": "Sale",
"price": 2200000,
"price_text": "2 200 000 DH",
"currency": "MAD",
"city": "Marrakech",
"country": "Morocco",
"posted": "15 Oct-23:01",
"views": 5,
"rooms": 2,
"bathrooms": 2,
"area_m2": 94,
"seller": "Othmane El Qasah",
"phone": "061-857-9487",
"description": "Appartement à vendre dans une résidence fermée et sécurisée avec piscine",
"image": "https://www.marocannonces.com/user_images/315/2171558.jpg"
}

Output fields:

FieldDescription
idMarocAnnonces ad id.
urlPublic ad page.
titleAd title.
categoryProperty shelf, such as Appartements or Villas et Riads.
offer_typeSale or Rent.
priceNumeric price in dirhams when stated.
price_textFormatted price string from the card.
currencyMAD when a price is shown.
city / countryCity, and Morocco.
postedDate and time shown on the ad. The site prints the day and time without a year.
viewsView count on the ad page.
image / imagesCover photo, and the photo gallery.
descriptionAd text.
seller / phoneSeller name and phone number shown on the ad.
roomsNumber of rooms.
bathroomsNumber of bathrooms.
area_m2Surface in square metres.

📋 Input reference

ParameterTypeRequiredDefaultDescription
input_urlstringNo—MarocAnnonces property category, search, or ad URL. Overrides every filter.
offerdropdownNoventeFor sale or for rent.
categorydropdownNoappartementsApartments, villas, studios, shops, offices, land, farms, pharmacies, holiday rentals, or shared housing.
citystringNo—City, such as Marrakech.
querystringNo—Search keyword.
price_min / price_maxintegerNo—Price range in Moroccan dirhams.
surface_min / surface_maxintegerNo—Surface in square metres.
roomsintegerNo—Number of rooms. 6 or more matches +5.
bathroomsintegerNo—Number of bathrooms. 5 or more matches +4.
max_resultsintegerNo50Maximum rows (1–2000).