Avito Cars Search Scraper
Pricing
$15.00/month + usage
Avito Cars Search Scraper
Automate car listing extraction from Avito.ma, Morocco's leading automotive marketplace. Get comprehensive vehicle data including specs, pricing, dealer info, and features for automotive research, price analysis, and inventory monitoring across the Moroccan market.
Pricing
$15.00/month + usage
Rating
0.0
(0)
Developer
ecomscrape
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Contact
If you encounter any issues or need to exchange information, please feel free to contact us through the following link: My profile
Avito.ma Cars Scraper: Extract Moroccan Vehicle Listings - Complete Auto Market Data
Introduction
Avito.ma stands as Morocco's premier online marketplace for automotive sales, serving as the primary platform where buyers and sellers connect for new and used vehicle transactions. With thousands of active listings spanning multiple vehicle categories from economy cars to luxury SUVs, Avito.ma contains extensive automotive data crucial for dealerships, market analysts, and automotive businesses operating in the Moroccan market.
Manual collection of vehicle data from Avito.ma is impractical for businesses needing systematic market intelligence, competitive pricing analysis, or inventory monitoring. The Avito.ma Cars Scraper automates this process, enabling efficient extraction of detailed vehicle listings with comprehensive specifications, pricing data, and dealer information.
Scraper Overview
The Avito.ma Cars Scraper is a specialized automotive data extraction tool designed to systematically collect vehicle listings from Morocco's largest auto marketplace. This scraper employs advanced web automation to navigate search results and extract detailed vehicle profiles with technical specifications, pricing information, and dealer data.
Key advantages include flexible proxy configuration for reliable access, configurable retry mechanisms for network stability, and precise pagination controls for managing large datasets. The tool serves automotive dealerships monitoring competitor inventory, market researchers analyzing pricing trends, automotive businesses tracking vehicle availability, and data analysts studying the Moroccan automotive market.
The scraper handles various search parameters including vehicle type queries, specific model searches, and custom filters, maintaining high data accuracy while implementing ethical scraping practices. Users can customize extraction to focus on specific vehicle categories, price ranges, or other criteria relevant to their automotive intelligence needs.
Input and Output Details
Example url 1: https://www.avito.ma/fr/maroc/suv?o=2
Example url 2: https://www.avito.ma/fr/fes?areas=3_3,3_684
Example url 3: https://www.avito.ma/fr/fes/v%C3%A9hicules
Example Screenshot of automotive list by query page:

