Avito Cars Details Scraper avatar
Avito Cars Details Scraper

Pricing

$15.00/month + usage

Go to Apify Store
Avito Cars Details Scraper

Avito Cars Details Scraper

Avito.ma Cars Details Scraper automates extraction of comprehensive vehicle listing data from Morocco's leading classifieds platform. Collect detailed car specifications, pricing, seller information, and images for automotive market research, price analysis, and inventory management.

Pricing

$15.00/month + usage

Rating

0.0

(0)

Developer

ecomscrape

ecomscrape

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

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 Details Scraper: Extract Moroccan Vehicle Listings Data for Automotive Market Analysis

Introduction

Avito.ma stands as Morocco's largest online classifieds platform, dominating the automotive marketplace with hundreds of thousands of vehicle listings ranging from used cars to luxury vehicles. As the primary destination for car buyers and sellers across Morocco, Avito.ma hosts detailed listings with comprehensive vehicle specifications, pricing data, seller information, and extensive image galleries.

For automotive dealers, market researchers, price comparison platforms, and businesses analyzing the Moroccan automotive market, accessing this structured vehicle data is invaluable. However, manually collecting detailed information from individual car listings is extremely time-consuming, especially when analyzing market trends, monitoring competitor pricing, or building comprehensive vehicle databases.

The Avito.ma Cars Details Scraper solves this challenge by automating the extraction of detailed vehicle information from specific car listing pages. Whether you're tracking luxury vehicle pricing trends in Casablanca, analyzing the used car market across Morocco, or monitoring specific vehicle models for inventory sourcing, this scraper enables systematic data collection that would otherwise require countless hours of manual effort.

Scraper Overview

The Avito.ma Cars Details Scraper is a specialized data extraction tool designed to collect comprehensive vehicle information from individual car listing pages on Morocco's premier classifieds platform. This scraper leverages advanced web automation to extract detailed specifications, pricing data, seller profiles, and multimedia content from each listing.

The tool offers several key advantages including residential proxy support for reliable international access, configurable retry mechanisms for handling network issues, and precise URL-based extraction for targeting specific vehicle listings. It's particularly valuable for automotive dealerships sourcing inventory, market researchers analyzing pricing trends, competitive intelligence analysts monitoring dealer strategies, and automotive data platforms aggregating market information.

The scraper is designed to extract rich vehicle data including technical specifications, pricing details, location information, seller profiles, image galleries, and listing metadata. It maintains high data accuracy while implementing best practices for ethical web scraping and respecting platform guidelines.

Input and Output Details

Example url 1: https://www.avito.ma/fr/route_d_immouzere/voitures_d_occasion/Tesla_Model_Y_4X4_Dual_Moteur2023_%C3%A0_F%C3%A8s_57363451.htm

Example url 2: https://www.avito.ma/fr/autre_secteur/voitures_d_occasion/Dacia_Dokker_Diesel_Manuelle_2017_%C3%A0_Tanger_57269432.htm

Example url 3: https://www.avito.ma/fr/sidi_othmane/voitures_d_occasion/Dacia_Duster_Diesel_Automatique_2022_%C3%A0_Casablanca_56786615.htm

Example Screenshot of cars information page:

Input Format

The scraper accepts a JSON configuration focused on extracting detailed information from specific car listing URLs:

{
"proxy": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"],
"apifyProxyCountry": "MA"
},
"max_retries_per_url": 2,
"urls": [
"https://www.avito.ma/fr/route_d_immouzere/voitures_d_occasion/Tesla_Model_Y_4X4_Dual_Moteur2023_%C3%A0_F%C3%A8s_57363451.htm"
]
}

The urls parameter: Add the URLs of specific car detail pages you want to scrape from Avito.ma. You can paste URLs one by one, or use the Bulk edit section to add a prepared list. Each URL should point to an individual vehicle listing page containing complete car details, not search result pages.

The max_retries_per_url parameter: Limit the number of retries for each URL if the scrape is detected as a bot or the page fails to load. The default value is 2, balancing thoroughness with efficiency when accessing international platforms.

The proxy parameter: Proxy configuration is essential for maintaining reliable access to Avito.ma from international locations. Select proxies to be used by your scraper. For optimal results with Avito.ma, consider using Moroccan residential proxies (apifyProxyCountry: "MA") to ensure best access and reduce detection risk.

Output Format

Example output

