# Avito Scraper | Парсер Авито · Listings, Prices & Sellers (`memo23/avito-scraper`) Actor

Scrape Avito.ru listings by search words and city or from any Avito link: title, price, address with coordinates, posting date, photos, seller with rating and badges. Opt-in detail adds the full description, every characteristic and view counts. Cars, flats, electronics, jobs. No login.

- **URL**: https://apify.com/memo23/avito-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 82.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listings

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 Scraper | Парсер Авито

Scrape Avito.ru (Авито) listings by search words and city, or from any Avito search, category or listing link: title, price, address with coordinates, posting date, photos, and the seller with rating and badges. Turn on listing details for the full description, every characteristic (mileage, rooms, memory, condition) and view counts. $1 per 1,000 listings. JSON, CSV or Excel.

![How Avito Scraper works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-avito.png)

### Why use this Avito scraper?

- **Every category.** Flats for sale and rent, cars, electronics, jobs, services, goods: one actor, one row shape.
- **Coordinates on every row.** Latitude and longitude come with the search results, so listings go straight onto a map.
- **Seller context.** Seller name, company or private, rating, number of reviews and Avito badges such as "Надёжный продавец" or "Реквизиты проверены".
- **Characteristics as name/value pairs.** With listing details on, each row carries what the seller filled in: rooms, floor and area for flats, year, mileage and engine for cars, memory and condition for phones.
- **Clean Russian text.** Some Avito listings mix look-alike Latin letters into Russian words. Titles and descriptions are rewritten into one alphabet, so a search for "смартфон" or "iPhone" in your data finds them.
- **Private sellers only, or only your city.** Leave out companies, agencies and dealers, and leave out listings from other regions that Avito mixes into a city's results. Dropped listings are not billed.
- **Price against the model.** For phones, laptops, consoles and other catalog goods, see the model's lowest and highest price on Avito and where each listing sits between them, plus the model's buyer reviews with pros and cons.
- **Only new listings.** Schedule it and each run returns only the listings earlier runs have not returned, so you pay for new ones only.
- **Cheap.** $1 per 1,000 listings plus $0.005 per run. Listing details are an opt-in $2 per 1,000.

### Overview

Built for price monitoring, market research on cars and real estate, lead lists of companies selling on Avito, job-market analysis and dataset building. Every row is one Avito listing with its id, link, price in roubles, location, date, photos and seller. Rows from a search also say which search words and link they came from.

### Supported inputs

| Input | Example | Returns |
|---|---|---|
| Search words + city | `searchQueries: ["iphone 15"]`, `location: "Москва"` | Every listing Avito finds, up to 1,500 per search |
| Category + city | `category: "avtomobili"`, `location: "Казань"` | The whole category in that city, up to 1,500 |
| Search link | `https://www.avito.ru/moskva?q=iphone+15` | The same, with the filters in the link |
| Category link | `https://www.avito.ru/moskva/kvartiry/prodam` | Listings in that category and city |
| Listing link | `https://www.avito.ru/sankt-peterburg/avtomobili/toyota_camry_2.5_at_2018_119_480_km_8522693651` | That listing with its full details |

### Use cases

| Who | What they do with it |
|---|---|
| Car dealers and buyers | Track asking prices for a model and year across cities |
| Real estate analysts | Collect sale and rent listings with coordinates, area and floor |
| Resellers and retailers | Watch prices for phones, consoles and other goods, newest first |
| Sales teams | Build lists of companies and shops selling in a category |
| HR and labour researchers | Pull vacancies with salary ranges by city |
| Data teams | Build Russian-language listing datasets |

### How it works

1. You type search words and a city, or paste Avito links.
2. The actor reads each results page, 50 listings at a time, and follows Avito's own pages up to 30 pages (1,500 listings) per search.
3. Your order and price filters are applied by Avito itself.
4. With listing details on, the actor also opens every listing for its description, characteristics and views.
5. Each listing lands in the dataset as one row; the same listing seen twice is kept once.

### Input configuration

