Avito Morocco Cars avatar

Avito Morocco Cars

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Avito Morocco Cars

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

Marco Rodrigues

Maintained by Community

Actor 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_url always 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:

FieldDescription
idAvito ad id.
urlPublic listing page.
titleAd title.
pricePrice in Moroccan dirhams when shown.
currencyCurrency when shown, usually DH.
yearModel year when shown.
mileageMileage when shown.
fuelFuel type when shown.
gearboxManual or automatic when shown.
cityCity on the ad.
sellerSeller name.
seller_typePrivate or professional.
imageListing photo.
dateListing time as a UTC datetime, calculated from the site’s relative label.

📋 Input reference

ParameterTypeRequiredDefaultDescription
input_urlstringNoAvito cars search URL. Overrides every filter.
citystring enumNoAll MoroccoMoroccan city.
querystringNoSame as the site search box.
makestring enumNoallCar brand.
fuelstring enumNoanyDiesel, essence, hybrid, electric, or LPG.
gearboxstring enumNoanyManual or automatic.
sellerstring enumNoanyonePrivate or professional.
price_minintegerNoLowest price in Moroccan dirhams.
price_maxintegerNoHighest price in Moroccan dirhams.
year_minintegerNoEarliest model year.
year_maxintegerNoLatest model year.
mileage_maxintegerNoHighest mileage in kilometres.
has_pricebooleanNofalseOnly ads that show a price.
has_photosbooleanNofalseOnly ads with photos.
max_resultsintegerNo50Maximum rows (12000).