# Avito Russia Scraper (`w3crawler/avito-russia-scraper`) Actor

Collect public Avito.ru marketplace listings with structured prices, locations, sellers, attributes, descriptions and images.

- **URL**: https://apify.com/w3crawler/avito-russia-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Russia Scraper

Collect public **Avito.ru** marketplace listings from search, category, or individual listing pages. The Actor returns the public listing identity, title, category, price, typed address and city, transit text, seller review details, property attributes, images, and availability or publication signals when Avito exposes them. It is a general marketplace extractor rather than an auto-only scraper, and it does not log in, solve CAPTCHAs, call private APIs, or bypass access controls.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/avito-russia-scraper) and select **Try for free**, or open the **Input** tab directly.
2. Add up to 20 public Avito.ru search, category, or listing URLs to `startUrls` using the request-list editor.
3. Keep `maxItems` and `maxPages` small for the first run; the saved example below uses 10 items and one page.
4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check counts and source blocking.

### Input

All fields are optional. The table defaults come from `.actor/input_schema.json`; the example JSON reflects the saved Moscow apartment run.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `startUrls` | object array | Optional | `[{"url":"https://www.avito.ru/rossiya"}]` | One to 20 unique request-list objects, each containing a `url` field. |
| `startUrls[].url` | string | Required when a `startUrls` item is supplied | Not supplied | Absolute HTTPS Avito.ru search, category, or listing URL, up to 600 characters. |
| `maxItems` | integer | Optional | `100` | Maximum unique source-backed listing records emitted, from 1 to 5,000. |
| `maxPages` | integer | Optional | `20` | Maximum public result pages requested per start URL, from 1 to 20. A direct listing target is handled as a single page. |
| `requestTimeoutSecs` | integer | Optional | `30` | Timeout for each public page request, from 5 to 120 seconds. |
| `maxBytes` | integer | Optional | `5000000` | Maximum accepted response or local fixture size, from 100,000 to 15,000,000 bytes. |

Example input from the saved run (`.actor/input.json`):

```json
{
  "startUrls": [
    {
      "url": "https://www.avito.ru/moskva/kvartiry"
    }
  ],
  "maxItems": 10,
  "maxPages": 1,
  "requestTimeoutSecs": 30,
  "maxBytes": 8000000
}
```

The Actor requests public Avito.ru pages over HTTPS and emits only source-backed rows. URLs are read in the order supplied, and duplicate listing IDs are removed. `maxPages` bounds result pages per start URL, while `maxItems` caps unique listings after deduplication. Unsupported field names and invalid URL shapes are rejected before any request is made.

### Output

The dataset contains one row per unique public listing. Values that Avito does not publish are omitted rather than inferred, and no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `listingId` | string | Always | Public Avito listing identifier taken from source data or the item URL. |
| `title` | string | Always | Public listing title, such as the apartment layout, area, and floor line. |
| `url` | string | Always | Normalized public Avito.ru listing URL. |
| `listingUrl` | string | When published | Listing URL as exposed on the source page. |
| `sourceUrl` | string | When published | Public page that produced the row. |
| `searchUrl` | string | When published | Search or category page recorded for the extraction context. |
| `position` | integer | When published | One-based result position on the source page. |
| `category` | string | When published | Public listing category, such as `Квартиры`. |
| `price` | number | When published | Numeric public price normalized from the listing. |
| `currency` | string | When published | Currency reported by Avito, normally `RUB`. |
| `location` | string | When published | Public location value shown for the listing, often a street address. |
| `address` | string | When published | Public address with rating, review, and transit text separated out. |
| `city` | string | When published | City derived from the public URL or structured address. |
| `transit` | string | When published | Nearby transit station and walking-time text. |
| `description` | string | When published | Public seller description from the listing page. |
| `sellerName` | string | When published | Public seller or agency name. |
| `sellerType` | string | When published | Public seller account type, such as a company. |
| `sellerRating` | number | When published | Public seller rating from 0 to 5. |
| `sellerReviewSummary` | string | When published | Public seller review summary separated from the address text. |
| `reviewCount` | integer | When published | Public seller review count. |
| `attributes` | string array | When published | Public property or listing parameter strings, such as area, room count, and floor. |
| `imageUrls` | string array | When published | Bounded public image URLs from the listing. |
| `publishedAt` | string | When published | Public publication timestamp when Avito exposes a parseable value. |
| `available` | boolean | When published | Public availability signal when the page exposes one. |
| `scrapedAt` | string | Always | UTC timestamp when the row was saved. |