[
{
"id": "76798301",
"list_id": "57363451",
"subject": "Tesla Model Y 4X4 Dual Moteur2023 à Fès",
"description": "Je mets en vente Ma tesla Model Y 4x4 AWD Dual moteur.\n-Dedouaneé en octobre 2024\n-Tesla Model Y Grande autonomie transmission Integrale avec 533Kms range\n-Garantie Batterie jusqu'au 2032\n-premiere Main\n-Avec 4 Roues motrices AWD \n-option Accelerateur Boost\n-avec de type de volants , volants YOKE ,demi et volant normal\n-vignette annuelle gratuite 0 dhs\n-recharge gratuite chez tesla superchargeur\n-pour plus d'informartion contacter moi via wathsapp.",
"price": {},
"monthly_payment": {},
"old_price": {},
"list_time": "2026-01-12T18:42:00Z",
"location": {
"city": {
"id": "3",
"name": "Fès",
"tracking_value": "fès",
"slug": "Fès",
"tracking_name": "fès"
},
"area": {
"id": "519",
"name": "Route d'Immouzere",
"tracking_value": "route_d_immouzere",
"slug": "Route d'Immouzere",
"tracking_name": "route_d_immouzere"
},
"address": null
},
"type": {
"key": "s",
"label": "à vendre"
},
"category": {
"id": "2010",
"name": "Voitures d'occasion",
"tracking_value": "voitures_d_occasion",
"parent": {
"id": "2100",
"name": "Voitures",
"tracking_value": "voitures",
"parent": {
"id": "2000",
"name": "Avito Véhicules",
"slug": "véhicules"
},
"tracking_name": "voitures",
"slug": "voitures"
},
"tracking_name": "voitures_d_occasion",
"slug": "voitures_d_occasion-à_vendre",
"parents_names": [
"Voitures",
"Voitures d'occasion"
]
},
"vertical": "Voitures",
"seller": {
"id": "272286",
"uuid": "A272286",
"type": "private",
"reg_time": 2014,
"name": "abdel",
"is_ecommerce": false
},
"is_immoneuf": false,
"immoneuf_project_id": null,
"is_phone_hidden": false,
"phone": "0661181883",
"is_phone_verified": false,
"has_shipping": false,
"is_saved": false,
"is_urgent": false,
"is_hot_deal": false,
"is_car_checked": false,
"is_eligible_to_expertize": false,
"params": {
"primary": [
{
"key": "SELL",
"label": "Type",
"value": "Voitures d'occasion, à vendre"
},
{
"key": "519",
"label": "Secteur",
"value": "Route d'Immouzere"
},
{
"key": "mileage_exact",
"label": "Kilométrage",
"value": 80000
},
{
"key": "brand",
"label": "Marque",
"value": "Tesla",
"tracking_value": "tesla",
"param_raw_value": "68"
},
{
"key": "model",
"label": "Modèle",
"value": "Model Y",
"tracking_value": "model_y",
"param_raw_value": "model_y"
},
{
"key": "doors",
"label": "Nombre de portes",
"value": "5",
"tracking_value": "5",
"param_raw_value": "1"
},
{
"key": "v_origin",
"label": "Origine",
"value": "Dédouanée",
"tracking_value": "dédouanée",
"param_raw_value": "0"
},
{
"key": "first_owner",
"label": "Première main",
"value": "Oui",
"tracking_value": "oui",
"param_raw_value": "0"
},
{
"key": "pfiscale",
"label": "Puissance fiscale",
"value": "12 CV",
"tracking_value": "12_cv",
"param_raw_value": "9"
},
{
"key": "auto_condition",
"label": "État",
"value": "Excellent",
"tracking_value": "excellent",
"param_raw_value": "0"
}
],
"secondary": [
{
"key": "regdate",
"label": "Année-Modèle",
"value": "2023",
"tracking_value": "2023"
},
{
"key": "bv",
"label": "Boite de vitesses",
"value": "Automatique",
"tracking_value": "automatique"
},
{
"key": "fuel",
"label": "Type de carburant",
"value": "Electrique",
"tracking_value": "electrique"
}
],
"extra": []
},
"images": [
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615547?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615547?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615547?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615532?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615532?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615532?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615501?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615501?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615501?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615509?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615509?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615509?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615513?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615513?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615513?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615540?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615540?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615540?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615514?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615514?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615514?t=card"
}
},
{
"paths": {
"standard": "https://content.avito.ma/classifieds/images/10143615520?t=images",
"full_hd": "https://content.avito.ma/classifieds/images/10143615520?t=full_hd",
"small_thumbnail": "https://content.avito.ma/classifieds/images/10143615520?t=card"
}
}
],
"videos": [],
"friendly_url": {
"url": "https://www.avito.ma/fr/route_d_immouzere/voitures_d_occasion/Tesla_Model_Y_4X4_Dual_Moteur2023_à_Fès_57363451.htm"
},
"rental_blocked_dates": [],
"sales_notice_link": null,
"discount": null
}
]

