MarocAnnonces Cars Scraper
Pricing
from $1.50 / 1,000 results
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
Maintained by CommunityActor 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_urlalways 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:
| Field | Description |
|---|---|
id | MarocAnnonces ad id. |
url | Public ad page. |
title | Ad title. |
category | Vehicle shelf, such as Voitures occasion or Moto - 2 roues. |
price | Numeric price in dirhams when stated. |
price_text | Formatted price string from the card. |
currency | MAD when a price is shown. |
city / country | City, and Morocco. |
posted | Date and time shown on the ad. The site prints the day and time without a year. |
views | View count on the ad page. |
image / images | Cover photo, and the photo gallery. |
description | Ad text. |
seller / phone | Seller name and phone number shown on the ad. |
brand / model | Make and model from the vehicle details. |
year | Model year. |
mileage_km | Mileage in kilometres. A figure shown as 250 k is stored as 250000. |
fuel | Fuel from the vehicle details, such as Diesel or Essence. |
power_cv | Power in CV when the ad states it. |
📋 Input reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input_url | string | No | — | MarocAnnonces vehicle category, search, or ad URL. Overrides every filter. |
category | dropdown | No | voitures-occasion | Voitures occasion, 4x4, motos, trucks, boats, parts, or rideshares. |
brand | string | No | — | Make, such as Toyota or Renault. Matched to the shelf you picked. |
model | string | No | — | Model name. |
city | string | No | — | City, such as Casablanca. |
query | string | No | — | Search keyword. |
fuel | dropdown | No | any | Diesel or Essence. Used on used cars. |
year_min / year_max | integer | No | — | Model year. A range on used cars. A single year on 4x4s, trucks, and parts. |
mileage_min / mileage_max | integer | No | — | Mileage in kilometres. Used on used cars, 4x4s, and trucks. |
price_min / price_max | integer | No | — | Price range in Moroccan dirhams. |
max_results | integer | No | 50 | Maximum rows (1–2000). |