Market price statistics
dv_marketGauge Divar market asking prices by computing min, median, percentiles, and mean, plus district and daily trends. Narrow filters help avoid misleading medians.
Instructions
Asking-price statistics of a search: min, p10, p25, median, p75, p90, max, mean; split by district and by day.
Scans the newest pages pages (about 25 ads each) and drops negotiable and suspect prices (excluded) and, from the statistics, prices under a tenth of the median. Sale
searches give price; rentals give rent and deposit (Toman). by_district lists the busiest neighbourhoods
with ad count and median; per_day shows how many ads were posted per UTC date and their median, a rough
trend. These are what sellers ask, not what deals close at, and a sample of the newest ads, not the whole
market: use a narrow query or filters (one model, one area) for a meaningful median. Next: dv_cheapest,
dv_best_for_budget, dv_appraise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'. | تهران |
| pages | No | Result pages to merge, about 25 ads each. | |
| query | No | Free text in title or description, e.g. 'پراید 111'. | |
| recent | No | Published within '3h', '12h', '1d', '3d' or '7d'. | |
| exclude | No | Drop ads whose title has any of these words. | |
| filters | No | Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`. | |
| category | No | Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'. | |
| keywords | No | Words that must all be in the title. | |
| districts | No | Neighbourhood names or ids in the one city, e.g. ['ونک']. | |
| has_photo | No | Only ads with photos. | |
| max_price | No | Toman; monthly rent in rent categories. | |
| min_price | No | Toman; monthly rent in rent categories. | |
| brand_model | No | Vehicles, phones: brand/model, e.g. ['پژو 206']. | |
| max_deposit | No | Rent categories: deposit (ودیعه) in Toman. | |
| min_deposit | No | Rent categories: deposit (ودیعه) in Toman. | |
| max_age_hours | No | Only ads bumped within this many hours. |