
Avito.ma Morocco Marketplace Scraper
hipersoft/avito-ma-scraper
Scrape listings from Avito.ma, Morocco's largest online marketplace — phones, cars, real estate, electronics, jobs and every category. Search any keyword or paste an Avito.ma URL and export one clean row per ad: title, price in DH, seller, location, image and listing URL as JSON, CSV or Excel.
Total users
8Monthly users
1Total runs
86Per listing scraped
$0.003Last rebuilt
Oct 26, 2026Overview
Scrape listings from Avito.ma, Morocco's largest online marketplace and classifieds site, as clean, structured JSON, CSV, Excel or XML. Search any keyword or paste any Avito.ma URL — phones, cars, real estate, electronics, home, fashion, jobs and every other category — and get one tidy row per ad: title, price in DH (MAD), seller, location, category, images and the ad's listing URL. Ideal for market research, price monitoring, comparables, and lead generation across Morocco.
What does the Avito.ma Scraper do?
This actor turns Avito.ma searches and category pages into a ready-to-use dataset. Type one or more keywords (for example iphone, dacia logan, appartement casablanca) or paste an Avito.ma URL straight from your browser, and it walks every result page and collects each ad with structured fields. It works across every category — vehicles, property, electronics, phones, fashion, home and garden, jobs and services — with no configuration.
What data can you get?
Per ad:
| Field | Description |
|---|---|
id |
Avito.ma internal ad id. |
listId |
Public ad reference number. |
title |
Ad title (in French, as posted). |
description |
Short ad description, when present. |
price |
Price as a number. |
currency |
Currency code (DH / Moroccan Dirham), when a price is shown. |
oldPrice |
Previous price as a number, when the ad shows a discount. |
seller |
Seller or shop name. |
location |
City the ad is posted in (e.g. Casablanca, Rabat, Marrakech). |
category |
Full category path (e.g. Avito Véhicules - Motos). |
adType |
Listing type label (e.g. à vendre / for sale). |
imageUrl |
Main image URL. |
images |
All image URLs for the ad. |
params |
Category-specific specs (e.g. storage, condition, mileage, rooms). |
date |
When the ad was posted, as shown on the site. |
url |
Link to the ad's page. |
sourceUrl |
The search or category URL the ad was collected from. |
collectedAt |
Timestamp when the row was collected. |
Use cases
- Market research — map prices, models and stock across categories and Moroccan cities.
- Price monitoring — track asking prices and new ads over time.
- Comparables & valuation — pull comparable ads by category and price band.
- Lead generation — build lists of sellers and shops for outreach.
- Dashboards — power reports and dashboards from clean, structured rows.
- Automation — feed fresh Morocco marketplace data into your own pipelines on a schedule.
How to use it
- Add Avito.ma Morocco Marketplace Scraper to your Apify account and open its input.
- Enter one or more Search keywords, or paste Start URLs — Avito.ma search or category pages copied from your browser (e.g.
https://www.avito.ma/fr/maroc/t%C3%A9l%C3%A9phones-a_vendre?q=iphone). - Set Max items to cap the output.
- Click Run.
- Export the results as JSON, CSV, Excel or XML.
Input
{
"queries": ["iphone"],
"maxItems": 100
}
| Field | Description |
|---|---|
queries |
One or more keywords to search on Avito.ma. |
startUrls |
Optional. One or more Avito.ma search or category page URLs to scrape. |
maxItems |
Cap the number of ads. 0 = no limit. |
maxConcurrency |
How many requests to run in parallel. |
What you get
One flat JSON row per ad, ready to export to CSV, Excel, JSON or XML.
{
"id": "76656962",
"listId": "57237290",
"title": "iPhone 13 Pro Max 256 Go",
"description": "Très bon état, avec chargeur et boîte.",
"price": 7500,
"currency": "DH",
"oldPrice": 7900,
"seller": "MAGRI MOBILE",
"location": "Casablanca",
"category": "Informatique, Multimedia et Gadgets - Smartphone et Téléphone",
"adType": "à vendre",
"imageUrl": "https://content.avito.ma/classifieds/images/10142347284?t=images",
"images": ["https://content.avito.ma/classifieds/images/10142347284?t=images"],
"params": { "secondary": [{ "label": "Capacité de Stockage", "value": "256 GB" }] },
"date": "il y a 2 heures",
"url": "https://www.avito.ma/fr/casablanca/smartphone_et_téléphone/iPhone_13_Pro_Max_57237290.htm",
"sourceUrl": "https://www.avito.ma/fr/maroc/annonces?q=iphone",
"collectedAt": "2026-09-05T09:00:00.000Z"
}
FAQ
Which categories are covered? Any category on Avito.ma — phones, vehicles, real estate, electronics, home and garden, fashion, jobs and services, and more. Just search a keyword or paste the category URL from your browser.
In what language are titles returned? Ads are kept in their original language (French, as posted on Avito.ma), so nothing is lost in translation.
In what currency are prices returned?
Prices are returned as a number with the DH (Moroccan Dirham / MAD) currency code whenever an ad shows a price. Ads marked "À négocier" (negotiable) return an empty price.
How many results can I get?
Set Max items to any cap you like, or 0 for no limit — the actor follows the pagination of each search automatically.
What export formats are supported? JSON, CSV, Excel and XML — plus the Apify API and integrations for automation.
Input
| Field | Type | Description |
|---|---|---|
queriesSearch keywords | array | One or more keywords to search on Avito.ma — for example 'iphone', 'dacia logan' or 'appartement casablanca'. Each keyword runs its own search and the results are combined. Combine with a Category below to restrict a keyword to one section. Leave both keywords |
categoryCategory | string · , 1000, 1200, 1300, 1500, 1400… | Restrict results to one Avito.ma category (and its sub-categories). Leave as 'All categories' to search everything. Applies to your keywords; if you set a category with no keyword, the scraper collects that whole category. |
startUrlsStart URLs | array | Optional. One or more Avito.ma search, category or region page URLs to scrape. Paste the URL straight from your browser (e.g. https://www.avito.ma/fr/maroc/t%C3%A9l%C3%A9phones-a_vendre?q=iphone). When set, these are scraped in addition to any keywords. The sc |
maxItemsMax items | integer | Maximum number of ads to collect across all searches (0 = no limit; collect everything the searches return). Default: 100 |
maxConcurrencyMax concurrency | integer | How many requests to run in parallel. Leave at the default unless you have a reason to change it. Default: 5 |
proxyConfigurationProxy configuration | object | Proxy settings. Not required by default. If you experience reduced results, enable Apify Residential proxy for the most reliable access. Default: {"useApifyProxy": false} |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~avito-ma-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"queries": [
"iphone"
]
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/avito-ma-scraper").call(run_input={
"queries": [
"iphone"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/avito-ma-scraper').call({
"queries": [
"iphone"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Listing scraped Charged once for each listing successfully scraped and returned to your dataset. | $0.003 | $0.0015 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
Dribbble Shots Scraper
Scrape public design shots from Dribbble: title, high-res image, tags, likes, views and designer credit. Filter by category or sort, export JSON, CSV or Excel.
359 runs · 5 users · $0.003 / shot scrapedComputrabajo Scraper
Scrape Computrabajo job listings across Latin America (Mexico, Colombia, Argentina, Chile, Peru and more): title, company, location, salary, posted date and apply URL. Filter by country and keyword. No setup.
206 runs · 4 users · $0.002 / listing scrapedKraken Market Data Scraper
Fetch Kraken spot market data in bulk: ticker stats (ask, bid, last, 24h high/low/volume/vwap), OHLC candles for any interval, order book depth (top bids/asks), and tradable pair metadata. Fast, clean and cheap.
165 runs · 4 users · $0.001 / pair scrapedBayt Scraper
Scrape Bayt.com job listings across the Middle East (UAE, Saudi Arabia, Egypt, Qatar and more): title, company, location, posted date and apply URL. Filter by country and keyword.
134 runs · 4 users · $0.003 / job scrapedGitHub Scraper
Search GitHub and scrape repositories (stars, forks, language, topics, license, dates) or user profiles (name, company, location, bio, followers, public email, repos). Uses the GitHub REST API; optional token for higher rate limits. For developer lead generation, OSS research and recruiting.
131 runs · 7 users · $0.0008 / item scrapedHacker News Scraper
Scrape Hacker News stories, comments, Ask HN, Show HN, jobs and polls by keyword, points, comments and date range. Sort by relevance or newest. Title, URL, author, points, comment count, text and HN link. Fast clean HTTP via the HN Algolia API, no setup.
130 runs · 2 users · $0.004 / item scrapedSend the site and the fields. We build it and you get it first.