| Field | Type | Notes |
|---|---|---|
| `searchQueries` | array | Search words, one search each, e.g. `["iphone 15", "toyota camry"]`. |
| `location` | string | City or region for the searches: `Москва`, `Moscow` or `moskva`. Empty = all of Russia. |
| `category` | enum | Limit searches to one category, e.g. `avtomobili`, `kvartiry`, `telefony`. With no search words, lists the whole category. |
| `startUrls` | array | Avito search, category or listing links. Links keep their own city. |
| `sortBy` | enum | `default`, `date` (newest first), `price_asc`, `price_desc`. |
| `minPrice` / `maxPrice` | integer | Price range in roubles. |
| `onlyWithDelivery` | boolean | Only listings shipped with Avito Delivery. |
| `sellerType` | enum | `any` (default), `private` or `company`. With `private`, listings labelled company, agency, developer or dealer are also left out. |
| `onlyLocal` | boolean | Leave out listings from other regions that Avito mixes into a city's results. |
| `scrapeDetails` | boolean | Open every listing for description, characteristics and views. Billed per listing. |
| `includeModelPrices` | boolean | Catalog goods: the model's name, lowest and highest price on Avito, other listings of it, and this listing's position (0-100). Opens each listing. |
| `includeModelReviews` | boolean | Catalog goods: the model's buyer reviews and star breakdown, on the first listing of each model. Opens each listing. |
| `maxModelReviews` | integer | Reviews per model, 1-500. Default 20. |
| `maxItems` | integer | Listings across the whole run. Free plan returns at most 100. |
| `onlyNew` | boolean | Skip listings an earlier run already returned (monitoring). |
| `trackingName` | string | Optional name for that list, so several runs can share it. |

#### Example input

```json
{
    "searchQueries": ["toyota camry"],
    "location": "Санкт-Петербург",
    "sortBy": "date",
    "minPrice": 1500000,
    "maxPrice": 3000000,
    "scrapeDetails": true,
    "maxItems": 200
}
```

### Output overview

One row per listing. The Output tab has two views: **Listings** (photo, title, price, city, address, date, seller) and **Details** (characteristics, description, views, coordinates, category path).

### Output sample

A real row from a Moscow flat search with listing details on (photos and description shortened):

```json
{
  "id": "8423364178",
  "url": "https://www.avito.ru/moskva/kvartiry/kvartira-studiya_227_m_324_et._8423364178",
  "title": "Квартира-студия, 22,7 м², 3/24 эт.",
  "price": 12168380,
  "priceText": "12 168 380 ₽",
  "currency": "RUB",
  "pricePeriod": null,
  "category": "Квартиры",
  "categoryId": 24,
  "city": "Москва",
  "address": "ул. Производственная, з/у 25/1",
  "nearby": ["Новопеределкино", "Боровское шоссе", "Солнцево"],
  "lat": 55.64194,
  "lng": 37.37814,
  "postedAt": "2026-10-31T04:34:32.000Z",
  "image": "https://90.img.avito.st/image/1/1.Hk3h_La4sqTXSzCp0fRLE-BcsKJfXTCy11CwplFVuq5X.ulWFbgZmCW48Gmy1BQ6rA73RysqPvKws05sBx8XnJ9Q",
  "imagesCount": 11,
  "description": "Продается квартира студия площадью 22.70 кв.м на 3 этаже 24 этажного монолитного дома в ЖК «ЛУЧИ» от Группа ЛСР…",
  "sellerName": "ЛСР",
  "sellerType": "company",
  "sellerUrl": "https://www.avito.ru/brands/i368691521",
  "sellerBadges": ["Реквизиты проверены", "Победитель «Формулы доверия»"],
  "badges": ["Своя парковка", "От застройщика"],
  "isPromoted": false,
  "hasDelivery": false,
  "params": [
    { "name": "Количество комнат", "value": "студия" },
    { "name": "Общая площадь", "value": "22.7 м²" },
    { "name": "Жилая площадь", "value": "10.6 м²" },
    { "name": "Этаж", "value": "3 из 24" },
    { "name": "Высота потолков", "value": "2.7 м" },
    { "name": "Санузел", "value": "совмещенный" },
    { "name": "Отделка", "value": "без отделки" }
  ],
  "categoryPath": ["Недвижимость", "Квартиры", "Купить", "Новостройки", "Студии"],
  "views": 77,
  "viewsToday": 1,
  "expiresAt": "2026-11-30T04:34:32.000Z",
  "detailScraped": true,
  "sourceQuery": null,
  "sourceUrl": "https://www.avito.ru/moskva/kvartiry/prodam?pmax=15000000",
  "scrapedAt": "2026-11-11T09:52:55.692Z"
}
```

### Key output fields