The scraper returns comprehensive vehicle listing data with each field serving specific purposes for automotive market analysis and inventory management:

  • ID: Unique listing identifier within Avito.ma system. Critical for tracking specific listings over time, monitoring price changes, and preventing duplicate entries in databases.

  • List ID: Secondary listing reference number. Useful for cross-referencing listings and tracking listing variations or republications.

  • Has Shipping: Boolean indicating if shipping/delivery is available. Important for understanding logistics options and seller service levels, particularly for remote buyers.

  • Is Ecommerce: Indicator of professional dealer listings vs private sellers. Critical for segmenting market data between professional dealers and private sellers, affecting pricing analysis.

  • Category: Vehicle category classification (e.g., voitures_d_occasion for used cars). Essential for market segmentation, filtering by vehicle type, and comparative analysis within categories.

  • Ad Type: Listing type designation. Helps distinguish between different listing formats and premium placements.

  • Subject: Vehicle listing title/headline. Provides quick vehicle identification including make, model, year, and key features for initial screening.

  • Description: Full listing description in French or Arabic. Contains detailed vehicle condition information, seller notes, feature highlights, and negotiation context.

  • Seller: Seller profile information and contact details. Essential for B2B outreach to dealers, understanding seller types (private vs dealer), and assessing listing credibility.

  • Price: Current asking price in Moroccan Dirham (MAD). Primary data point for price analysis, market value assessment, and competitive pricing strategies.

  • Monthly Payment: Available financing monthly payment amount. Indicates financing options, helps understand affordability positioning, and reveals dealer financing strategies.

  • Old Price: Previous listing price if reduced. Critical for tracking price reductions, understanding market dynamics, and identifying motivated sellers.

  • Default Image: Primary vehicle image URL. Used for visual identification, creating enriched databases, and quick vehicle recognition in listings.

  • Images: Complete array of all vehicle photos. Provides comprehensive visual documentation for condition assessment, feature verification, and professional listing creation.

  • Videos: Video content URLs if available. Offers detailed vehicle walkarounds and demonstrations, increasingly important for remote buyers and premium listings.

  • Params: Detailed vehicle specifications including make, model, year, mileage, fuel type, transmission, color, etc. Most critical field for technical analysis, inventory matching, and detailed market segmentation.

  • Location: Geographic location of vehicle (city, region). Essential for regional market analysis, logistics planning, and understanding local price variations.

  • Date: Listing publication or update date. Important for tracking listing age, market velocity, and identifying fresh inventory vs stale listings.

  • Is Highlighted: Premium highlighting status. Indicates seller investment in visibility, suggesting professional dealers or motivated sellers.

  • Discount: Discount or promotional indicator. Reveals pricing strategies and identifies potentially motivated sellers or promotional campaigns.

  • Is Immoneuf: Real estate-related flag (less relevant for vehicles). Legacy field from platform's multi-category structure.

  • Is Premium: Premium listing status. Identifies enhanced listings with better visibility, indicating serious sellers and typically better-quality listings.

  • Is Delivery: Delivery availability indicator. Shows logistical capabilities and seller sophistication, important for remote transactions.

  • Is Saved: User save/favorite status. Reflects listing popularity and buyer interest levels.

  • Is Shop: Professional dealer/shop indicator. Critical for distinguishing professional dealers from private sellers in market analysis.

  • Is Urgent: Urgent sale indicator. Identifies motivated sellers, potentially better negotiation opportunities, and time-sensitive deals.

  • Is Hot Deal: Featured deal status. Highlights promoted listings and competitive pricing, useful for identifying market opportunities.

  • Is Car Checked: Vehicle inspection/verification status. Important quality indicator showing professionally verified vehicles, reducing buyer risk.

  • Href: Direct URL to the listing page. Reference link for accessing full listing details, verification, and maintaining source traceability.

Each field serves specific purposes in automotive market intelligence, competitive pricing analysis, inventory sourcing workflows, and comprehensive market research targeting the Moroccan automotive sector.

Usage Guide

Setting Up Your Scraping Task

Step 1: Identify Target Vehicle Listings

Navigate to Avito.ma and locate the specific car listings you want to extract detailed information from. You can find listings through:

  • Search by make, model, or vehicle type
  • Browse by location or price range
  • Monitor specific dealer inventories
  • Track particular vehicle categories

Once you find a vehicle listing, open the detail page and copy the complete URL from your browser's address bar.

Step 2: Configure Your Input JSON

Create your input configuration with the specific car detail page URLs. Add multiple URLs to collect comprehensive data from different vehicles in a single extraction run.

Step 3: Configure Proxy Settings