Input Format
The scraper accepts JSON configuration for precise control over vehicle data extraction from Avito.ma.
Scrape with URLs:
{"proxy": {"useApifyProxy": false},"ignore_url_failures": true,"max_retries_per_url": 2,"max_items_per_url": 20,"urls": ["https://www.avito.ma/fr/maroc/suv?o=2","https://www.avito.ma/fr/casablanca/voitures","https://www.avito.ma/fr/maroc/mercedes"]}
The urls parameter: Add URLs of car search result pages from Avito.ma. Paste URLs individually or use bulk edit for prepared lists. Ideal for targeting specific vehicle categories, locations, or brands.
The ignore_url_failures parameter: When true, scraping continues even if some URLs fail after maximum retries, ensuring complete data collection across multiple searches.
When providing URLs, search filter options are disabled—only specified URLs will be scraped.
Scrape with Search Filters:
{"keyword": "Mercedes SUV","page": 1,"max_items_per_url": 20,"max_retries_per_url": 2,"proxy": {"useApifyProxy": false}}
The keyword parameter: Enter search terms for vehicles (e.g., "BMW", "SUV diesel", "Dacia Logan"). Use French or Arabic terms matching Avito.ma's search conventions.
The page parameter: Specify starting page number for pagination control, useful for resuming interrupted scrapes or targeting specific result ranges.
When using search filters, leave the urls field empty.
General Options:
The max_items_per_url parameter: Limits items per URL or search. Default 20 provides manageable batches for comprehensive collection.
The max_retries_per_url parameter: Sets retry attempts for failed requests. Default 2 balances thoroughness with efficiency.
The proxy parameter: Configure proxy settings for maintaining access and avoiding detection. Essential for large-scale extraction.
Output Format
The scraper returns comprehensive vehicle data with each field serving specific automotive intelligence purposes:
-
Vehicle ID: Unique listing identifier. Essential for tracking vehicles across time, preventing duplicates, and building historical price databases.
-
Make ID / Make Caption: Manufacturer identifier and name. Critical for brand-level analysis, market share studies, and manufacturer-specific research.
-
Model ID / Model Caption: Vehicle model identifier and name. Enables model-specific comparisons, popularity tracking, and competitive analysis.
-
Variant: Specific trim level or version. Important for precise pricing comparisons and understanding feature differentiation.
-
Dealership ID / Dealership Name: Dealer identification. Valuable for analyzing dealer inventory strategies, pricing patterns, and market presence.
-
Short Description: Brief vehicle summary. Provides quick context for listing highlights and unique selling points.
-
Stock No / Reg No: Stock and registration numbers. Useful for inventory tracking and vehicle history verification.
-
Year: Manufacturing year. Critical for age-based analysis, depreciation studies, and market segmentation.
-
Body Style Display: Vehicle body type (SUV, sedan, hatchback). Essential for category-based market analysis and inventory classification.
-
Exterior Colour 1 / Exterior Colour 2: Primary and secondary exterior colors. Reveals color popularity trends and buyer preferences.
-
Door No / Seat No: Number of doors and seats. Important for family vehicle analysis and practical specification comparisons.
-
Interior Colour: Interior color specification. Provides complete vehicle description for detailed listings.
-
Engine Size / Engine Size Unit Name: Engine displacement with units. Critical for performance analysis and fuel efficiency comparisons.
-
Fuel Type 1 Name / Fuel Type 2 Name: Primary and hybrid fuel types. Essential for analyzing fuel preference trends and hybrid market penetration.
-
Odometer Reading / Odometer Unit Name: Mileage with units. Crucial for used car valuation, wear assessment, and pricing analysis.
-
Transmission ID Name / Transmission Display: Transmission type. Important for market preference analysis and feature-based segmentation.
-
Seat Material Name: Interior material type. Indicates luxury level and interior quality.
-
Retail Price Amount / Special Price Amount: Regular and promotional pricing. Core data for competitive pricing analysis, market trends, and deal identification.
-
Price Applicable: Indicates if pricing is active. Helps filter valid listings for accurate market analysis.
-
ORC Included / ORC Price Amount: On-road cost details. Important for understanding total ownership costs in Moroccan market.
-
Description: Full vehicle description. Provides detailed selling points, condition notes, and additional features.
-
CIN URL / VSS URL: Certificate and inspection document links. Enables verification of vehicle legitimacy and condition.
-
Has Offer / Has Video / Has 360: Indicates special offers and media availability. Identifies premium listings and engaging presentations.
-
Is New / Is Hot / Is Basic Listing: Listing status flags. Useful for filtering new vs. used, promoted listings, and listing quality.
-
Offer Text / Offer Expiry Seconds: Promotion details and timing. Captures limited-time deals and promotional strategies.
-
Fuel Saver Rating / Cost / Mileage / Note / Promo Badge: Fuel efficiency metrics. Important for environmental analysis and operating cost comparisons.
-
Driver Safety Stars / Caption / Promo Badge: Safety ratings and information. Critical for safety-conscious buyers and family vehicle analysis.
-
Standard Features / Features: Equipment and feature lists. Essential for feature-based comparisons and value assessment.
-
Images: Vehicle photo URLs. Enables visual verification and presentation quality assessment.
-
Kudos Badges: Trust indicators and seller ratings. Helps assess seller credibility and listing quality.
-
Similar Vehicles: Related vehicle suggestions. Useful for competitive set identification.
-
Dealership / Private Seller: Complete seller information. Enables seller-level analysis and contact data collection.
-
Vehicle Rating: User ratings. Provides market sentiment and popularity indicators.
-
View Caption: View count. Indicates listing popularity and market interest.
-
Has Price Drop / Price Drop Date / Amount: Price reduction tracking. Critical for identifying motivated sellers and pricing trends.
-
Categories: Vehicle classification tags. Enables category-based filtering and market segmentation.
-
Finance Application URL / Has FC Application / Has Pre Qual: Financing availability. Indicates dealer financing options and buyer support services.
-
Is Private Seller: Seller type flag. Distinguishes dealer vs. private sales for market analysis.
-
CO2 Disclaimer / CO2 / CO2 Text / CO2 Stars: Emissions data. Important for environmental compliance analysis and green vehicle tracking.
-
Clean Vehicle Badge / Text / Ind / Disclaimer: Environmental certification. Identifies eco-friendly vehicles and green market trends.
-
Price CCD Inclusive: Tax-inclusive pricing. Provides complete cost transparency for Moroccan market.
-
Fuel Stars Text / Safety Stars Text: Rating descriptions. Offers detailed performance and safety context.
-
Finance With Dealer / Finance Text Option: Dealer financing details. Reveals financing strategies and buyer incentives.
-
Headline: Main listing title. Captures key selling points and marketing messages.
-
Auction / Listing Type: Sale method classification. Distinguishes auction vs. fixed-price listings.
Example Output:
[{"id": "76835458","list_id": "57396873","has_shipping": false,"is_ecommerce": false,"category": {"formatted": "Voitures - Voitures de location","name": "Voitures de location","id": "2020","parent": {"id": "2100","name": "Voitures"}},"ad_type": {"key": "LET","label": "à louer"},"subject": "Jeep Renegade – Location SUV Casablanca","description": "Louez la Jeep Renegade chez 1Service Car et profitez d’un SUV moderne, puissant et confortable pour vos déplacements à Casablanca.\n\nNos services :\n✔️ SUV confortable\n✔️ Location jour / semaine / mois\n✔️ Tarifs compétitifs","seller": {"id": "6992","type": "STORE","name": "1 service car","phone": {"number": "0675716369","verified": false},"img": "https://content.avito.ma/stores/66/66286a5a-6eae-49f9-a5cf-adc922b06a59.jpg"},"price": {},"monthly_payment": {},"old_price": {},"default_image": "https://content.avito.ma/classifieds/images/10143919557?t=card","images": ["https://content.avito.ma/classifieds/images/10143919557?t=card","https://content.avito.ma/classifieds/images/10143919556?t=card","https://content.avito.ma/classifieds/images/10143919554?t=card","https://content.avito.ma/classifieds/images/10143919555?t=card","https://content.avito.ma/classifieds/images/10143919553?t=card"],"videos": [],"params": {"secondary": []},"location": "Casablanca, Aïn Diab","date": "il y a 10 heures","is_highlighted": false,"discount": null,"is_immoneuf": false,"is_premium": true,"is_delivery": false,"is_saved": false,"is_shop": true,"is_urgent": false,"is_hot_deal": false,"is_car_checked": false,"href": "https://www.avito.ma/fr/aïn_diab/voitures_de_location/Jeep_Renegade___Location_SUV_Casablanca_57396873.htm","from_url": "https://www.avito.ma/fr/maroc/suv?o=1"}]
Usage Guide
Option 1: Scraping with URLs
Construct targeted search URLs on Avito.ma by navigating the site, applying filters for vehicle type, brand, location, or price range, then copy resulting URLs into the urls array.
Best practices:
- Test individual URLs before batch processing
- Use specific filters (SUV, location, brand) for targeted data
- Monitor for blocked requests during large extractions
- Keep backup URL lists as search structures may change
Troubleshooting:
- Adjust proxy settings if encountering access blocks
- Verify URL parameters match current Avito.ma structure
- Reduce retry counts for timeout issues
Option 2: Scraping with Search Filters
Use keyword-based searches for systematic vehicle data collection.
Step 1: Define Search Keyword Use French or Arabic terms matching Avito.ma conventions:
- Brands: "Mercedes", "BMW", "Renault", "Dacia"
- Vehicle types: "SUV", "berline", "4x4", "citadine"
- Combinations: "Toyota Hilux", "Diesel automatique"
Step 2: Configure Pagination
Set page parameter for:
- Starting from specific result pages
- Resuming interrupted scrapes
- Systematic coverage planning
Best Practices:
Keyword Strategy:
- Use specific brand/model combinations for targeted results
- Include French terms for better matching
- Test keywords on Avito.ma before bulk scraping
Pagination Management:
- Set reasonable
max_items_per_url(20-50 items) - Track page numbers for complete coverage
- Resume from last position if interrupted
Data Validation:
- Verify extracted vehicles match search criteria
- Check pricing data completeness
- Validate dealer information accuracy
- Ensure specifications are properly captured
Common Issues:
Empty Results:
- Verify keyword spelling in French
- Broaden search terms if too specific
- Check if category exists on Avito.ma
Incomplete Data:
- Some listings may have partial information
- Private sellers may provide less detail than dealers
- Filter results by completeness criteria post-extraction
Benefits and Applications
The Avito.ma Cars Scraper delivers significant efficiency gains for automotive market intelligence, reducing days of manual research to hours of automated extraction.
Primary Applications:
Competitive Pricing Analysis: Monitor competitor pricing strategies, identify undervalued vehicles, track price adjustments over time, and optimize your own pricing based on market data.
Inventory Monitoring: Track competitor inventory levels, identify popular models and features, monitor new listing frequency, and understand market supply dynamics.
Market Research: Analyze Moroccan automotive market trends, assess brand popularity and market share, study buyer preferences through listing features, and identify emerging vehicle categories.
Dealership Intelligence: Research dealer strategies and inventory composition, identify expansion opportunities, analyze promotional tactics, and benchmark against market leaders.
Price Prediction Models: Build datasets for machine learning price models, analyze depreciation patterns, forecast market values, and develop automated valuation tools.
Competitive advantages:
- Real-time access to Morocco's largest automotive marketplace
- Comprehensive vehicle specifications and pricing data
- Dealer and seller contact information for B2B outreach
- Historical tracking capabilities for trend analysis
- Scalable extraction supporting enterprise-level research
Structured output integrates with automotive CRM systems, pricing optimization tools, and business intelligence platforms, enabling immediate activation for sales strategy, market analysis, and inventory planning.
Conclusion
The Avito.ma Cars Scraper transforms manual automotive research into efficient automated intelligence gathering for the Moroccan market. By providing systematic access to Morocco's premier automotive marketplace, it empowers dealerships, analysts, and automotive businesses with data-driven insights for pricing, inventory, and competitive strategy.
Whether monitoring competitor pricing, researching market trends, or building comprehensive vehicle databases, this scraper provides the automotive intelligence capabilities needed to succeed in Morocco's dynamic auto market.
Ready to accelerate your Moroccan automotive market intelligence? Start extracting valuable vehicle data from Avito.ma today.
Your feedback
We are always working to improve Actors' performance. So, if you have any technical feedback about avito.ma Cars Search Scraper or simply found a bug, please create an issue on the Actor's Issues tab in Apify Console.