| Field | Description |
|---|---|
| `id` / `url` | Avito listing id and a clean link to it. |
| `title` | Listing title. |
| `price` / `priceText` | Price in roubles as a number, and as Avito prints it ("45 000 ₽ в месяц", "150 000 — 200 000 ₽ на руки"). Null when the seller gave no price. |
| `pricePeriod` | "в месяц", "за сутки", "на руки" and similar, for rentals, services and jobs. |
| `oldPrice` / `discountPercent` / `priceLowered` | Discount information when Avito shows it. |
| `pricePerSqm` | Roubles per square metre for property, when Avito shows it. |
| `category` / `categoryId` | Avito category. |
| `city` / `address` / `nearby` | Location, street address and nearby metro stations or districts. |
| `lat` / `lng` | Coordinates. |
| `postedAt` | When the listing was posted or last raised, ISO 8601 (UTC). |
| `image` / `images` / `imagesCount` | Photos in the largest size Avito serves. |
| `description` | The start of the description from search results; the full text with listing details on. |
| `sellerName` / `sellerType` / `sellerUrl` | Seller, `company` or `private`, and the seller's Avito page. |
| `sellerRating` / `sellerReviewsCount` / `sellerBadges` | Seller rating (1-5), number of reviews and Avito badges. |
| `badges` / `isPromoted` / `hasDelivery` / `isReserved` | Listing badges, paid promotion, Avito Delivery, reserved by a buyer. |
| `inSearchedArea` | `true` when the listing is in the city searched, `false` when Avito mixed it in from another region. |
| `params` | Characteristics as `{ name, value }` pairs (listing details). |
| `categoryPath` / `views` / `viewsToday` / `expiresAt` | Category breadcrumbs, view counts and end date (listing details). |
| `modelUrl` / `modelRating` / `modelReviewsCount` | The catalog model behind a goods listing, its rating and number of reviews (listing details). |
| `modelName` / `modelPriceMin` / `modelPriceMax` | The exact model (with colour and size) and the price range Avito shows for it (`includeModelPrices`). |
| `modelPriceMedian` / `modelPriceSample` / `modelOtherListings` | Median price of the model's current listings, how many listings the median was taken from (up to 50), and how many other listings of the exact model Avito counts. |
| `modelPricePosition` | Where this listing's price sits among the model's current listings: 0 = cheapest, 100 = dearest, 50 = the median. |
| `modelReviews` / `modelRatingBreakdown` | Buyer reviews: stars, title, text, pros, cons, how long they used it, variant, date, author; and reviews per star (`includeModelReviews`). |
| `sourceQuery` / `sourceUrl` | The search words and link the row came from. |

### Pricing

| Event | When | Price |
|---|---|---|
| Actor start | Once per run (per GB of memory) | $0.005 |
| Listing | Each row in the dataset | $1.00 per 1,000 |
| Listing detail | Each listing opened (details on, or a pasted listing link) | $2.00 per 1,000 |
| Model prices | Each listing given its model's price range (`includeModelPrices`) | $1.00 per 1,000 |
| Model review | Each model review attached (`includeModelReviews`) | $0.50 per 1,000 |

1,000 listings from search results cost about $1. With details on, about $3; with model prices too, about $4. Listings without a catalog model are not billed for model prices, and each model's reviews are attached and billed once per run. The Apify free plan returns up to 100 listings a run.

### FAQ

#### How many listings can one search return?

Avito shows at most 30 pages of 50 listings, so 1,500 per search. For more, split the search: one run per city, per category, or per price range (`minPrice` / `maxPrice`).

#### Does it return phone numbers?

No. Avito shows a seller's number only to signed-in users, and this actor does not sign in. You get the seller's name, type, rating and Avito page.

#### Why do some rows have no city or address?

Listings from other regions that ship with Avito Delivery appear in a city's results without an address. Those rows have `hasDelivery: true`; turn on listing details to get the seller's city.

#### Why is `price` a single number for a salary range?

For ranges, `price` is the figure Avito itself uses to sort and filter, and `priceText` keeps the range as printed.

#### Can I compare a listing's price with the market?

For catalog goods, turn on `includeModelPrices`. Each listing then carries its exact model (colour and memory included), the lowest and highest price Avito shows for that model, the median price of its current listings, how many listings it has, and `modelPricePosition` from 0 (cheapest) to 100 (dearest) among them. The position and median come from the live listings, so a few joke prices in Avito's range do not skew them. Property rows carry `pricePerSqm` when Avito shows it.

#### Can I search daily rentals for my dates?

Pick the dates and guests on Avito's own daily-rental page (посуточно), copy the link and paste it into `startUrls`. The actor keeps every filter in the link, dates included.

#### Can I monitor new listings?

Yes. Turn on `onlyNew` and schedule the actor, ideally with `sortBy: "date"`. Each run remembers the listings it returned, and the next run with the same searches skips them, so you get and pay for new listings only. A run that finds nothing new ends successfully with an empty dataset. The list is kept in a key-value store named `avito-scraper-seen` in your own Apify account; give runs a `trackingName` to share one list between different inputs.