For optimal results scraping Avito.ma:

  • Enable Apify proxy with residential proxy groups
  • Set apifyProxyCountry to "MA" for Moroccan proxies
  • This minimizes detection risk and ensures reliable access

Step 4: Set Retry Limits

Configure max_retries_per_url based on your reliability needs:

  • Default value of 2 works well for most cases
  • Increase for critical listings requiring guaranteed extraction
  • Balance between data completeness and extraction efficiency

Best Practices

URL Collection Strategy:

  • Organize URLs by vehicle category, price range, or location for structured analysis
  • Validate that URLs point to detail pages, not search results
  • Test a small batch before large-scale extraction
  • Keep backup copies of URL lists for re-scraping

Proxy Configuration:

  • Always use residential proxies for Avito.ma scraping
  • Moroccan proxies provide optimal performance and reliability
  • Monitor for blocked requests and adjust settings if needed
  • Rotate proxy countries if experiencing persistent issues

Data Extraction Planning:

  • Schedule extractions during off-peak hours for better performance
  • Implement delays between large batches to avoid rate limiting
  • Plan systematic coverage of target vehicle segments
  • Track extraction progress and failed URLs

Quality Control:

  • Verify extracted data matches source listings
  • Check that images and specifications are complete
  • Validate price data and currency formatting
  • Cross-reference critical fields like VIN or listing ID

Common Troubleshooting

Access Issues:

  • Switch to Moroccan residential proxies if blocked
  • Verify URLs are current and accessible
  • Check for changes in Avito.ma's page structure
  • Adjust retry settings for problematic listings

Data Completeness Problems:

  • Ensure URLs point to complete listing pages
  • Check for listings with missing or restricted data
  • Verify extraction captured all image URLs
  • Validate that specification parameters are fully extracted

Performance Optimization:

  • Batch URLs efficiently to maximize throughput
  • Use appropriate retry limits based on success rates
  • Monitor extraction times and adjust concurrency
  • Consider splitting very large URL lists into smaller batches

Benefits and Applications

The Avito.ma Cars Details Scraper delivers significant advantages for automotive market participants operating in or analyzing the Moroccan market.

Primary Applications:

Automotive Inventory Sourcing: Dealers can systematically monitor available vehicles matching their inventory needs, track specific makes and models, identify underpriced opportunities, and build databases of potential acquisition targets with complete specifications and seller contacts.

Market Price Analysis: Analyze pricing trends across vehicle types, regions, and conditions. Track price movements over time, identify price outliers and market opportunities, benchmark pricing strategies against competitors, and understand regional price variations.

Competitive Intelligence: Monitor competitor dealer inventories, analyze their pricing strategies and listing enhancements, track market positioning and vehicle selection, and identify gaps in competitive offerings.

Market Research & Analytics: Build comprehensive databases of Moroccan automotive market data, segment analysis by vehicle type, age, condition, and location, identify emerging market trends and consumer preferences, and generate market reports for stakeholders.

Price Comparison Platforms: Aggregate vehicle listings for consumer comparison tools, maintain updated pricing across multiple sellers, provide comprehensive vehicle information to buyers, and enable market-wide price transparency.

The scraper provides competitive advantages through:

  • Detailed vehicle specifications enabling precise inventory matching
  • Complete pricing data including discounts and financing options
  • Seller information for B2B dealer relationships
  • Image and video content for rich database creation
  • Listing metadata revealing market dynamics and seller strategies
  • Geographic data enabling regional market analysis

The structured output integrates seamlessly with automotive CRM systems, inventory management platforms, price comparison tools, and market intelligence dashboards for immediate activation in automotive business operations.

Conclusion

The Avito.ma Cars Details Scraper transforms manual vehicle research into automated intelligence gathering for Morocco's automotive market. By providing systematic access to detailed listing data from Morocco's dominant automotive classifieds platform, it empowers dealers, researchers, and market participants to make data-driven decisions about inventory, pricing, and market positioning.

Whether you're sourcing vehicles for dealer inventory, analyzing Moroccan automotive market trends, monitoring competitive pricing strategies, or building comprehensive vehicle databases, this scraper provides the detailed extraction capabilities needed to accelerate your automotive market intelligence.

Ready to unlock Moroccan automotive market insights? Start extracting detailed vehicle data from Avito.ma today and transform your automotive market analysis capabilities.

Related Actors

  • avito.ma Cars Search Scraper: A specialized data extraction tool engineered to harvest detailed cars information from avito's cars marketplace.

Your feedback

We are always working to improve Actors' performance. So, if you have any technical feedback about avito.ma Cars Details Scraper or simply found a bug, please create an issue on the Actor's Issues tab in Apify Console.