Divar Scraper — Iran Classifieds Ads, Cars & Real Estate
Pricing
from $0.0015 / listing scraped
Divar Scraper — Iran Classifieds Ads, Cars & Real Estate
Scrape classified ads from Divar, Iran's largest marketplace: title, price (Toman), category, city, district, images and the listing URL. Search any Iranian city with an optional keyword and export one clean row per ad as JSON, CSV or Excel. For market research, price tracking and n8n.
Pricing
from $0.0015 / listing scraped
Rating
0.0
(0)
Developer
hiper soft
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
10 days ago
Last modified
Categories
Share
🇮🇷 Divar Scraper — Iran Classifieds Listings (Cars, Real Estate, Goods & Jobs)
Scrape classified ads from Divar, Iran's largest online marketplace, into clean, structured JSON, CSV or Excel. Search any Iranian city with an optional keyword or category and pull every listing — title, price in Toman, category, city, district, images and the ad URL — one tidy row per ad. Built for price tracking, market research, competitive analysis and automations.
Features
- 🚗 Every category — cars, real estate, mobile phones, home goods, jobs, services and more, all from one Actor.
- 🏙️ Search any city — Tehran, Mashhad, Isfahan, Shiraz, Tabriz, Karaj and dozens more, by English name, Persian name or city id.
- 🔎 Keyword filter — narrow to exactly what you want (e.g.
پراید,آپارتمان,iphone). - 💰 Prices in Toman — the numeric price is parsed for you, plus the original price text.
- 🧭 Location detail — city and district for every ad, ready for geo analysis.
- 🖼️ Images — thumbnail image URL and image count per listing.
- 🔗 Direct ad URL — a ready-to-open link to each listing on Divar.
- 📄 Volume control — set
maxItemsto balance coverage and cost.
Input
{"city": "tehran","query": "پراید","category": "cars","maxItems": 100}
| Field | Description |
|---|---|
city | Iranian city to search — English name/slug (tehran, mashhad, shiraz…), Persian name (تهران) or a numeric city id. Defaults to Tehran. |
query | Optional keyword to filter ads (e.g. پراید, آپارتمان, iphone). Leave empty for all recent ads. |
category | Optional Divar category slug to narrow the search (e.g. cars, real-estate, mobile-phones). |
maxItems | Maximum ads to collect (0 = no limit). |
How to search
Enter a city and run to collect the latest ads. Add a query to filter by keyword, or a category slug to focus on one section of the marketplace. Set maxItems to control how much you collect.
Use cases
- Track prices for cars, phones or property across Iranian cities over time.
- Build and refresh a classifieds dataset for market and demand analysis.
- Monitor new listings for specific keywords in target cities.
- Generate lead lists of sellers by category and location.
- Feed structured ad records into a CRM, spreadsheet or analytics pipeline.
What you get
Each ad is one dataset record:
{"token": "QaXuuOxt","title": "پراید ۱۴۱ dlxi","price": 380000000,"priceText": "۳۸۰,۰۰۰,۰۰۰ تومان","currency": "IRT","category": "cars","city": "تهران","district": "خزانه","subtitle": "دقایقی پیش در خزانه","condition": null,"tags": null,"thumbnailUrl": "https://s100.divarcdn.com/static/photo/.../thumbnail.webp","images": ["https://s100.divarcdn.com/static/photo/.../thumbnail.webp"],"imageCount": 6,"url": "https://divar.ir/v/پراید-۱۴۱-dlxi/QaXuuOxt","adInstanceId": "…_QaXuuOxt_P"}
Output schema
| Field | Type | Description |
|---|---|---|
token | string | Divar's unique identifier for the ad. |
title | string | Ad title. |
price | integer | Price in Toman (numeric). null when the ad has no fixed price (e.g. negotiable, free, or deposit/rent). |
priceText | string | Price exactly as displayed on Divar. |
currency | string | Currency code (IRT, Iranian Toman). |
category | string | Category, when a category filter is used. |
city | string | City the ad is posted in. |
district | string | District / neighbourhood. |
subtitle | string | Secondary line shown under the ad (often relative time + district). |
condition | string | Item condition where shown (e.g. new / used). |
tags | string | Extra highlight tags where shown. |
thumbnailUrl | string (URL) | Thumbnail image URL. |
images | array | Image URLs available for the ad. |
imageCount | integer | Number of photos on the ad. |
url | string (URL) | Direct link to the ad on Divar. |
adInstanceId | string | Divar's per-impression ad instance id. |
Related Actors
FAQ
Do I need a Divar account? No. Just enter a city and run.
Which cities are supported? Any Iranian city on Divar — enter its English name/slug, Persian name, or numeric city id. Major metros (Tehran, Mashhad, Isfahan, Shiraz, Tabriz, Karaj and many more) are recognised by name.
In what currency are prices?
Prices are in Iranian Toman (IRT). The numeric price is parsed for you; priceText keeps the original as displayed.
How many ads can I collect?
As many as your search returns. Use maxItems to control volume and cost.
What export formats are supported? JSON, CSV, Excel and XML, plus the Apify API for programmatic access.
Can I use this with n8n? Yes. Use the Apify node for n8n to run this Actor and pull its dataset straight into an n8n workflow — trigger it on a schedule, then route the ad rows to a database, spreadsheet or messaging step.
Can I connect it to other tools? The Divar Scraper connects with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.
Notes
Returns only public Divar ad data — the same information any visitor can see. This is an independent tool and is not affiliated with, endorsed by or connected to Divar; "Divar" is a trademark of its respective owner. Original clean-room implementation.
