Avito Morocco Cars
Pricing
from $2.00 / 1,000 results
Avito Morocco Cars
Scrape cars from Avito Morocco (avito.ma). Use the same listing filters as the site or paste a URL — the URL wins when set.
Pricing
from $2.00 / 1,000 results
Rating
0.0
(0)
Developer
Marco Rodrigues
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 hours ago
Last modified
Categories
Share
🇲🇦 Avito Morocco Cars
Want Avito Morocco car ads 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.
Avito is Morocco’s main classifieds site. Cars alone is well over 100,000 ads. This actor returns up to 2000 rows per run.
💡 Perfect for...
- Marketplaces: Export Volkswagen, Renault, Dacia, and Peugeot stock from Avito Morocco.
- Dashboards: Track new ads without paging the site.
- Market research: Slice Moroccan cars by city, make, fuel, or seller.
- Data analysts: Export structured rows with public listing URLs.
- 🤖 AI Agents: Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Avito car results.
- 📚 RAG Systems: Feed titles, prices, and cities into retrieval pipelines.
- 🔗 AI Workflows: Plug into LangChain, AutoGPT, CrewAI, and similar stacks.
✨ Why you'll love this scraper
- 🔗 Input URL or Filters: Paste an Avito cars search or listing-search URL, or pick the same filters as the site.
input_urlalways wins when set. - 🎯 Website-Matched Filters: City, keyword, make, fuel, gearbox, seller, price, year, mileage, photos, and price present.
- 🌐 Listing cards: Title, price, year, mileage, fuel, city, seller, and listing URL.
📦 What's inside the data?
id, url, title, price, currency, year, mileage, fuel, gearbox, city, seller, seller_type, image, date
🚀 Quick start
Option A: paste https://www.avito.ma/fr/casablanca/voitures.
Option B: pick a city or car make and set max_results.
Input Example (filters):
{"city": "casablanca","make": "58","price_min": 50000,"price_max": 150000,"max_results": 100}
Input Example (URL):
{"input_url": "https://www.avito.ma/fr/rabat/voitures","max_results": 100}
Output Example:
{"id": "57722596","url": "https://www.avito.ma/fr/aïn_diab/voitures_d_occasion/Mini_Countryman_Diesel_Automatique_2013_57722596.htm","title": "Mini Countryman Diesel Automatique 2013","price": 140000,"currency": "DH","year": "2013","mileage": "66,400 km","fuel": "Diesel","gearbox": "Automatique","city": "Casablanca","seller": "Slimane Lahbabi","seller_type": "Private","image": "https://content.avito.ma/classifieds/images/example.jpg","date": "2026-09-10T00:29:00Z"}
Output fields:
| Field | Description |
|---|---|
id | Avito ad id. |
url | Public listing page. |
title | Ad title. |
price | Price in Moroccan dirhams when shown. |
currency | Currency when shown, usually DH. |
year | Model year when shown. |
mileage | Mileage when shown. |
fuel | Fuel type when shown. |
gearbox | Manual or automatic when shown. |
city | City on the ad. |
seller | Seller name. |
seller_type | Private or professional. |
image | Listing photo. |
date | Listing time as a UTC datetime, calculated from the site’s relative label. |
📋 Input reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input_url | string | No | — | Avito cars search URL. Overrides every filter. |
city | string enum | No | All Morocco | Moroccan city. |
query | string | No | — | Same as the site search box. |
make | string enum | No | all | Car brand. |
fuel | string enum | No | any | Diesel, essence, hybrid, electric, or LPG. |
gearbox | string enum | No | any | Manual or automatic. |
seller | string enum | No | anyone | Private or professional. |
price_min | integer | No | — | Lowest price in Moroccan dirhams. |
price_max | integer | No | — | Highest price in Moroccan dirhams. |
year_min | integer | No | — | Earliest model year. |
year_max | integer | No | — | Latest model year. |
mileage_max | integer | No | — | Highest mileage in kilometres. |
has_price | boolean | No | false | Only ads that show a price. |
has_photos | boolean | No | false | Only ads with photos. |
max_results | integer | No | 50 | Maximum rows (1–2000). |