# Avito.RU Scraper | Fast & Reliable (`codingfrontend/avito-russia-scraper`) Actor

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

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

## Pricing

from $3.99 / 1,000 results

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

### What does Avito Russia Scraper do?

Avito Russia Scraper collects publicly visible listings from [Avito.ru](https://www.avito.ru) and saves available listing details as structured dataset records. Use it to review marketplace inventory, compare asking prices, or bring public listings into your own analysis and monitoring workflow.

The Actor requests each Avito page you provide once. It does not sign in, bypass CAPTCHAs, or access private listings.

### Why collect Avito listings?

Use the results to compare products or services across locations, follow public inventory, support sourcing research, or build a dataset for your own search and reporting tools. Apify can run the Actor on a schedule and provides dataset downloads, API access, monitoring, and integrations.

### How to start a run

1. Open the Actor's **Input** tab. Leave `startUrls` as supplied to use the default Russia listings page, or add one or more public Avito search or listing page URLs.
2. Choose a maximum number of listings and, if needed, a request timeout. Proxy settings are optional.
3. Select **Start**. The Actor visits each distinct URL once and collects up to the global result limit.
4. Open **Output** to review the dataset. Use **Output summary** for the separate run-status record.

### Input

All top-level input fields are optional. If `startUrls` is omitted, the Actor uses `https://www.avito.ru/rossiya`. Each supplied URL must use HTTPS and an `avito.ru` domain or subdomain. Each item in `startUrls` is an object with one required `url` field. Duplicate start URLs are removed.

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `startUrls` | Array of `{ "url": "..." }` objects | Optional; `url` is required in each item | `[{"url":"https://www.avito.ru/rossiya"}]` | Avito search, category, location, or listing pages to request. Each distinct URL is requested once. |
| `maxItems` | Integer | Optional | `100`; minimum `1`, maximum `5000` | Maximum number of unique listing records to save across all start URLs. Reaching this limit is normal completion. |
| `requestTimeoutSecs` | Integer, seconds | Optional | `30`; minimum `5`, maximum `120` | How long to wait for each page request before treating it as failed. |
| `proxyConfiguration` | Object | Optional | None | Standard Apify Proxy configuration for the public page request. `{ "useApifyProxy": false }` leaves Apify Proxy disabled. Proxy use does not bypass Avito access controls. |

#### Copyable input examples

Use the Actor's default Russia page and save up to 10 listings:

```json
{
  "maxItems": 10
}
```

Request a focused Avito search page. Search terms or filters belong in the URL you provide:

```json
{
  "startUrls": [
    { "url": "https://www.avito.ru/rossiya/telefony?q=iphone" }
  ],
  "maxItems": 50,
  "requestTimeoutSecs": 30
}
```

Request several pages. The Actor deduplicates repeated input URLs and listing records, and applies `maxItems` to the combined results:

```json
{
  "startUrls": [
    { "url": "https://www.avito.ru/moskva/telefony" },
    { "url": "https://www.avito.ru/sankt-peterburg/telefony" },
    { "url": "https://www.avito.ru/moskva/telefony" }
  ],
  "maxItems": 100,
  "requestTimeoutSecs": 45
}
```

If your Apify account is set up to use Apify Proxy, you can pass its standard configuration without putting credentials in the input example:

```json
{
  "startUrls": [
    { "url": "https://www.avito.ru/moskva/telefony" }
  ],
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

This Actor has no separate filters, sort controls, pagination setting, or switch for individual output fields. Put any search conditions in the Avito URL. To cover multiple result pages, provide those page URLs yourself; the Actor does not follow pagination links. Optional listing details are included when present on the requested public pages.

### Output

The dataset contains listing facts only. `title` and `url` are required; `listingId` and the other fields are included when the page provides usable values. Missing details are left out. Prices are numeric and nonnegative, image links are returned as a list, and publication dates are normalized to ISO 8601 when available.

The following example is **illustrative**; it is not a verified live Avito result:

```json
{
  "listingId": "123456789",
  "title": "Example smartphone",
  "category": "Phones",
  "price": 12500,
  "currency": "RUB",
  "location": "Moscow",
  "description": "Example public listing description.",
  "sellerName": "Example seller",
  "sellerType": "Private seller",
  "attributes": [
    "128 GB",
    "Used"
  ],
  "imageUrls": [
    "https://10.img.avito.st/example-photo.jpg"
  ],
  "url": "https://www.avito.ru/moskva/telefony/example-smartphone_123456789",
  "publishedAt": "2026-10-07T09:00:00.000Z"
}
```

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `listingId` | String | Optional | Avito listing identifier when it can be read from the page or URL. |
| `title` | String | Required | Listing title. |
| `category` | String | Optional | Listing category when shown. |
| `price` | Number | Optional | Asking price when a usable nonnegative amount is present. |
| `currency` | String | Optional | Currency shown in the listing data, when available. |
| `location` | String | Optional | Public city or locality text. |
| `description` | String | Optional | Public listing description. |
| `sellerName` | String | Optional | Public seller name when shown. |
| `sellerType` | String | Optional | Seller type when shown. |
| `attributes` | Array of strings | Optional | Public listing specifications or attributes. |
| `imageUrls` | Array of strings | Optional | Public Avito image links found on the listing. |
| `url` | String | Required | Public Avito listing URL. |
| `publishedAt` | String (date-time) | Optional | Publication time in ISO 8601 format when it can be parsed. |

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Run status and output summary

The run is **SUCCEEDED** when at least one real listing was saved successfully. If a later page or dataset write fails after listings were saved, the run remains successful and is marked partial. Reaching `maxItems` normally is not partial. The run is **FAILED** when no real listing records were saved, including empty or blocked results.

The **Output summary** link opens the `OUTPUT_SUMMARY` record in the run's default **Key-value store**. It contains run status and the count of dataset writes that completed. It is separate from the listing dataset.

Illustrative completed-run summary:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 25,
  "isPartial": false
}
```

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `status` | String | Required | `SUCCEEDED` when at least one real record was saved; otherwise `FAILED`. |
| `itemsStored` | Nonnegative integer | Required | Number of real listing records whose dataset writes completed. |
| `isPartial` | Boolean | Required | `true` when a later failure stopped collection after one or more records were saved. |

### Tips, access, and costs

- Keep `maxItems` low for an initial run, then raise it if the results are useful.
- Use focused category, location, or search URLs. Requests are made once per distinct URL; pagination is not automatic.
- Avito may limit public page access. If a page is blocked or requires a challenge, the Actor does not try to bypass it; a run with no saved listings fails.
- The network running the Actor must also allow connections to Avito. A connection failure before a page response does not confirm that Avito itself blocked the request. In either case, unavailable listing details are not fabricated.
- Apify compute and data-transfer charges depend on your account plan and run size. Apify Proxy may add separate usage charges; check your current plan before enabling it. No fixed Actor price is claimed here.

The Actor collects information made public on the requested pages and does not access private accounts. Public listings can contain personal data protected by GDPR and other laws. Use results only for a lawful purpose and consult counsel if you are unsure. Report issues in the **Issues** tab, or use the **API** tab for programmatic access.

# Actor input Schema

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

Public Avito search or listing URLs. Use focused category and location pages for predictable results.

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

Maximum number of unique listings to emit.

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

Maximum time to wait for each Avito page.

## `proxyConfiguration` (type: `object`):

Optional standard Apify Proxy configuration for the ordinary public HTTP request. Proxy use does not bypass access controls.

## Actor input object example

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

# Actor output Schema

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/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("codingfrontend/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 codingfrontend/avito-russia-scraper --silent --output-dataset

```

## MCP server setup

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