`attributes` is an array of source-supplied strings rather than a fixed key/value object, so its length and labels vary by category. `imageUrls` is an array of public image URLs and may be shorter than the gallery Avito displays. The 10-row saved run includes `listingUrl`, `sourceUrl`, `searchUrl`, `position`, `category`, `price`, `currency`, `location`, `address`, `city`, `transit`, `attributes`, and `imageUrls` in every row; `sellerName`, seller review fields, `description`, `sellerType`, `publishedAt`, and `available` appear only when present.

The example below is a real saved row from the 2026-10-25 run. `imageUrls` is shortened to three of its six entries; every other value is complete.

```json
{
  "listingId": "8525743545",
  "title": "1-к. квартира, 36,9 м², 8/16 эт.",
  "category": "Квартиры",
  "price": 14200000,
  "currency": "RUB",
  "location": "Долгопрудная аллея, 15к5",
  "address": "Долгопрудная аллея, 15к5",
  "city": "Москва",
  "transit": "Долгопрудная, 6–10 мин.",
  "sellerName": "Метражи group",
  "sellerRating": 4.2,
  "sellerReviewSummary": "5 отзывов",
  "reviewCount": 5,
  "attributes": [
    "36,9 м²",
    "1-к. квартира",
    "8/16 эт."
  ],
  "imageUrls": [
    "https://b10.img.avito.st/image/1/1.QLsHPLa-7FIRnE5TCx0UswWc7lS1i-hSteyNWLk_7fCyn-4.zpo6Aq-NZt2fMUt13U3E_egs8HJqXXaD0CZ9IxpF2N4?cqp=2.6_1L9vhKD2uBLt-qyrAoZheVsuS8u7cVFre6r7a9jrN4_pCIDjlm5anolzs-MLkTK_L9899P2epdVNs=",
    "https://b20.img.avito.st/image/1/1.CyOTLLa-p8qFjAXLiQAPFZGMpcwhm6PKIfzGwC0vpmgmj6U.B_yvy_MXdIbwEMJvROpCgyUqaX0XhcCFYpuWy-JGpdU?cqp=2.6_1L9vhKD2uBLt-qyrAoZheVsuS8u7cVFre6r7a9jrN4_pCIDjlm5anolzs-MLkTK_L9899P2epdVNs=",
    "https://20.img.avito.st/image/1/1.WYUQ1ra-9WwGdldtLrNUjAd292qiYfFsogaUZq7V9M6ldfc.7Z5jI5FYQAnyuNhyF0ZAp4ljyqGJ5YPm9aCVEwj1Skc?cqp=2.6_1L9vhKD2uBLt-qyrAoZheVsuS8u7cVFre6r7a9jrN4_pCIDjlm5anolzs-MLkTK_L9899P2epdVNs="
  ],
  "url": "https://www.avito.ru/moskva/kvartiry/1-k._kvartira_369_m_816_et._8525743545?context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJQcUZyTzh0bDhVTWtjbEtxIjt9yTTCiD8AAAA",
  "listingUrl": "https://www.avito.ru/moskva/kvartiry/1-k._kvartira_369_m_816_et._8525743545?context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJQcUZyTzh0bDhVTWtjbEtxIjt9yTTCiD8AAAA",
  "sourceUrl": "https://www.avito.ru/moskva/kvartiry",
  "position": 3,
  "searchUrl": "https://www.avito.ru/moskva/kvartiry",
  "scrapedAt": "2026-10-25T21:29:33.425Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`; a backward-compatible copy is also written under `OUTPUT`. The counters are numeric; failure details remain in the run logs.

