Avito Morocco Classifieds Scraper
Pricing
from $5.00 / 1,000 results
Avito Morocco Classifieds Scraper
Scrape Avito.ma listings across Morocco. Extract titles, prices, locations, attributes, descriptions, and images for real estate, vehicle, and market research.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer
LIAICHI MUSTAPHA
Maintained by CommunityActor stats
1
Bookmarked
18
Total users
5
Monthly active users
5 days ago
Last modified
Categories
Share
Scrape structured listings from Avito.ma, including titles, prices, locations, category attributes, descriptions, images, and source URLs. Use the data for Moroccan real estate, vehicle, classifieds, and pricing research.
Features
- Extracts listing details from Avito's embedded page data
- Supports category pages, search pages, and individual listing URLs
- Preserves category-specific attributes such as brand, model, mileage, rooms, or surface
- Collects city, area, description, images, price, and currency
- Enforces a configurable result limit before broad searches queue too many pages
- Exports structured data through the Apify dataset API in JSON, CSV, Excel, and other formats
Use Cases
- Price monitoring: compare used vehicle, property, or product prices over time
- Market research: measure inventory and price differences across Moroccan cities
- Competitive intelligence: monitor category supply and listing changes
- Data pipelines: feed structured Avito listings into BI, RAG, or analytics workflows
- Lead research: identify active listings and their publicly available details
Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | array | Avito vehicle search | Search, category, or individual listing URLs |
maxItems | integer | 100 | Maximum records to save; 0 means unlimited |
maxConcurrency | integer | 10 | Maximum pages fetched in parallel |
proxyConfiguration | object | Apify Proxy prefilled | Optional proxy configuration for repeated or large runs |
{"startUrls": [{ "url": "https://www.avito.ma/fr/maroc/voitures-a_vendre" }],"maxItems": 100,"maxConcurrency": 10,"proxyConfiguration": { "useApifyProxy": true }}
Output
Each dataset item represents one Avito listing:
{"url": "https://www.avito.ma/fr/casablanca/voitures/example_123456.htm","id": 123456,"title": "Peugeot 208 Diesel 2019","price": 115000,"currency": "DH","location": {"city": "Casablanca","area": "Maarif"},"attributes": {"Marque": "Peugeot","Modele": "208","Annee-Modele": "2019"},"description": "Public listing description...","images": ["https://content.avito.ma/classifieds/images/example"],"scrapedAt": "2026-07-11T10:00:00.000Z"}
The STATS key-value store record contains the number of listings saved and the limits used for the run.
How to Use
- Open the Actor and click Try for free.
- Add one or more Avito category, search, or listing URLs.
- Start with
maxItems: 10to verify the target category. - Enable a suitable proxy for larger recurring runs.
- Start the run and open the Output tab.
- Download the dataset or access it through the Apify API.
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('scraper_guru/avito-maroc-scraper').call({startUrls: [{ url: 'https://www.avito.ma/fr/maroc/voitures-a_vendre' }],maxItems: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();
Pricing
This is a pay-per-event Actor. A successfully saved listing costs $0.005, or $5 per 1,000 results, plus any platform usage shown by Apify. Start with a small limit to estimate total cost for your target category.
FAQ
Which Avito categories are supported?
Any category that uses the standard Avito.ma listing structure, including vehicles, real estate, electronics, and other classifieds.
Why did a run return fewer items than requested?
The search may contain fewer matching listings, a page may have changed structure, or Avito may have limited requests. Try a smaller concurrency and an appropriate proxy.
Does the Actor extract private seller contact data?
No. It extracts fields publicly available in the listing page data.
Can I run it on a schedule?
Yes. Create an Apify Task and schedule it to produce repeatable market snapshots.
Is scraping Avito legal?
Use the Actor only for lawful purposes. Follow Avito's terms, applicable data-protection rules, and reasonable request limits.
For bugs or target-site changes, open the Issues tab on this Actor.