# Avito Real Estate Scraper · Парсер недвижимости Авито (`theshark/avito-real-estate-scraper`) Actor

Avito.ru apartments, rooms, houses, land and commercial property for sale and rent: rooms, area, floor, house type, price per m² as columns, with the seller and the address. Квартиры, дома, участки и коммерческая Авито: комнаты, площадь, этаж, тип дома, цена за м² — колонками.

- **URL**: https://apify.com/theshark/avito-real-estate-scraper.md
- **Developed by:** [TheShark](https://apify.com/theshark) (community)
- **Categories:** Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.89 / 1,000 listing · объявление

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Avito Real Estate Scraper · Парсер недвижимости Авито

Collect **real estate listings from Avito.ru**, Russia's largest classifieds site: apartments, rooms, houses, land plots, commercial
property, garages and parking spaces, and property abroad, for sale and for rent. Rooms, area, floor, house type, build year, renovation
and price per m² come as **separate columns**, ready for a spreadsheet, not buried in a list of attributes. No Avito account needed.

*Описание на русском — ниже, в разделе «По-русски».*

**What you get about the seller:** name, profile link, type, rating and reviews, since when on Avito, listings count, badges, reply time, and the
address with coordinates for every seller. Texts and attributes come as the seller wrote them. **Phone numbers are not collected:** Avito shows
them only to logged-in users, and the Actor never logs in.

### Why this Actor

- **Attributes as columns.** `rooms`, `area_total`, `area_living`, `area_kitchen`, `land_area`, `floor`, `floors_total`, `house_type`,
  `build_year`, `renovation`, `deal_type`, `rent_term`, `price_per_m2`, `new_building`, `residential_complex`, `deposit` and
  `commission_percent`: filter and sort right away.
- **Cheaper than the others?** Each listing gets the median price per m² of the same kind of listings on its search page
  (`median_price_per_m2`) and how far above or below it it is (`price_vs_median_percent`).
- **Cheap cards already know the basics.** Avito builds the card title from the attributes («2-к. квартира, 54 м², 5/9 эт.»), so even
  without opening listing pages you get rooms, area, floor and price per m².
- **Sale, long-term rent and daily rent**, in every real estate section: apartments, rooms, houses and dachas, land, commercial property,
  garages and parking spaces, property abroad.
- **Only new listings and Telegram.** Run it on a schedule and get just what appeared since your last run, also as messages in your chat.
- **Price tracking.** See which listings got cheaper or pricier since your last run, with their price history.
- **Proxies included.** You can use your own if you prefer.

### What you can use it for

- **Price per m²** by city, district, metro station, house type or build year, new buildings against resale.
- **Underpriced listings** — sort by `price_vs_median_percent` and look at the top.
- **Rental market** — asking rents, deposits and commissions of long-term and daily rentals.
- **New listings alerts** — fresh apartments matching your filters, in Telegram.
- **Price drops** — listings that got cheaper since yesterday.

### How to use

1. Open Avito, choose a real estate section and your filters (city, rooms, price, metro), and copy the link into **Avito links**. Or type
   **Search queries** with a **City for search queries**.
2. Set the **Listings limit**. It is shared evenly between your links and queries.
3. Choose: **Open listing pages** gives every attribute (house type, build year, renovation, living and kitchen area, full text), without
   it you get search result cards only, faster and cheaper.
4. Turn on **Only new listings** if you run it regularly, or **Track prices** to compare prices with your previous runs (not both).
5. Optional: fill in **Telegram bot token** and **Telegram chat ID** to get new or cheaper listings in Telegram.

### Input example

```json
{
  "urls": ["https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"],
  "max_items": 100,
  "open_items": true,
  "new_only": false,
  "track_prices": false
}
```

The city is in the link: `moskva`, `sankt-peterburg`, `kazan`. Any filters you set on Avito stay in the link and work here. Property
abroad has one search for all cities on Avito, so a link with any city works the same.

### Output example

A row from a real run, an apartment for long-term rent with its page opened. The number and link are changed, the text is shortened.

```json
{
  "id": 8000000000,
  "url": "https://www.avito.ru/moskva/kvartiry/2-k._kvartira_51_m_3465_et._8000000000",
  "status": "ok",
  "page_loaded": true,
  "source": "https://www.avito.ru/moskva/kvartiry/sdam/na_dlitelnyy_srok-ASgBAgICAkSSA8gQ8AeQUg",
  "position": 4,
  "title": "2-к. квартира, 51 м², 34/65 эт.",
  "description": "Сдаётся квартира с дизайнерским ремонтом. Звоните, отвечу на вопросы.",
  "price": 220000,
  "price_text": "220 000 ₽ в месяц",
  "category": "Квартиры",
  "category_id": 24,
  "published_at": "2026-11-08T10:15:01+00:00",
  "city": "Москва",
  "district": "Пресненский",
  "metro": "Деловой центр",
  "seller_type": "private",
  "image_urls": ["https://00.img.avito.st/image/1/example"],
  "images_count": 20,
  "parameters": {"Количество комнат": "2", "Общая площадь": "51 м²", "Тип дома": "Монолитный", "Год постройки": "2023",
                 "Залог": "220000 ₽", "Комиссия": "0 %"},
  "views_total": 312,
  "views_today": 9,
  "deal_type": "rent",
  "rent_term": "long",
  "rooms": 2,
  "area_total": 51.0,
  "area_kitchen": 8.0,
  "floor": 34,
  "floors_total": 65,
  "house_type": "монолитный",
  "build_year": 2023,
  "renovation": "дизайнерский",
  "price_per_m2": 4314,
  "deposit": 220000,
  "commission_percent": 0.0,
  "median_price_per_m2": 3611,
  "price_vs_median_percent": 19.5
}
```

Avito's own data stays in Russian, as on the site. Areas are in m².

### What is in a row

| Column | From a card | From a listing page |
|---|---|---|
| `deal_type` (`sale`, `rent`), `rent_term` (`long`, `daily`) | yes | yes |
| `rooms`, `area_total`, `floor`, `floors_total`, `land_area` | from the card title | yes |
| `price_per_m2` | yes, if the title has the area | yes |
| `new_building`, `residential_complex` | yes, for apartments for sale | yes, for apartments for sale (from a card) |
| `median_price_per_m2`, `price_vs_median_percent` | yes, from 5 alike listings on the page | yes, recounted with the page's area |
| `deposit`, `commission_percent` | no | yes, for rentals |
| `area_living`, `area_kitchen`, `house_type`, `build_year`, `renovation` | no | if the seller filled them in |
| `parameters` | no | every attribute, with the house block and the rent conditions (deposit, commission) |
| `title`, `price`, `price_text`, `city`, `published_at`, `url`, `image_urls` | yes | yes |
| `description` | the beginning | the full text |
| `district`, `metro`, `views_total`, `views_today`, `seller_type`, `seller_since`, `seller_listings` | no | yes, views when Avito shows them |
| `seller_name`, `seller_url`, `address`, `latitude`, `longitude` | yes | yes |
| `price_status`, `previous_price`, `price_change`, `price_change_percent`, `first_seen_at`, `price_history` | with Track prices | with Track prices |

Every column of the regular Avito scrape is here too, and the same columns stay empty in rows from other sections.

**By section** (checked on live listings):

- **Apartments** — rooms (`0` is a studio), total, living and kitchen area, floor and floors, house type, build year, renovation, new
  building or resale. New buildings have the finishing in `renovation` and the residential complex in `residential_complex`. Rentals
  have the deposit and commission.
- **Rooms and beds** — the room's own area in `area_total`, the rooms of its flat in `rooms`, floor, house type.
- **Houses, dachas, cottages** — house area, plot area, floors, wall material in `house_type`, build year, renovation.
- **Land** — plot area in `land_area`, converted from sotkas or hectares to m². The land category is in `parameters`.
- **Commercial property** — area, floor, building type in `house_type`, finishing in `renovation`. The title is written by the seller, so a
  card may have no area.
- **Daily rentals** — rooms, area, floor; house type and build year are usually not given.
- **Garages and parking spaces** — area, deal, garage or parking type in `house_type` (brick, underground parking). Some titles say only
  «> 30 м²»: such an area is not exact, so `area_total` stays empty.
- **Property abroad** — rooms, area, floor and floors, plot area in m², new building or resale for sales. The country is in the title and
  in `parameters`, the foreign city in `city`. The property address is in `parameters` and in `address`.

`price_per_m2` is the price divided by the area, for the same period as the price: per month for long-term rentals, per day for daily
ones. For a land plot it is per m² of the plot. If Avito already gives the price per m², as some commercial rentals do, it is that price.
A share of a flat has none: its area is of the whole flat. Below one ruble per m² (a cheap land rental) it stays empty rather than
showing 0.

`median_price_per_m2` is the median over listings on the same search result page with the same city, section, deal, rent term and price
period (per month and per year are not mixed), new buildings and resale apart, when there are at least 5 of them. The page is the market you
asked for: your link's city and filters; listings Avito mixes in from other cities are compared only with their own city.
`price_vs_median_percent` is negative for listings cheaper than that median.

### What you pay for

Pay per event, and only for rows with data:

- **`search-result`** — a search result card: **$3.29 per 1,000**.
- **`listing`** — a listing with its page opened: **$4.89 per 1,000**.
- **Actor start** — **$0.004** per run (Apify counts one more start for each GB of memory above 1 GB).

For example, 1,000 apartments with every attribute from their pages cost about $4.89, and 1,000 cards with rooms, area, floor and price
per m² about $3.29. A closed listing or a link that did not open is a free row. If a listing page does not open, you get its card and pay
for a card. Set a spending limit on your run and the Actor stops before going over it.

### Good to know

- **More than 1,500 listings from one search are taken newest first.** In its default order Avito shows no more than 30 pages (1,500
  listings), sorted by date — up to 100 pages (5,000). A link with its own sort keeps it.
- **Only new listings go newest first** and stop at the first page with a listing your previous runs returned.
- **Telegram** gets a message for each new listing with Only new listings, or for each cheaper one with Track prices, at most 20 per run.
- A run returns **at most 5,000 listings**.
- **Other cities in results.** Avito mixes in listings from nearby cities. `city` shows the listing's real city.
- **A run may stop early** if Avito blocks too many requests. What was collected stays in the dataset, and the reason is in the run status and in
  the `OUTPUT` record.

### What is not collected

Phone numbers (Avito shows them only after login), the full VIN (Avito masks it for everyone), Autoteka reports, seller avatars. Cadastral
numbers come as the seller wrote them, in the text and in `parameters`. Photos are links, the Actor does not copy them.

The Actor reads public pages only, without logging in. You are responsible for how you use the data, including under the laws that apply to you.

***

### По-русски

Собирает **объявления о недвижимости с Avito.ru**, крупнейшей доски объявлений России: квартиры, комнаты, дома, участки, коммерческую
недвижимость, гаражи и машиноместа, недвижимость за рубежом — продажу и аренду. Комнаты, площадь, этаж, тип дома, год постройки, ремонт и
цена за м² идут **отдельными колонками**, сразу для таблицы, а не спрятаны в списке характеристик. Аккаунт Авито не нужен.

**О продавце:** имя, ссылка на профиль, тип, рейтинг и отзывы, с какого времени на Авито, сколько объявлений, значки, время ответа, у всех —
адрес с координатами. Тексты и характеристики — как написал продавец. **Телефоны не собираются:** Авито показывает их только после входа в
аккаунт, а актор в аккаунт не входит.

#### Зачем этот актор

- **Характеристики — колонками.** `rooms`, `area_total`, `area_living`, `area_kitchen`, `land_area`, `floor`, `floors_total`, `house_type`,
  `build_year`, `renovation`, `deal_type`, `rent_term`, `price_per_m2`, `new_building`, `residential_complex`, `deposit` и
  `commission_percent`: фильтруйте и сортируйте сразу.
- **Дешевле других?** У каждого объявления — медиана цены за м² таких же объявлений с его страницы выдачи (`median_price_per_m2`) и
  насколько оно выше или ниже её (`price_vs_median_percent`).
- **Дешёвые карточки уже знают главное.** Заголовок карточки Авито собирает из характеристик («2-к. квартира, 54 м², 5/9 эт.»), поэтому
  даже без страниц объявлений есть комнаты, площадь, этаж и цена за м².
- **Продажа, длительная и посуточная аренда** во всех разделах недвижимости: квартиры, комнаты, дома и дачи, участки, коммерческая,
  гаражи и машиноместа, недвижимость за рубежом.
- **Только новые и Telegram.** Запускайте по расписанию и получайте только то, что появилось с прошлого запуска, и сообщениями в чат.
- **Слежение за ценами.** Что подешевело или подорожало с прошлого запуска, с историей цен.
- **Прокси уже есть.** Можно и свои.

#### Для чего подходит

- **Цена за м²** по городу, району, метро, типу дома или году постройки, новостройки против вторички.
- **Объявления ниже рынка** — отсортируйте по `price_vs_median_percent` и смотрите верх.
- **Рынок аренды** — цены, залоги и комиссии длительной и посуточной аренды.
- **Уведомления о новых** — свежие квартиры по вашим фильтрам, в Telegram.
- **Снижение цен** — что подешевело со вчера.

#### Как запустить

1. Откройте Авито, выберите раздел недвижимости и фильтры (город, комнаты, цена, метро) и скопируйте ссылку в **Ссылки Авито**. Или
   напишите **Поисковые запросы** и **Город для запросов**.
2. Задайте **Сколько объявлений**. Это число делится поровну между ссылками и запросами.
3. Выберите: **Открывать объявления** — все характеристики (тип дома, год постройки, ремонт, жилая площадь и кухня, полный текст), без
   этого — только карточки выдачи, быстрее и дешевле.
4. Включите **Только новые**, если запускаете регулярно, или **Следить за ценами**, чтобы сравнивать цены с прошлыми запусками (не вместе).
5. Необязательно: заполните **Токен бота Telegram** и **ID чата Telegram**, чтобы получать новые или подешевевшие объявления в Telegram.

#### Пример входа

```json
{
  "urls": ["https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"],
  "max_items": 100,
  "open_items": true,
  "new_only": false,
  "track_prices": false
}
```

Город — в ссылке: `moskva`, `sankt-peterburg`, `kazan`. Все фильтры, что вы выбрали на Авито, остаются в ссылке и работают здесь. У
недвижимости за рубежом на Авито одна выдача на все города, поэтому ссылка с любым городом работает одинаково.

#### Пример результата

Строка настоящего запуска: квартира в длительную аренду, со страницей объявления. Номер и ссылка изменены, текст сокращён.

```json
{
  "id": 8000000000,
  "url": "https://www.avito.ru/moskva/kvartiry/2-k._kvartira_51_m_3465_et._8000000000",
  "status": "ok",
  "page_loaded": true,
  "source": "https://www.avito.ru/moskva/kvartiry/sdam/na_dlitelnyy_srok-ASgBAgICAkSSA8gQ8AeQUg",
  "position": 4,
  "title": "2-к. квартира, 51 м², 34/65 эт.",
  "description": "Сдаётся квартира с дизайнерским ремонтом. Звоните, отвечу на вопросы.",
  "price": 220000,
  "price_text": "220 000 ₽ в месяц",
  "category": "Квартиры",
  "category_id": 24,
  "published_at": "2026-11-08T10:15:01+00:00",
  "city": "Москва",
  "district": "Пресненский",
  "metro": "Деловой центр",
  "seller_type": "private",
  "image_urls": ["https://00.img.avito.st/image/1/example"],
  "images_count": 20,
  "parameters": {"Количество комнат": "2", "Общая площадь": "51 м²", "Тип дома": "Монолитный", "Год постройки": "2023",
                 "Залог": "220000 ₽", "Комиссия": "0 %"},
  "views_total": 312,
  "views_today": 9,
  "deal_type": "rent",
  "rent_term": "long",
  "rooms": 2,
  "area_total": 51.0,
  "area_kitchen": 8.0,
  "floor": 34,
  "floors_total": 65,
  "house_type": "монолитный",
  "build_year": 2023,
  "renovation": "дизайнерский",
  "price_per_m2": 4314,
  "deposit": 220000,
  "commission_percent": 0.0,
  "median_price_per_m2": 3611,
  "price_vs_median_percent": 19.5
}
```

Данные Авито остаются по-русски, как на сайте. Площади — в м².

#### Что в строке

| Колонка | С карточки | Со страницы объявления |
|---|---|---|
| `deal_type` (`sale`, `rent`), `rent_term` (`long`, `daily`) | да | да |
| `rooms`, `area_total`, `floor`, `floors_total`, `land_area` | из заголовка карточки | да |
| `price_per_m2` | да, если в заголовке есть площадь | да |
| `new_building`, `residential_complex` | да, у квартир на продажу | да, у квартир на продажу (с карточки) |
| `median_price_per_m2`, `price_vs_median_percent` | да, если на странице от 5 похожих | да, пересчёт по площади со страницы |
| `deposit`, `commission_percent` | нет | да, у аренды |
| `area_living`, `area_kitchen`, `house_type`, `build_year`, `renovation` | нет | если продавец заполнил |
| `parameters` | нет | все характеристики, с блоком о доме и условиями аренды (залог, комиссия) |
| `title`, `price`, `price_text`, `city`, `published_at`, `url`, `image_urls` | да | да |
| `description` | начало | весь текст |
| `district`, `metro`, `views_total`, `views_today`, `seller_type`, `seller_since`, `seller_listings` | нет | да, просмотры — когда Авито их показывает |
| `seller_name`, `seller_url`, `address`, `latitude`, `longitude` | да | да |
| `price_status`, `previous_price`, `price_change`, `price_change_percent`, `first_seen_at`, `price_history` | со слежением за ценами | со слежением за ценами |

Все колонки обычного парсера Авито тоже здесь, а в строках других разделов эти колонки пусты.

**По разделам** (проверено на живых объявлениях):

- **Квартиры** — комнаты (`0` — студия), общая, жилая площадь и кухня, этаж и этажность, тип дома, год постройки, ремонт, новостройка или
  вторичка. У новостроек отделка — в `renovation`, жилой комплекс — в `residential_complex`. У аренды — залог и комиссия.
- **Комнаты и койко-места** — площадь самой комнаты в `area_total`, комнат в её квартире — в `rooms`, этаж, тип дома.
- **Дома, дачи, коттеджи** — площадь дома, площадь участка, этажность, материал стен в `house_type`, год постройки, ремонт.
- **Участки** — площадь в `land_area`, из соток или гектаров в м². Категория земли — в `parameters`.
- **Коммерческая** — площадь, этаж, тип здания в `house_type`, отделка в `renovation`. Заголовок пишет продавец, поэтому у карточки площади
  может не быть.
- **Посуточная аренда** — комнаты, площадь, этаж; тип дома и год постройки обычно не указаны.
- **Гаражи и машиноместа** — площадь, сделка, тип гаража или машиноместа в `house_type` (кирпичный, подземный паркинг). В некоторых
  заголовках только «> 30 м²»: такая площадь неточная, поэтому `area_total` пуст.
- **Недвижимость за рубежом** — комнаты, площадь, этаж и этажность, участок в м², новостройка или вторичка у продажи. Страна — в
  заголовке и в `parameters`, зарубежный город — в `city`. Адрес объекта — в `parameters` и в `address`.

`price_per_m2` — цена, делённая на площадь, за тот же срок, что цена: за месяц у длительной аренды, за сутки у посуточной. У участка —
за м² участка. Если Авито уже даёт цену за м², как у части коммерческой аренды, — она и есть. У доли квартиры её нет: площадь там всей
квартиры. Меньше рубля за м² (дешёвая аренда участка) — пусто, а не 0.

`median_price_per_m2` — медиана по объявлениям той же страницы выдачи с тем же городом, разделом, сделкой, сроком аренды и сроком цены (за
месяц и за год не смешиваются), новостройки и вторичка отдельно, если таких от 5. Страница — это рынок, который вы спросили: город и фильтры
вашей ссылки; объявления, которые Авито подмешивает из других городов, сравниваются только со своим городом. `price_vs_median_percent`
отрицательная у объявлений дешевле этой медианы.

#### За что платите

Оплата по событиям, и только за строки с данными:

- **`search-result`** — карточка выдачи: **$3,29 / 1000**.
- **`listing`** — объявление со страницей: **$4,89 / 1000**.
- **Старт актора** — **$0,004** за запуск (Apify считает ещё один старт за каждый ГБ памяти сверх первого).

Например, 1000 квартир со всеми характеристиками со страниц стоят около $4,89, а 1000 карточек с комнатами, площадью, этажом и ценой за м²
— около $3,29. Закрытое объявление или ссылка, которая не открылась, — бесплатная строка. Если страница объявления не открылась, вы
получаете его карточку и платите за карточку. Задайте предел трат запуска, и актор остановится до него.

#### Полезно знать

- **Больше 1500 объявлений с одной выдачи берутся по дате.** В обычном порядке Авито показывает не больше 30 страниц (1500 объявлений), по
  дате — до 100 страниц (5000). Ссылка со своей сортировкой её сохраняет.
- **«Только новые» идут по дате** и останавливаются на первой странице с объявлением, которое отдали прошлые запуски.
- **В Telegram** приходит сообщение о каждом новом объявлении с «Только новые» или о каждом подешевевшем со «Следить за ценами», не больше
  20 за запуск.
- Запуск отдаёт **не больше 5000 объявлений**.
- **Другие города в выдаче.** Авито подмешивает объявления из соседних городов. В `city` — настоящий город объявления.
- **Запуск может остановиться раньше**, если Авито блокирует слишком много запросов. Собранное остаётся в датасете, а причина — в статусе
  запуска и в записи `OUTPUT`.

#### Что не собирается

Телефоны (Авито показывает их только после входа), полный VIN (Авито маскирует его для всех), отчёты Автотеки, аватары продавцов. Кадастровые
номера — как написал продавец, в тексте и в `parameters`. Фото — ссылками, актор их не копирует.

Актор читает только открытые страницы, без входа в аккаунт. За то, как вы используете данные, в том числе по законам вашей страны, отвечаете
вы.

# Actor input Schema

## `urls` (type: `array`):

Real estate search links from Avito with your filters: apartments, rooms, houses, land or commercial property, for sale or rent, in a city. Single listing links work too. Set links, queries, or both.<br><br>Ссылки на поиск недвижимости Авито с вашими фильтрами: квартиры, комнаты, дома, участки или коммерческая, продажа или аренда, в городе. Ссылки на отдельные объявления тоже подходят. Нужны ссылки, запросы или и то и другое.

## `queries` (type: `array`):

Text searches in Russian, as you would type them on Avito. They run in the city below. A link with your filters is more precise.<br><br>Текстовый поиск по-русски, как на Авито. Ищет в городе ниже. Ссылка с фильтрами точнее.

## `city` (type: `string`):

The city as it appears in Avito links: moskva, kazan, sankt-peterburg. rossiya searches the whole country.<br><br>Город, как в ссылках Авито: moskva, kazan, sankt-peterburg. rossiya — вся страна.

## `max_items` (type: `integer`):

The most listings one run returns. It is shared evenly between your links and queries. Above 1500 from one search, it is taken newest first: in its default order Avito shows no more than 30 pages.<br><br>Больше этого запуск не отдаст. Делится поровну между ссылками и запросами. Больше 1500 с одной выдачи берутся по дате: в обычном порядке Авито показывает не больше 30 страниц.

## `open_items` (type: `boolean`):

On: every attribute from each listing page: house type, build year, renovation, living and kitchen area, full text, views and the seller in full. Off: search result cards only, faster and cheaper: rooms, area, floor and price per m² come from the card title.<br><br>Включено: все характеристики со страницы каждого объявления — тип дома, год постройки, ремонт, жилая площадь и кухня, полный текст, просмотры и продавец полностью. Выключено: только карточки выдачи, быстрее и дешевле: комнаты, площадь, этаж и цена за м² — из заголовка карточки.

## `new_only` (type: `boolean`):

Skip listings returned by your previous runs (they are remembered in the history store). The search goes newest first and stops where your previous runs' listings begin.<br><br>Пропускать объявления, которые отдали прошлые запуски (они запоминаются в хранилище истории). Выдача идёт по дате и останавливается там, где начинаются объявления прошлых запусков.

## `track_prices` (type: `boolean`):

Compare each listing's price with your previous runs: price_status (new, same, cheaper, pricier), previous_price, price_change and price_history. Run it on a schedule with the same links. Not together with Only new listings.<br><br>Сравнивать цену каждого объявления с прошлыми запусками: price_status (new, same, cheaper, pricier), previous_price, price_change и price_history. Запускайте по расписанию с теми же ссылками. Не вместе с «Только новые».

## `telegram_bot_token` (type: `string`):

Optional, with Only new listings or Track prices: a message for each new or cheaper listing goes to your chat. Create a bot with BotFather in Telegram and paste its token here.<br><br>Необязательно, вместе с «Только новые» или «Следить за ценами»: сообщение о каждом новом или подешевевшем объявлении придёт в ваш чат. Создайте бота у BotFather в Telegram и вставьте сюда его токен.

## `telegram_chat_id` (type: `string`):

Where the bot writes: your chat with the bot, a group or a channel. A number such as 123456789 or -1001234567890, or @channelname. Send the bot a message first: bots cannot start a chat.<br><br>Куда пишет бот: ваш чат с ботом, группа или канал. Число вроде 123456789 или -1001234567890, или @channelname. Сначала напишите боту сами: бот не может начать чат первым.

## `sessions` (type: `integer`):

How many anonymous visitors work at the same time, each with its own IP. More sessions need more browsers: about 2 sessions per browser.<br><br>Сколько анонимных посетителей работают одновременно, у каждого свой IP. Больше сессий — больше браузеров: примерно 2 сессии на браузер.

## `browsers` (type: `integer`):

Browser tabs that get new sessions at the same time. Each needs 256 MB of memory: 1 GB of run memory fits 2.<br><br>Вкладки браузера, которые одновременно добывают новые сессии. Каждой нужно 256 МБ памяти: в 1 ГБ запуска помещаются 2.

## `proxy` (type: `string`):

Optional. One per line: user:pass@host:port. Without them the run uses its own Russian proxies.<br><br>Необязательно. По одному в строке: user:pass@host:port. Без них запуск идёт через свои российские прокси.

## `history_store` (type: `string`):

Named key-value store that keeps sessions, the listings you already got and the prices between runs. Runs with one store wait for each other.<br><br>Именованное хранилище: в нём между запусками лежат сессии, уже отданные объявления и цены. Запуски с одним хранилищем ждут друг друга.

## `output_language` (type: `string`):

Avito's own data stays as the site gives it.<br><br>Данные Авито остаются как на сайте.

## Actor input object example

```json
{
  "urls": [
    "https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"
  ],
  "queries": [],
  "city": "rossiya",
  "max_items": 20,
  "open_items": false,
  "new_only": false,
  "track_prices": false,
  "sessions": 4,
  "browsers": 2,
  "history_store": "avito-realty-history",
  "output_language": "en"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per listing. Одна строка на объявление.

## `summary` (type: `string`):

OUTPUT record: how many rows were delivered and, if the run stopped early, why. Запись OUTPUT: сколько строк отдано и, если запуск остановился раньше, почему.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"
    ],
    "max_items": 20,
    "open_items": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/avito-real-estate-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"],
    "max_items": 20,
    "open_items": False,
}

# Run the Actor and wait for it to finish
run = client.actor("theshark/avito-real-estate-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.avito.ru/moskva/kvartiry/prodam-ASgBAgICAUSSA8YQ"
  ],
  "max_items": 20,
  "open_items": false
}' |
apify call theshark/avito-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theshark/avito-real-estate-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SVZIx8EMUnOosPO8u/builds/FITVno7vk9RQtzuE1/openapi.json