| Field | Meaning |
| --- | --- |
| `status` | Run outcome recorded by the Actor; a clean empty result can still be `SUCCEEDED`. |
| `runStatus` | Lifecycle status recorded for the run; matches `status`. |
| `dataStatus` | Source-data completeness: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `recordCount` | Total source-backed dataset rows emitted. |
| `listingCount` | Normal listing rows emitted. |
| `diagnosticCount` | Operational issues recorded outside the dataset. |
| `diagnosticItems` | Diagnostic dataset rows; always 0 because the Actor writes none. |
| `recordsEmitted` | Total source-backed dataset rows emitted. |
| `datasetItems` | Dataset items counted by the Actor. |
| `uniqueItems` | Unique listing records counted after deduplication. |
| `requestedPages` | Pages requested from the source. |
| `requestCount` | Total page requests attempted. |
| `successfulRequests` | Requests that returned usable responses. |
| `pagesFetched` | Public pages fetched successfully. |
| `sourceBlocked` | Whether a public source access boundary was observed. |
| `maxItems` | Listing cap used for the run. |
| `maxPages` | Page cap used for the run. |
| `sourceUrl` | Primary public source URL for the run. |
| `completedAt` | UTC time the summary was written. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Eligible listings were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Some listings were saved, but a later page or parse problem prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching listings. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable listing was saved. |

Example `OUTPUT_SUMMARY` from the saved run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "recordCount": 10,
  "listingCount": 10,
  "diagnosticCount": 0,
  "diagnosticItems": 0,
  "recordsEmitted": 10,
  "datasetItems": 10,
  "uniqueItems": 10,
  "requestedPages": 1,
  "requestCount": 1,
  "successfulRequests": 1,
  "pagesFetched": 1,
  "sourceBlocked": false,
  "maxItems": 10,
  "maxPages": 1,
  "sourceUrl": "https://www.avito.ru/moskva/kvartiry",
  "completedAt": "2026-10-25T21:29:33.928Z"
}
```

### Coverage and limitations

The Actor reads public Avito.ru search, category, and listing pages over direct HTTPS. It does not log in, call private APIs, solve CAPTCHAs, bypass geo or security checks, spoof browser fingerprints, or invent listing data. A search page can expose fewer fields than a full listing page; `description`, `sellerType`, `publishedAt`, and `available` are common examples of values that may be absent. The typed `city` value is derived from the public URL or structured address, not from geocoding.

Avito can change page layout and access rules between runs. Blocked, empty, or partial responses increment the run counters and appear in logs rather than becoming dataset rows. `maxPages` applies per start URL, so a high `maxItems` does not guarantee a high row count when only one page is allowed for each target. Images, prices, and seller reviews are point-in-time public values and can change after the run.

### Usage and support

Cost depends on the number of pages requested and the size of the responses. Start with a single search URL, `maxItems` around 10, and `maxPages` of 1; inspect the dataset and `OUTPUT_SUMMARY`, then raise the limits gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/avito-russia-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with or endorsed by Avito. Use it only for public data and in accordance with Avito's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Actor input Schema

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

Absolute HTTPS Avito.ru search or listing URLs.

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

Maximum number of unique listing records to emit.

## `maxPages` (type: `integer`):

Maximum number of public pages to request.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each public page request.

## `maxBytes` (type: `integer`):

Bound each network response and local fixture before parsing.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.avito.ru/rossiya"
    }
  ],
  "maxItems": 100,
  "maxPages": 20,
  "requestTimeoutSecs": 30,
  "maxBytes": 5000000
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/avito-russia-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/avito-russia-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 '{}' |
apify call w3crawler/avito-russia-scraper --silent --output-dataset

```

## MCP server setup

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