482 scrapers live47.7K runs1,562 usersRebuilt in the last 30 days: 482 of 482

Scrapers / Real Estate

Divar Scraper logo

Divar Scraper

hipersoft/divar-scraper

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.

Total users

22

Monthly users

5

Total runs

224

Per listing scraped

$0.003

Last rebuilt

Oct 26, 2026

Overview

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 maxItems to 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.

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.

Input

FieldTypeDescription
city
City
stringIranian city to search. Use an English name/slug (e.g. tehran, mashhad, isfahan, shiraz, tabriz, karaj), the Persian name (e.g. تهران), or a Divar numeric city id. Defaults to Tehran.
query
Search keyword (optional)
stringOptional free-text keyword to filter ads, e.g. پراید (Pride car), آپارتمان (apartment) or iphone. Leave empty to collect all recent ads in the city.
category
Category slug (optional)
stringOptional Divar category slug to narrow the search, e.g. cars, real-estate, mobile-phones, home-kitchen. Leave empty to search across all categories.
maxItems
Max items
integerMaximum number of ads to collect (0 = no limit; collect everything the search returns).
Default: 100

API

curl -X POST "https://api.apify.com/v2/acts/hipersoft~divar-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "city": "tehran"
}'

Pricing

EventPricePaid plans from
Listing scraped
Charged once per classified ad successfully scraped from Divar.
$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

CNN Fear & Greed Index Scraper

Scrape the CNN Fear & Greed Index: current market-sentiment score and rating, a full historical timeline, and all seven component indicators. Clean structured JSON, CSV or Excel for trading signals, backtesting, dashboards and alerting.

547 runs · 6 users · $0.003 / item scraped

Airbnb Scraper

Search Airbnb by location and scrape listings: name, property type, price, rating, reviews, coordinates, photos, badges and link. For short-term rental, pricing and market research.

122 runs · 2 users · $0.005 / listing scraped

Singapore HDB Property Information Scraper

Export master data for every HDB block in Singapore (~13,300 blocks): address, town, year completed, max floor, total units, unit mix by flat type (sold & rental) and amenities (market/hawker, carpark, commercial, pavilion). Filter by town, street, year. Public open data, no setup.

113 runs · 1 users · $0.002 / block scraped

PropertyGuru Singapore Scraper

Scrape PropertyGuru Singapore property listings: price, beds, baths, size, address, property type, agent and URL. For property research and lead generation.

106 runs · 3 users · $0.004 / listing scraped

EdgeProp Singapore Property Scraper

Scrape EdgeProp Singapore property listings for sale and rent: price, address, beds, baths, size, PSF and URL.

105 runs · 1 users · $0.004 / listing scraped

Crexi Commercial Real Estate Scraper

Scrape Crexi commercial real estate listings: price, address, property type, size, cap rate, broker and URL.

101 runs · 2 users · $0.0075 / listing scraped
Need a source that isn't here?

Send the site and the fields. We build it and you get it first.

Request a build