# Avito Scraper — Russia Classifieds & Prices (avito.ru) (`logiover/avito-ru-scraper`) Actor

Scrape Avito.ru listings at scale: title, price (current & old), location, category, images & listing URL. Search by keyword or browse by category & location. Thousands per query. No login, no API key.

- **URL**: https://apify.com/logiover/avito-ru-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** E-commerce, Business, Marketing
- **Stats:** 81 total users, 13 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

<div align="center">

## 🛒 Avito Scraper — Russian Classifieds (avito.ru)

#### Scrape Avito.ru listings at scale — title, price, location, category, images & URL. No login.

<br>

![No login](https://img.shields.io/badge/✓_No_login-no_cookies-2ea44f?style=for-the-badge)
![No API key](https://img.shields.io/badge/✓_No_API_key-needed-2ea44f?style=for-the-badge)
![High volume](https://img.shields.io/badge/📦_Thousands-per_query-1f6feb?style=for-the-badge)
![Export](https://img.shields.io/badge/Export-JSON·CSV·Excel·API-f59e0b?style=for-the-badge)
![No browser](https://img.shields.io/badge/⚡_No_browser-fast_&_cheap-9333ea?style=for-the-badge)

<br>

**Point it at any keyword — or a category & location — and pull Avito.ru listings (Авито объявления) with price, place, category and images.**
The fast, no-API-key way to build large Avito datasets for price monitoring, reseller arbitrage and market research.

</div>

---

### 📌 Overview

The **Avito Scraper** collects classifieds listings from **avito.ru**, Russia's
largest marketplace. Give it a list of **search queries** (or a **category** /
**location** for browse mode) and it returns each listing as a clean record:
**title, current price, old/strike-through price, location, category, images and
the direct listing URL**. It paginates each query to pull **thousands of listings**.

It needs **no login, no cookies and no API key** — it reads only public search
data. With **no headless browser**, it's a **fast and low-cost** way to assemble
large Avito datasets.

> ⚠️ **Russian IPs required.** Avito only serves results to Russian visitors, so
> this actor uses **Apify Proxy · RESIDENTIAL · country RU** by default. Leave the
> proxy on the default — other countries are blocked. The actor automatically
> rotates to a fresh Russian IP and retries whenever Avito's firewall rate-limits
> a request, so runs keep flowing.

---

### ✨ Features

| | Feature | Description |
|---|---|---|
| 📦 | **Thousands per query** | Walks search pagination up to page ~99 per query. |
| 💰 | **Full pricing** | Current price, formatted price string and old/strike-through price. |
| 📍 | **Location & category** | Region/city name + ID and category slug + ID per listing. |
| 🖼️ | **Images** | Listing photo URLs and image count. |
| 🔎 | **Search or browse** | Query by keyword, or browse by `categoryId` / `locationId`. |
| 🔁 | **Auto IP rotation** | Fresh Russian residential session per request; firewall blocks are retried, not fatal. |
| ⚡ | **No browser** | Lightweight JSON API access — fast and cheap at scale. |
| 📤 | **Any format** | Export to JSON, CSV, Excel, HTML or pull via API & webhooks. |

---

### 🎯 Who it's for

- **Price & market research** — track what items sell for across Russian regions.
- **E-commerce & resellers** — monitor categories for demand, supply and pricing.
- **Competitive intelligence** — benchmark listings, prices and inventory at scale.
- **Data science & ML** — build labelled marketplace datasets for pricing models.

---

### 🧾 Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQueries` | array | Keywords to search (`iphone`, `bmw x5`, `квартира`). Leave empty for browse mode. |
| `categoryId` | integer | Optional Avito category ID to narrow results. |
| `locationId` | integer | Optional Avito location ID (region / city). |
| `maxItemsPerQuery` | integer | Listings to collect per query (paginated). Default `1000`. |
| `maxResults` | integer | Global cap on listings saved. `0` = unlimited. |
| `proxyConfiguration` | object | **Russian residential proxy (required).** Pre-configured for you. |

#### Example input

```json
{
  "searchQueries": ["iphone", "macbook pro"],
  "maxItemsPerQuery": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "RU"
  }
}
````

***

### 📦 Output

Each listing is saved as one structured record:

```json
{
  "id": "4392058817",
  "title": "iPhone 13 128GB",
  "price": 42000,
  "priceString": "42 000 ₽",
  "priceOld": 49000,
  "currency": "RUB",
  "locationId": 637640,
  "locationName": "Москва",
  "categoryId": 9,
  "categorySlug": "telefony",
  "url": "https://www.avito.ru/moskva/telefony/iphone_13_128gb_4392058817",
  "images": [
    "https://00.img.avito.st/image/1/.../640x480.jpg"
  ],
  "imagesCount": 6,
  "query": "iphone",
  "scrapedAt": "2026-06-04T12:00:00.000Z"
}
```

#### 📖 Output field reference

| Field | Description |
|-------|-------------|
| `id` | Avito listing ID |
| `title` | Listing title |
| `price` / `priceString` | Numeric price and the formatted display string (₽) |
| `priceOld` | Previous / strike-through price when present |
| `currency` | Currency code (RUB) |
| `locationId` / `locationName` | Region or city ID and name |
| `categoryId` / `categorySlug` | Avito category ID and slug |
| `url` | Direct listing URL |
| `images` / `imagesCount` | Photo URLs and total image count |
| `query` | The search query that produced the listing |
| `scrapedAt` | ISO timestamp of capture |

***

### ⚙️ How it works

1. You provide **search queries** (or a **category** / **location** for browse mode).
2. The actor requests Avito's public listings JSON over a **Russian residential proxy**.
3. Each page uses a **fresh proxy session**; firewall rate-limits trigger an automatic IP rotation and retry.
4. Listings are parsed into clean records, de-duplicated by ID and streamed to the dataset.

No login, no cookies, no API keys — and **no headless browser**.

***

### ❓ FAQ

<details>
<summary><b>Why does it need a Russian residential proxy?</b></summary><br>
Avito serves search results only to Russian visitors and blocks foreign IPs. The actor defaults to Apify Proxy · RESIDENTIAL · country RU — keep that setting.
</details>

<details>
<summary><b>It says my IP is rate-limited — is that a failure?</b></summary><br>
No. Avito's firewall throttles individual IPs. The actor treats that as a soft block, switches to a fresh Russian session and retries, so the run keeps going.
</details>

<details>
<summary><b>How many listings can I get per query?</b></summary><br>
Up to thousands — Avito paginates to roughly page 99. Control depth with <code>maxItemsPerQuery</code> and the global <code>maxResults</code> cap.
</details>

<details>
<summary><b>Can I browse a category or city without a keyword?</b></summary><br>
Yes — leave <code>searchQueries</code> empty and set <code>categoryId</code> and/or <code>locationId</code> to browse.
</details>

<details>
<summary><b>Does it return seller name or phone?</b></summary><br>
No — those aren't in the search results. This actor captures the listing-level fields (title, price, location, category, images, URL).
</details>

<details>
<summary><b>Do I need a login or API key?</b></summary><br>
No — it reads only public listing data with no cookies and no developer API key.
</details>

***

### 🔗 Works great with

- 🛒 **E-commerce price trackers** — feed Avito prices into your monitoring pipeline.
- 📊 **Spreadsheet & BI tools** — export to Excel / Google Sheets for analysis.

***

<div align="center">

**Avito Scraper · avito.ru Scraper · Авито объявления · Russian Classifieds Scraper · Avito Listings · Avito Price Scraper · Avito Marketplace Data · No-API-key Avito**

<sub>⚖️ Collects publicly available listing data only. You are responsible for compliance with Avito's Terms and applicable laws.</sub>

</div>

### 📝 Changelog

#### 2026-06-05

- 🛡️ Reliability fix: results are no longer dropped by strict output validation — runs now complete cleanly even at high volume (thousands of results).
- ⚡ Stability & performance hardening; fresh rebuild.

#### 2026-06-04

- Verified live & refreshed build — reliability/maintenance pass.

# Actor input Schema

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

Keywords to search on Avito.ru, e.g. 'iphone', 'bmw x5', 'квартира'. Leave empty to browse by category / location only.

## `categoryId` (type: `integer`):

Optional Avito category ID to narrow results (e.g. 9 = electronics). Combine with or without a search query.

## `locationId` (type: `integer`):

Optional Avito location ID to limit results to a region or city (e.g. 637640 = Moscow).

## `maxItemsPerQuery` (type: `integer`):

How many listings to collect per query (paginated, up to ~page 99).

## `maxResults` (type: `integer`):

Global cap on listings saved across all queries. 0 = unlimited.

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

Avito requires Russian residential IPs. Keep the default (Apify Proxy · RESIDENTIAL · country RU) — other countries are blocked.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone",
    "macbook pro"
  ],
  "maxItemsPerQuery": 1000,
  "maxResults": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}
```

# Actor output Schema

## `title` (type: `string`):

Listing title

## `priceString` (type: `string`):

Price

## `locationName` (type: `string`):

Location

## `categorySlug` (type: `string`):

Category

## `query` (type: `string`):

Source query

## `url` (type: `string`):

Listing URL

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "RU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/avito-ru-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"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "RU",
    },
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}' |
apify call logiover/avito-ru-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=logiover/avito-ru-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Avito Scraper — Russia Classifieds & Prices (avito.ru)",
        "description": "Scrape Avito.ru listings at scale: title, price (current & old), location, category, images & listing URL. Search by keyword or browse by category & location. Thousands per query. No login, no API key.",
        "version": "1.0",
        "x-build-id": "9qLtOoSicBIC4JcUz"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/logiover~avito-ru-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-logiover-avito-ru-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/logiover~avito-ru-scraper/runs": {
            "post": {
                "operationId": "runs-sync-logiover-avito-ru-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/logiover~avito-ru-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-logiover-avito-ru-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Keywords to search on Avito.ru, e.g. 'iphone', 'bmw x5', 'квартира'. Leave empty to browse by category / location only.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "categoryId": {
                        "title": "Category ID (browse mode)",
                        "type": "integer",
                        "description": "Optional Avito category ID to narrow results (e.g. 9 = electronics). Combine with or without a search query."
                    },
                    "locationId": {
                        "title": "Location ID (browse mode)",
                        "type": "integer",
                        "description": "Optional Avito location ID to limit results to a region or city (e.g. 637640 = Moscow)."
                    },
                    "maxItemsPerQuery": {
                        "title": "Max items per query",
                        "minimum": 1,
                        "type": "integer",
                        "description": "How many listings to collect per query (paginated, up to ~page 99).",
                        "default": 1000
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Global cap on listings saved across all queries. 0 = unlimited.",
                        "default": 0
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Avito requires Russian residential IPs. Keep the default (Apify Proxy · RESIDENTIAL · country RU) — other countries are blocked.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "RU"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