#### Can I get private sellers only (без агентств и дилеров)?

Set `sellerType` to `private`. Avito filters most categories itself; where it does not (cars, for example), the actor leaves out every listing Avito labels as a company, agency, developer or dealer, and those are not billed. It reads more pages to fill `maxItems`, so such runs take a little longer.

### Support

Open an issue on the actor's Issues tab or email <muhamed.didovic@gmail.com>.

### Additional services

Need another Avito section, a custom field or a scheduled export to your database? Email <muhamed.didovic@gmail.com>.

### Explore more scrapers

- [2GIS Scraper](https://apify.com/memo23/2gis-scraper): places with phones, websites and emails, plus jobs and housing
- [Yandex Maps Scraper](https://apify.com/memo23/yandex-maps-scraper): businesses from Yandex Maps with phones and websites
- [Yandex Market Scraper](https://apify.com/memo23/yandex-market-scraper): prices, sellers and reviews from Yandex Market
- [Ozon Scraper](https://apify.com/memo23/ozon-scraper): products, reviews and sellers from Ozon

### 🤖 For AI Agents & LLM Apps

**Purpose.** Returns Avito.ru classified listings as one row per listing: title, price in roubles, address with coordinates, posting date, photos, seller with rating; optionally full description, characteristics and views. No authentication.

**Minimal tested input.**

```json
{ "searchQueries": ["iphone 15"], "location": "Москва", "maxItems": 20 }
```

**Output fields (flat).** `id`, `url`, `title`, `price`, `priceText`, `currency`, `pricePeriod`, `oldPrice`, `discountPercent`, `priceLowered`, `category`, `categoryId`, `city`, `address`, `nearby`, `lat`, `lng`, `postedAt`, `image`, `images`, `imagesCount`, `hasVideo`, `description`, `sellerName`, `sellerType`, `sellerUrl`, `sellerRating`, `sellerReviewsCount`, `sellerBadges`, `badges`, `isPromoted`, `hasDelivery`, `isReserved`, `inSearchedArea`, `pricePerSqm`, `modelUrl`, `modelReviewsUrl`, `modelRating`, `modelReviewsCount`, `modelName`, `modelPriceMin`, `modelPriceMax`, `modelPriceMedian`, `modelPriceSample`, `modelOtherListings`, `modelPricePosition`, `modelRatingBreakdown`, `modelReviews`, `params`, `categoryPath`, `views`, `viewsToday`, `expiresAt`, `detailScraped`, `sourceQuery`, `sourceUrl`, `scrapedAt`.

**Behaviours an agent should plan for.**

- Billing: $0.005 per run start, $0.001 per listing row, $0.002 per listing opened, $0.001 per listing given model prices, $0.0005 per model review. Bound cost with `maxItems`; leave `scrapeDetails` off unless characteristics or full descriptions are needed.
- At most 1,500 listings per search; split by city, category or price for more.
- `location` accepts Russian or English city names or Avito's URL slug; empty searches all of Russia.
- For monitoring, `onlyNew: true` returns only listings not returned by earlier runs with the same searches or `trackingName`; an empty result then means nothing new.

### ⚠️ Disclaimer

This Actor collects only publicly available listings that Avito shows to every visitor. It does not log in, does not collect phone numbers and does not access private data. Listings contain seller names chosen by the sellers. You are responsible for using the data in line with Avito's terms, applicable data-protection law (including Russian Federal Law 152-FZ and GDPR where relevant) and any restrictions in your jurisdiction.

### SEO Keywords

avito scraper, парсер авито, отзывы о моделях авито, цены на модель авито, авито частные объявления, мониторинг новых объявлений авито, avito parser, avito.ru scraper, avito api, выгрузка объявлений авито, парсинг авито, мониторинг цен авито, avito listings, avito real estate, avito cars, авито квартиры, авито авто, авито вакансии, russian classifieds scraper, avito price monitoring, avito data export

# Actor input Schema

## `searchQueries` (type: `array`):

Words you would type into Avito's search box, one search per line, e.g. iphone 15, toyota camry or 2-к квартира. Each runs in the city below and is paged through, up to 1,500 listings per search (Avito's own limit). Leave empty and pick a category below to list the whole category instead. If the words, the category and the links are all empty, the run searches for iphone 15 in Moscow.

## `location` (type: `string`):

Where the searches above run. A Russian name (Москва, Санкт-Петербург, Казань), an English one (Moscow) or the city part of an Avito link (moskva, sankt-peterburg, ekaterinburg). Leave empty for all of Russia. Pasted links keep their own city.

## `category` (type: `string`):

Limit the searches above to one Avito category, e.g. Автомобили (Cars) or Квартиры (Flats). With no search words, the run lists the whole category in the chosen city. Pasted links keep their own category. Default: all categories.

## `startUrls` (type: `array`):

Links copied from avito.ru: a search page (https://www.avito.ru/moskva?q=iphone), a category page (https://www.avito.ru/moskva/kvartiry/prodam) or a single listing. Search and category pages are paged through and get the order and filters below; a listing link returns that listing with its full details.

## `sortBy` (type: `string`):

How Avito orders the results of searches and pasted search or category pages.

## `minPrice` (type: `integer`):

Lowest price in roubles. Empty or 0: no lower limit.

## `maxPrice` (type: `integer`):

Highest price in roubles. Empty or 0: no upper limit.

## `onlyWithDelivery` (type: `boolean`):

On: only listings the seller ships with Avito Delivery. Off (default): all listings.

## `sellerType` (type: `string`):

Private sellers only, companies and agencies only, or both (default). Avito applies it to searches and pasted links. In some categories (cars among them) Avito ignores it, so with "Private sellers only" the actor also leaves out every listing Avito labels as a company, agency, developer or dealer; those are not billed.

## `onlyLocal` (type: `boolean`):

Avito mixes listings from other regions that ship with Avito Delivery into a city's results. On: those are left out and not billed. Off (default): kept, with inSearchedArea false. Has no effect on all-of-Russia searches.

## `scrapeDetails` (type: `boolean`):

Off (default): each row carries what the search results show: title, price, address with coordinates, posting date, photos, the start of the description and the seller with rating. On: the run also opens every listing for its full description, all characteristics (mileage, rooms, memory, condition...), view counts, nearby metro and the category path. That is one more page per listing, so runs take longer, and each listing opened is billed as an extra "Listing detail" event.

## `includeModelPrices` (type: `boolean`):

For goods Avito links to a catalog model (phones, laptops, consoles, cameras, appliances...). On: each such listing also gets its exact model, the lowest and highest price Avito shows for it, the median price of its current listings, how many listings it has, and where this listing's price sits among them (0 = cheapest, 100 = dearest). Turns on "Open each listing". Billed as one "Model prices" event per listing that gets them; listings with no catalog model are not billed. Off (default).

## `includeModelReviews` (type: `boolean`):

On: the first listing of each catalog model also carries that model's buyer reviews (stars, title, text, pros, cons, how long the author used it, variant, date, author) and the star breakdown. Turns on "Open each listing". Billed per review attached. Off (default).

## `maxModelReviews` (type: `integer`):

How many reviews to attach per model with "Model reviews" on, newest first. 1 to 500. Default 20.

## `maxItems` (type: `integer`):

The run stops after this many listings. It also stops early at your spending limit, and on the free Apify plan at 100.

## `onlyNew` (type: `boolean`):

For scheduled monitoring. On: the run remembers every listing it returns and later runs with the same searches (or the same tracking name) skip those, so you get and pay for new listings only. A run that finds nothing new ends successfully with an empty dataset. The list is kept in a key-value store named avito-scraper-seen in your account. Off (default): every run returns everything it finds.

## `trackingName` (type: `string`):

Optional name for the list of listings already seen, e.g. moscow-iphones. Runs that share a name share the list, even if their searches differ. Leave empty to use one list per set of searches. Used only with "Only listings new since the last run".

## Actor input object example

```json
{
  "searchQueries": [
    "iphone 15"
  ],
  "location": "Москва",
  "category": "all",
  "startUrls": [],
  "sortBy": "default",
  "onlyWithDelivery": false,
  "sellerType": "any",
  "onlyLocal": false,
  "scrapeDetails": false,
  "includeModelPrices": false,
  "includeModelReviews": false,
  "maxModelReviews": 20,
  "maxItems": 50,
  "onlyNew": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "searchQueries": [
        "iphone 15"
    ],
    "location": "Москва",
    "startUrls": [],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/avito-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 = {
    "searchQueries": ["iphone 15"],
    "location": "Москва",
    "startUrls": [],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/avito-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 '{
  "searchQueries": [
    "iphone 15"
  ],
  "location": "Москва",
  "startUrls": [],
  "maxItems": 50
}' |
apify call memo23/avito-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/avito-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/c41evToWnqsfCQUgf/builds/rHEZdnqx6uTtk1Xuc/openapi.json
