MarocAnnonces Cars Scraper avatar

MarocAnnonces Cars Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
MarocAnnonces Cars Scraper

MarocAnnonces Cars Scraper

Scrape used cars, 4x4s, motos, trucks, boats, and parts from marocannonces.com, with make, year, mileage, and fuel.

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

8 days ago

Last modified

Categories

Share

🚗 MarocAnnonces Cars Scraper

Want vehicle 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 Auto-Moto shelves that share the same columns (make, model, year, mileage, fuel): used cars, 4x4s, motos, trucks, boats, parts, and rideshares. It returns up to 2000 rows per run.

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

💡 Perfect for...

  • Dealers: Export MarocAnnonces car and moto ads with make, year, and mileage.
  • Dashboards: Track prices in Casablanca, Rabat, Marrakech, and Tanger.
  • Market research: Slice vehicles by make, fuel, year, 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 vehicle ads.
  • 📚 RAG Systems: Feed titles, makes, 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 vehicle URL, or pick a shelf, make, and city. input_url always wins when set.
  • 🎯 Website-Matched Filters: Shelf, make, model, city, keyword, fuel, year, mileage, and price.
  • 🌐 Full vehicle ads: Make, model, year, mileage, fuel, power, photos, seller, phone, and description.

📦 What's inside the data?

id, url, title, category, price, price_text, currency, city, country, posted, views, image, images, description, seller, phone, brand, model, year, mileage_km, fuel, power_cv

🚀 Quick start

Option A: paste https://www.marocannonces.com/categorie/314/Auto-Moto/Voitures-occasion.html. Option B: pick a shelf and a make, then set max_results.

Input Example (filters):

{
"category": "voitures-occasion",
"brand": "Toyota",
"city": "Casablanca",
"fuel": "diesel",
"max_results": 100
}

Input Example (URL):

{
"input_url": "https://www.marocannonces.com/categorie/314/Auto-Moto/Voitures-occasion.html",
"max_results": 100
}

Output Example:

{
"id": "10467099",
"url": "https://www.marocannonces.com/categorie/314/Voitures-occasion/annonce/10467099/Véhicule-faible-kilometrage.html",
"title": "Véhicule faible kilometrage",
"category": "Voitures occasion",
"price": 250000,
"price_text": "250 000 DH",
"currency": "MAD",
"city": "Agadir",
"country": "Morocco",
"posted": "6 Oct-11:15",
"views": 27,
"brand": "Toyota",
"model": "Hi Ace",
"year": 2025,
"mileage_km": 4500,
"fuel": "Essence",
"power_cv": 9,
"seller": "Le. Naour",
"phone": null,
"description": "Marque. Geeley. Modèle sport. Toutes les options 4500 kms. Garantie 6 ans constructeur 9cv. Modèle. Essence",
"image": null,
"images": null
}

Output fields:

FieldDescription
idMarocAnnonces ad id.
urlPublic ad page.
titleAd title.
categoryVehicle shelf, such as Voitures occasion or Moto - 2 roues.
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.
brand / modelMake and model from the vehicle details.
yearModel year.
mileage_kmMileage in kilometres. A figure shown as 250 k is stored as 250000.
fuelFuel from the vehicle details, such as Diesel or Essence.
power_cvPower in CV when the ad states it.

📋 Input reference

ParameterTypeRequiredDefaultDescription
input_urlstringNo—MarocAnnonces vehicle category, search, or ad URL. Overrides every filter.
categorydropdownNovoitures-occasionVoitures occasion, 4x4, motos, trucks, boats, parts, or rideshares.
brandstringNo—Make, such as Toyota or Renault. Matched to the shelf you picked.
modelstringNo—Model name.
citystringNo—City, such as Casablanca.
querystringNo—Search keyword.
fueldropdownNoanyDiesel or Essence. Used on used cars.
year_min / year_maxintegerNo—Model year. A range on used cars. A single year on 4x4s, trucks, and parts.
mileage_min / mileage_maxintegerNo—Mileage in kilometres. Used on used cars, 4x4s, and trucks.
price_min / price_maxintegerNo—Price range in Moroccan dirhams.
max_resultsintegerNo50Maximum rows (1–2000).